summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-99240-2.rs
blob: 0a418b5aeef1dde23381da498968cea433722491 (plain)
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`
}