• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Issue: 103366 , Suggest fix for misplaced generic params
2 // run-rustfix
3 
4 #[allow(unused)]
5 struct<T> Foo { x: T }
6 //~^ ERROR expected identifier, found `<`
7 //~| HELP place the generic parameter name after the struct name
8 
main()9 fn main() {}
10