fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments 2 --> $DIR/same-sequence-span.rs:15: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:16: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:20:1 19 | 20LL | proc_macro_sequence::make_foo!(); 21 | ^-------------------------------- 22 | | 23 | _in this macro invocation 24 | | 25LL | | 26LL | | 27LL | | fn main() {} 28... | 29 | 30 = note: allowed there are: `=>`, `,` or `;` 31 32error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments 33 --> $DIR/same-sequence-span.rs:20:1 34 | 35LL | proc_macro_sequence::make_foo!(); 36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 37 | | 38 | not allowed after `expr` fragments 39 | in this macro invocation 40 | 41 = note: allowed there are: `=>`, `,` or `;` 42 43error: aborting due to 4 previous errors 44