summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest_misplaced_generics/type.stderr
blob: 22744f6cf37fb4bf2a4d50fdc174445d70fb9ca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected identifier, found `<`
  --> $DIR/type.rs:5:5
   |
LL | type<T> Foo = T;
   |     ^ expected identifier
   |
help: place the generic parameter name after the type name
   |
LL - type<T> Foo = T;
LL + type Foo<T> = T;
   |

error: aborting due to previous error