1
Fork 0

move tests to new rust-lang location

This commit is contained in:
SpanishPear 2023-01-22 17:16:39 +11:00
parent 4447949e40
commit 8292d07cc4
22 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,10 @@
// Issue: 103366 , Suggest fix for misplaced generic params
// run-rustfix
#[allow(unused)]
enum Foo<T> { Variant(T) }
//~^ ERROR expected identifier, found `<`
//~| HELP place the generic parameter name after the enum name
//~| SUGGESTION Foo<T>
fn main() {}