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.
2 parents d36b296 + ed54226 commit d69cd72Copy full SHA for d69cd72
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