mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-15 21:46:24 +00:00
10 lines
237 B
Plaintext
10 lines
237 B
Plaintext
// Issue: 103366 , Suggest fix for misplaced generic params
|
|
// run-rustfix
|
|
|
|
#[allow(unused)]
|
|
struct Foo<T> { x: T }
|
|
//~^ ERROR expected identifier, found `<`
|
|
//~| HELP place the generic parameter name after the struct name
|
|
|
|
fn main() {}
|