blob: e456347d01e40df0f3d8e229742bd80a27ffa277 (
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() {}
|