Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
suggest_misplaced_generics
/
type.rs
blob: db0d8dd22b1bb3f056a76b28415d8201ea3c392b [
file
] [
log
] [
blame
]
// Issue: 103366 , Suggest fix for misplaced generic params
//@ run-rustfix
#[
allow
(
unused
)]
type
<
T
>
Foo
=
T
;
//~^ ERROR expected identifier, found `<`
//~| HELP place the generic parameter name after the type name
fn
main
()
{}