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