about summary refs log tree commit diff
path: root/tests/ui/parser/suggest_misplaced_generics/trait.rs
blob: a6b843c6cf6d5c3b9b644050174731a26a4e6b36 (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() {}