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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
510 B
Plaintext
Raw Normal View History

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