]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-ident-matcher.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / underscore-ident-matcher.stderr
1 error: no rules expected the token `_`
2   --> $DIR/underscore-ident-matcher.rs:8:19
3    |
4 LL | macro_rules! identity {
5    | --------------------- when calling this macro
6 ...
7 LL |     let identity!(_) = 10;
8    |                   ^ no rules expected this token in macro call
9    |
10 note: while trying to match meta-variable `$i:ident`
11   --> $DIR/underscore-ident-matcher.rs:2:6
12    |
13 LL |     ($i: ident) => (
14    |      ^^^^^^^^^
15
16 error: aborting due to previous error
17