rust/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr
2023-01-11 09:32:08 +00:00

9 lines
247 B
Plaintext

error: `enum` and `struct` are mutually exclusive
--> $DIR/issue-99625-enum-struct-mutually-exclusive.rs:3:5
|
LL | pub enum struct Range {
| ^^^^^^^^^^^ help: replace `enum struct` with: `enum`
error: aborting due to previous error