mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-03 00:26:12 +00:00
12 lines
239 B
Plaintext
12 lines
239 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() {}
|