]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/associated-types-project-from-hrtb-explicit.stderr
Auto merge of #107478 - compiler-errors:anon-enum-tys-are-ambiguous, r=estebank
[rust.git] / tests / ui / parser / associated-types-project-from-hrtb-explicit.stderr
1 error: expected identifier, found keyword `for`
2   --> $DIR/associated-types-project-from-hrtb-explicit.rs:10:21
3    |
4 LL | fn foo2<I>(x: <I as for<'x> Foo<&'x isize>>::A)
5    |                     ^^^ expected identifier, found keyword
6
7 error: expected one of `::` or `>`, found `Foo`
8   --> $DIR/associated-types-project-from-hrtb-explicit.rs:10:29
9    |
10 LL | fn foo2<I>(x: <I as for<'x> Foo<&'x isize>>::A)
11    |                             ^^^ expected one of `::` or `>`
12
13 error: aborting due to 2 previous errors
14