about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-99625-enum-struct-mutually-exclusive.rs
blob: 8df82be0aba516d316f40a20ff2243c6329666b7 (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() {
}