fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
707 B21 linesraw
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
20error: aborting due to previous error
21