rust/tests/ui/suggestions/issue-99240-2.rs
2023-01-11 09:32:08 +00:00

11 lines
150 B
Rust

enum Enum {
Unit,
}
type Alias = Enum;
fn main() {
Alias::
Unit();
//~^^ ERROR expected function, found enum variant `Alias::Unit`
}