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