move tests to new rust-lang location
This commit is contained in:
parent
4447949e40
commit
8292d07cc4
22 changed files with 0 additions and 0 deletions
12
tests/ui/parser/suggest_misplaced_generics/trait.rs
Normal file
12
tests/ui/parser/suggest_misplaced_generics/trait.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
// 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
|
||||
//~| SUGGESTION Foo<T>
|
||||
}
|
||||
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue