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