rust/tests/ui/associated-types
TheLazyDutchman 3234418806 Point out shadowed associated types
Shadowing the associated type of a supertrait is allowed.
This however makes it impossible to set the associated type
of the supertrait in a dyn object.

This PR makes the error message for that case clearer, like
adding a note that shadowing is happening, as well as suggesting
renaming of one of the associated types.

r=petrochenckov
2023-12-06 11:05:22 +01:00
..
2023-10-30 22:19:17 +00:00
2023-04-20 15:06:17 -03:00
2023-08-28 17:47:37 -03:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:21 +00:00