summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest_misplaced_generics/trait.fixed
blob: a471a078af142bf382b4a30bdb7488f05806eaeb (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 Foo<T> {
    //~^ ERROR expected identifier, found `<`
    //~| HELP place the generic parameter name after the trait name
}


fn main() {}