Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
parser
/
suggest_misplaced_generics
/
struct.fixed
blob: 65d26601e101db8832851a1439c3302f51ba854d [
file
]
// Issue: 103366 , Suggest fix for misplaced generic params
//@ run-rustfix
#[allow(unused)]
struct
Foo
<
T
>
{
x
:
T
}
//~^ ERROR expected identifier, found `<`
//~| HELP place the generic parameter name after the struct name
fn main
()
{}