fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
301 B14 linesraw
1error: expected identifier, found `<`
2  --> $DIR/struct.rs:5:7
3   |
4LL | struct<T> Foo { x: T }
5   |       ^ expected identifier
6   |
7help: place the generic parameter name after the struct name
8   |
9LL - struct<T> Foo { x: T }
10LL + struct Foo<T> { x: T }
11   |
12
13error: aborting due to previous error
14