blob: 1a848ccf7f2603971e328a30e4f3558e60352b0b (
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() {}
|