]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/underscore-ident-matcher.stderr
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / ui / underscore-ident-matcher.stderr
index 241c3d3d8ce61321e270c0f01e6ce6697300b4ff..b0e4d88f67186eafb8ff2e7900a17e6bf7826d22 100644 (file)
@@ -6,6 +6,12 @@ LL | macro_rules! identity {
 ...
 LL |     let identity!(_) = 10;
    |                   ^ no rules expected this token in macro call
+   |
+note: while trying to match meta-variable `$i:ident`
+  --> $DIR/underscore-ident-matcher.rs:2:6
+   |
+LL |     ($i: ident) => (
+   |      ^^^^^^^^^
 
 error: aborting due to previous error