mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-27 22:17:22 +00:00
12 lines
240 B
Plaintext
12 lines
240 B
Plaintext
// Issue: 103366 , Suggest fix for misplaced generic params
|
|
//@ run-rustfix
|
|
|
|
#[allow(unused)]
|
|
trait Foo<T> {
|
|
//~^ ERROR expected identifier, found `<`
|
|
//~| HELP place the generic parameter name after the trait name
|
|
}
|
|
|
|
|
|
fn main() {}
|