fork/rust

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

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

master
471 B17 linesraw
1error: no rules expected the token `a`
2  --> $DIR/macro-non-lifetime.rs:6:8
3   |
4LL | macro_rules! m { ($x:lifetime) => { } }
5   | -------------- when calling this macro
6...
7LL |     m!(a);
8   |        ^ no rules expected this token in macro call
9   |
10note: while trying to match meta-variable `$x:lifetime`
11  --> $DIR/macro-non-lifetime.rs:3:19
12   |
13LL | macro_rules! m { ($x:lifetime) => { } }
14   |                   ^^^^^^^^^^^
15
16error: aborting due to previous error
17