summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro_rules-unmatchable-literals.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/macro_rules-unmatchable-literals.stderr')
-rw-r--r--src/test/ui/macros/macro_rules-unmatchable-literals.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro_rules-unmatchable-literals.stderr b/src/test/ui/macros/macro_rules-unmatchable-literals.stderr
new file mode 100644
index 000000000..956a66979
--- /dev/null
+++ b/src/test/ui/macros/macro_rules-unmatchable-literals.stderr
@@ -0,0 +1,14 @@
+error: invalid digit for a base 8 literal
+ --> $DIR/macro_rules-unmatchable-literals.rs:6:12
+ |
+LL | ( 0o1238 ) => {};
+ | ^
+
+error: invalid digit for a base 2 literal
+ --> $DIR/macro_rules-unmatchable-literals.rs:10:11
+ |
+LL | ( 0b012 ) => {};
+ | ^
+
+error: aborting due to 2 previous errors
+