summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.fixed
blob: 4b4a416b1ac828fa0ef7c6091032136f4a0e518e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-rustfix

pub enum Range {
    //~^ ERROR `enum` and `struct` are mutually exclusive
    Valid {
        begin: u32,
        len: u32,
    },
    Out,
}

fn main() {
}