diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/macros/issue-61053-duplicate-binder.stderr | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/macros/issue-61053-duplicate-binder.stderr b/src/test/ui/macros/issue-61053-duplicate-binder.stderr new file mode 100644 index 000000000..5a2af45d0 --- /dev/null +++ b/src/test/ui/macros/issue-61053-duplicate-binder.stderr @@ -0,0 +1,16 @@ +error: duplicate matcher binding + --> $DIR/issue-61053-duplicate-binder.rs:7:20 + | +LL | ($x:tt $x:tt) => { $x }; + | -- ^^ + | | + | previous declaration + | +note: the lint level is defined here + --> $DIR/issue-61053-duplicate-binder.rs:1:9 + | +LL | #![deny(meta_variable_misuse)] + | ^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + |