We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
trait Foo { type Ty; } impl Foo for () { type Ty = (); type Ty = usize; } fn main() { let _: <() as Foo>::Ty = (); }
This erroneously parses and compiles fine, the compiler seems to use the first definition of Ty in the impl.
Ty
This might have been introduced by #23265, ping @eddyb.