summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr')
-rw-r--r--tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr b/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr
new file mode 100644
index 000000000..edc640bf5
--- /dev/null
+++ b/tests/ui/parser/issue-99625-enum-struct-mutually-exclusive.stderr
@@ -0,0 +1,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
+