summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest_misplaced_generics/type.stderr
blob: 3034535d5562065debe9a59578b5d7bba9cd0b8d (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 1 previous error