summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr
blob: edc640bf5ec22c3c35c12263666b0d007bbde050 (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 previous error