rust/src/test/ui/macros/macro-non-lifetime.stderr

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

12 lines
287 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: no rules expected the token `a`
2022-01-19 09:24:49 -06:00
--> $DIR/macro-non-lifetime.rs:6:8
2018-08-08 07:28:26 -05:00
|
LL | macro_rules! m { ($x:lifetime) => { } }
| -------------- when calling this macro
...
2018-08-08 07:28:26 -05:00
LL | m!(a);
| ^ no rules expected this token in macro call
2018-08-08 07:28:26 -05:00
error: aborting due to previous error