rustc/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.fixed
2023-08-02 10:33:26 +02:00

14 lines
174 B
Plaintext

// run-rustfix
pub enum Range {
//~^ ERROR `enum` and `struct` are mutually exclusive
Valid {
begin: u32,
len: u32,
},
Out,
}
fn main() {
}