rust/tests/ui/self/self-impl.stderr

16 lines
510 B
Plaintext
Raw Normal View History

error[E0223]: ambiguous associated type
2018-12-25 15:56:47 +00:00
--> $DIR/self-impl.rs:23:16
|
2018-02-23 00:42:32 +00:00
LL | let _: <Self>::Baz = true;
2023-10-16 18:25:11 +00:00
| ^^^^^^^^^^^ help: use fully-qualified syntax: `<Bar as Foo>::Baz`
error[E0223]: ambiguous associated type
2018-12-25 15:56:47 +00:00
--> $DIR/self-impl.rs:25:16
|
2018-02-23 00:42:32 +00:00
LL | let _: Self::Baz = true;
2023-10-16 18:25:11 +00:00
| ^^^^^^^^^ help: use fully-qualified syntax: `<Bar as Foo>::Baz`
error: aborting due to 2 previous errors
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0223`.