We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfa549 commit 3814eecCopy full SHA for 3814eec
src/test/ui/tuple/indexing-in-macro.rs
@@ -0,0 +1,9 @@
1
+// Broken by https://github.com/rust-lang/rust/pull/70420.
2
+
3
+macro_rules! m {
4
+ (.$l:literal) => {};
5
+}
6
7
+m!(.0.0); //~ ERROR no rules expected the token `.`
8
9
+fn main() {}
src/test/ui/tuple/indexing-in-macro.stderr
@@ -0,0 +1,11 @@
+error: no rules expected the token `.`
+ --> $DIR/indexing-in-macro.rs:7:6
+ |
+LL | macro_rules! m {
+ | -------------- when calling this macro
+...
+LL | m!(.0.0);
+ | ^ no rules expected this token in macro call
10
+error: aborting due to previous error
11
0 commit comments