blob: 0a418b5aeef1dde23381da498968cea433722491 [file] [log] [blame] [edit]
enum Enum {
Unit,
}
type Alias = Enum;
fn main() {
Alias::
Unit();
//~^^ ERROR expected function, found enum variant `Alias::Unit`
}