Sign in
rust
/
rust
/
e044220de53b2e9c8a8191ff9da5df4b469eb3ea
/
.
/
tests
/
ui
/
parser
/
suggest_misplaced_generics
/
trait.fixed
blob: 1a848ccf7f2603971e328a30e4f3558e60352b0b [
file
]
// 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
()
{}