fork/rust

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

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

master
237 B9 linesraw
1// Issue: 103366 , Suggest fix for misplaced generic params
2// run-rustfix
3
4#[allow(unused)]
5struct Foo<T> { x: T }
6//~^ ERROR expected identifier, found `<`
7//~| HELP place the generic parameter name after the struct name
8
9fn main() {}