fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
514 B15 linesraw
1error[E0223]: ambiguous associated type
2  --> $DIR/self-impl.rs:23:16
3   |
4LL |         let _: <Self>::Baz = true;
5   |                ^^^^^^^^^^^ help: use fully-qualified syntax: `<Bar as Trait>::Baz`
6
7error[E0223]: ambiguous associated type
8  --> $DIR/self-impl.rs:25:16
9   |
10LL |         let _: Self::Baz = true;
11   |                ^^^^^^^^^ help: use fully-qualified syntax: `<Bar as Trait>::Baz`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0223`.