]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0212]: cannot extract an associated type from a higher-ranked trait bound in this context |
74b04a01 | 2 | --> $DIR/associated-types-project-from-hrtb-in-trait-method.rs:13:32 |
b7449926 XL |
3 | | |
4 | LL | fn some_method(&self, arg: I::A); | |
74b04a01 | 5 | | ^^^^ help: use a fully qualified path with inferred lifetimes: `<I as Foo<&isize>>::A` |
b7449926 | 6 | |
74b04a01 XL |
7 | error[E0212]: cannot extract an associated type from a higher-ranked trait bound in this context |
8 | --> $DIR/associated-types-project-from-hrtb-in-trait-method.rs:32:24 | |
9 | | | |
10 | LL | fn mango(&self) -> X::Assoc { | |
11 | | ^^^^^^^^ help: use a fully qualified path with inferred lifetimes: `<X as Banana<'_>>::Assoc` | |
12 | ||
13 | error: aborting due to 2 previous errors | |
b7449926 | 14 |