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