1 2 3 4 5 6 7 8 9 10
enum Enum { Unit, } type Alias = Enum; fn main() { Alias:: Unit(); //~^^ ERROR expected function, found enum variant `Alias::Unit` }