Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
suggest_misplaced_generics
/
trait.fixed
blob: 1a848ccf7f2603971e328a30e4f3558e60352b0b [
file
] [
log
] [
blame
]
// 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
()
{}