mod Mod { pub struct FakeVariant(pub T); } fn main() { Mod::FakeVariant::(0); Mod::::FakeVariant(0); //~^ ERROR type arguments are not allowed on this entity [E0109] }