rust/tests/ui/underscore-ident-matcher.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
464 B
Plaintext
Raw Normal View History

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
|
LL | macro_rules! identity {
| --------------------- when calling this macro
...
2019-03-09 06:03:44 -06:00
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) => (
| ^^^^^^^^^
2018-03-17 14:08:18 -05:00
error: aborting due to previous error