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() { }