Files
rust/compiler
Matthias Krüger a059dd88bf Rollup merge of #120739 - lukas-code:pp-dyn-assoc, r=compiler-errors
improve pretty printing for associated items in trait objects

* Don't print a binder in front of associated items, because it's not valid syntax.
  * e.g. print `dyn for<'a> Trait<'a, Assoc = &'a u8>` instead of `dyn for<'a> Trait<'a, for<'a> Assoc = &'a u8>`.
* Don't print associated items that are implied by a supertrait bound.
  * e.g. if we have `trait Sub: Super<Assoc = u8> {}`, then just print `dyn Sub` instead of `dyn Sub<Assoc = u8>`.

I've added the test in the first commit, so you can see the diff of the compiler output in the second commit.
2024-02-08 09:06:36 +01:00
..
2023-10-30 08:46:02 +11:00
2024-01-16 21:15:31 +01:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-23 14:11:02 +03:00
2024-01-25 14:01:33 +00:00
2024-01-25 14:01:33 +00:00
2024-01-25 14:01:33 +00:00
2024-01-25 14:01:33 +00:00
2024-02-06 02:22:58 +00:00