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
466 B
Plaintext
Raw Normal View History

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
|
LL | macro_rules! identity {
| --------------------- when calling this macro
...
2019-03-09 12:03:44 +00: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 19:08:18 +00:00
error: aborting due to 1 previous error
2018-03-17 19:08:18 +00:00