fork/rust

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

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

master
1.5 KiB42 linesraw
1error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments
2  --> $DIR/same-sequence-span.rs:14:18
3   |
4LL |     (1 $x:expr $($y:tt,)*
5   |                  ^^^^^ not allowed after `expr` fragments
6   |
7   = note: allowed there are: `=>`, `,` or `;`
8
9error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments
10  --> $DIR/same-sequence-span.rs:15:18
11   |
12LL |                $(= $z:tt)*
13   |                  ^ not allowed after `expr` fragments
14   |
15   = note: allowed there are: `=>`, `,` or `;`
16
17error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments
18  --> $DIR/same-sequence-span.rs:19:1
19   |
20LL | | }
21   | |_________________________________^ not allowed after `expr` fragments
22LL |
23LL |   proc_macro_sequence::make_foo!();
24   |   ^-------------------------------
25   |   |
26   |  _in this macro invocation
27   | |
28   |
29   = note: allowed there are: `=>`, `,` or `;`
30   = note: this error originates in the macro `proc_macro_sequence::make_foo` (in Nightly builds, run with -Z macro-backtrace for more info)
31
32error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments
33  --> $DIR/same-sequence-span.rs:19:1
34   |
35LL | proc_macro_sequence::make_foo!();
36   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not allowed after `expr` fragments
37   |
38   = note: allowed there are: `=>`, `,` or `;`
39   = note: this error originates in the macro `proc_macro_sequence::make_foo` (in Nightly builds, run with -Z macro-backtrace for more info)
40
41error: aborting due to 4 previous errors
42