Sign in
fuchsia
/
third_party
/
rust
/
4be19e36d9755b90dcd9b577b7857f52bde3ed50
/
.
/
src
/
test
/
ui
/
mod-subitem-as-enum-variant.rs
blob: cd4459ae0ff425525bfc8e8697613ba05573fef3 [
file
] [
log
] [
blame
]
mod
Mod
{
pub
struct
FakeVariant
<
T
>(
pub
T
);
}
fn
main
()
{
Mod
::
FakeVariant
::<
i32
>(
0
);
Mod
::<
i32
>::
FakeVariant
(
0
);
//~^ ERROR type arguments are not allowed for this type [E0109]
}