2019-07-24 21:32:26 +00:00
|
|
|
error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments
|
2019-08-31 12:22:53 +00:00
|
|
|
--> $DIR/same-sequence-span.rs:14:18
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
|
LL | (1 $x:expr $($y:tt,)*
|
|
|
|
| ^^^^^ not allowed after `expr` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
|
|
|
|
|
|
|
error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments
|
2019-08-31 12:22:53 +00:00
|
|
|
--> $DIR/same-sequence-span.rs:15:18
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
|
LL | $(= $z:tt)*
|
|
|
|
| ^ not allowed after `expr` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
|
|
|
|
|
|
|
error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments
|
2019-08-31 12:22:53 +00:00
|
|
|
--> $DIR/same-sequence-span.rs:19:1
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
2023-05-14 22:56:11 +00:00
|
|
|
LL | | }
|
|
|
|
| |_________________________________^ not allowed after `expr` fragments
|
|
|
|
LL |
|
2021-05-09 01:33:04 +00:00
|
|
|
LL | proc_macro_sequence::make_foo!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^-------------------------------
|
2021-05-09 01:33:04 +00:00
|
|
|
| |
|
|
|
|
| _in this macro invocation
|
2019-08-04 20:41:01 +00:00
|
|
|
| |
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `proc_macro_sequence::make_foo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments
|
2019-08-31 12:22:53 +00:00
|
|
|
--> $DIR/same-sequence-span.rs:19:1
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
|
LL | proc_macro_sequence::make_foo!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not allowed after `expr` fragments
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `proc_macro_sequence::make_foo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-07-24 21:32:26 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|