summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-99625-enum-struct-mutually-exclusive.stderr
blob: c503bc3ccfcb7b77cf48351090acd53f5ee3c667 (plain)
1
2
3
4
5
6
7
8
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 1 previous error