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