2018-03-17 14:08:18 -05:00
|
|
|
error: no rules expected the token `_`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/underscore-ident-matcher.rs:8:19
|
2018-03-17 14:08:18 -05:00
|
|
|
|
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | macro_rules! identity {
|
|
|
|
| --------------------- when calling this macro
|
2018-10-23 19:18:14 -05:00
|
|
|
...
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let identity!(_) = 10;
|
2018-11-04 16:01:38 -06:00
|
|
|
| ^ no rules expected this token in macro call
|
2022-11-12 16:18:32 -06:00
|
|
|
|
|
|
|
|
note: while trying to match meta-variable `$i:ident`
|
|
|
|
--> $DIR/underscore-ident-matcher.rs:2:6
|
|
|
|
|
|
|
|
|
LL | ($i: ident) => (
|
|
|
|
| ^^^^^^^^^
|
2018-03-17 14:08:18 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|