error: expected identifier, found keyword `for` | |
--> $DIR/associated-types-project-from-hrtb-explicit.rs:10:21 | |
| | |
LL | fn foo2<I>(x: <I as for<'x> Foo<&'x isize>>::A) | |
| ^^^ expected identifier, found keyword | |
error: expected one of `::` or `>`, found `Foo` | |
--> $DIR/associated-types-project-from-hrtb-explicit.rs:10:29 | |
| | |
LL | fn foo2<I>(x: <I as for<'x> Foo<&'x isize>>::A) | |
| ^^^ expected one of `::` or `>` | |
error: aborting due to 2 previous errors | |