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

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

fn main() {
}