fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: `enum` definition cannot be nested inside `enum` 2 --> $DIR/nested-enum.rs:2:5 3 | 4LL | enum Bar { Baz }, 5 | ^^^^------------ 6 | | 7 | help: consider creating a new `enum` definition instead of nesting 8 9error: `struct` definition cannot be nested inside `enum` 10 --> $DIR/nested-enum.rs:3:5 11 | 12LL | struct Quux { field: u8 }, 13 | ^^^^^^------------------- 14 | | 15 | help: consider creating a new `struct` definition instead of nesting 16 17error: `union` definition cannot be nested inside `enum` 18 --> $DIR/nested-enum.rs:4:5 19 | 20LL | union Wibble { field: u8 }, 21 | ^^^^^--------------------- 22 | | 23 | help: consider creating a new `union` definition instead of nesting 24 25error: aborting due to 3 previous errors 26