summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/associated-types-project-from-hrtb-explicit.stderr
blob: aa0fa0e3c0a5e2839bd204f7e154d825006c3bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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