We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac11ca commit de5aaeeCopy full SHA for de5aaee
src/test/compile-fail/E0221.rs
@@ -18,7 +18,11 @@ trait Foo {
18
trait Bar : Foo {
19
type A: T2;
20
fn do_something() {
21
- let _: Self::A; //~ ERROR E0221
+ let _: Self::A;
22
+ //~^ ERROR E0221
23
+ //~| NOTE ambiguous associated type `A`
24
+ //~| NOTE associated type `Self` could derive from `Foo`
25
+ //~| NOTE associated type `Self` could derive from `Bar`
26
}
27
28
0 commit comments