summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-99625-enum-struct-mutually-exclusive.stderr
blob: c98b8fa1f1eebb9a1532a44d0601325c924dab13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
   |
LL | pub enum Range {
   |     ~~~~

error: aborting due to 1 previous error