mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
12ddf77811
Fix #46585.
16 lines
514 B
Plaintext
16 lines
514 B
Plaintext
error[E0223]: ambiguous associated type
|
|
--> $DIR/self-impl.rs:23:16
|
|
|
|
|
LL | let _: <Self>::Baz = true;
|
|
| ^^^^^^^^^^^ help: use the fully-qualified path: `<Bar as Foo>::Baz`
|
|
|
|
error[E0223]: ambiguous associated type
|
|
--> $DIR/self-impl.rs:25:16
|
|
|
|
|
LL | let _: Self::Baz = true;
|
|
| ^^^^^^^^^ help: use the fully-qualified path: `<Bar as Foo>::Baz`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0223`.
|