fork/rust

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

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

master
267 B9 linesraw
1// Issue: 103366 , Suggest fix for misplaced generic params
2// run-rustfix
3
4#[allow(unused)]
5fn f<'a, B: 'a + std::ops::Add<Output = u32>>(_x: B) { }
6//~^ ERROR expected identifier, found `<`
7//~| HELP place the generic parameter name after the fn name
8
9fn main() {}