rust/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr

9 lines
247 B
Plaintext
Raw Normal View History

2022-07-26 18:17:07 -05:00
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