]> git.proxmox.com Git - rustc.git/blame - tests/ui/macros/best-failure.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / macros / best-failure.stderr
CommitLineData
9c376795
FG
1error: no rules expected the token `$`
2 --> $DIR/best-failure.rs:4:30
3 |
4LL | macro_rules! number {
5 | ------------------- when calling this macro
6...
7LL | number!(neg $signed, $self);
8 | ^^^^^ no rules expected this token in macro call
9...
10LL | number! { false => u8; }
11 | ------------------------ in this macro invocation
12 |
13note: while trying to match meta-variable `$self:ident`
14 --> $DIR/best-failure.rs:2:17
15 |
16LL | (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 20error: aborting due to 1 previous error
9c376795 21