Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
parser
/
suggest_misplaced_generics
/
type.rs
blob: 17e200536fa3e5a03ffa0ce0941da7c021dc35a3 [
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
()
{}