]>
Commit | Line | Data |
---|---|---|
9c376795 FG |
1 | error: no rules expected the token `$` |
2 | --> $DIR/best-failure.rs:4:30 | |
3 | | | |
4 | LL | macro_rules! number { | |
5 | | ------------------- when calling this macro | |
6 | ... | |
7 | LL | number!(neg $signed, $self); | |
8 | | ^^^^^ no rules expected this token in macro call | |
9 | ... | |
10 | LL | number! { false => u8; } | |
11 | | ------------------------ in this macro invocation | |
12 | | | |
13 | note: while trying to match meta-variable `$self:ident` | |
14 | --> $DIR/best-failure.rs:2:17 | |
15 | | | |
16 | LL | (neg false, $self:ident) => { $self }; | |
17 | | ^^^^^^^^^^^ | |
18 | = note: this error originates in the macro `number` (in Nightly builds, run with -Z macro-backtrace for more info) | |
19 | ||
4b012472 | 20 | error: aborting due to 1 previous error |
9c376795 | 21 |