Sign in
fuchsia
/
third_party
/
rust
/
a7c34f1ce99887675f3d79740e2c9f739a89fe45
/
.
/
src
/
test
/
ui
/
mod-subitem-as-enum-variant.rs
blob: 9328d1a9045e57b4483d7cd1a5ce01e8f48217df [
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]
}