mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
10 lines
230 B
Rust
10 lines
230 B
Rust
// Issue: 103366 , Suggest fix for misplaced generic params
|
|
//@ run-rustfix
|
|
|
|
#[allow(unused)]
|
|
type Foo<T> = T;
|
|
//~^ ERROR expected identifier, found `<`
|
|
//~| HELP place the generic parameter name after the type name
|
|
|
|
fn main() {}
|