]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/best-failure.stderr
Auto merge of #106952 - petrochenkov:docglob, r=notriddle,GuillaumeGomez
[rust.git] / tests / ui / macros / best-failure.stderr
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
20 error: aborting due to previous error
21