]> git.lizzy.rs Git - rust.git/blob - src/test/ui/self/self-impl.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / self / self-impl.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/self-impl.rs:33:16
3    |
4 LL |         let _: <Self>::Baz = true;
5    |                ^^^^^^^^^^^ ambiguous associated type
6    |
7    = note: specify the type using the syntax `<Bar as Trait>::Baz`
8
9 error[E0223]: ambiguous associated type
10   --> $DIR/self-impl.rs:35:16
11    |
12 LL |         let _: Self::Baz = true;
13    |                ^^^^^^^^^ ambiguous associated type
14    |
15    = note: specify the type using the syntax `<Bar as Trait>::Baz`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0223`.