summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest_misplaced_generics/trait.rs
blob: 55355f451f9fd8117f1b2330053fc5ca7a671f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
// Issue: 103366 , Suggest fix for misplaced generic params
// run-rustfix

#[allow(unused)]
trait<T> Foo {
    //~^ ERROR expected identifier, found `<`
    //~| HELP place the generic parameter name after the trait name
}


fn main() {}