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

error: aborting due to 1 previous error