2019-07-24 16:32:26 -05:00
|
|
|
error: `$x:expr` may be followed by `$y:tt`, which is not allowed for `expr` fragments
|
2019-08-31 07:22:53 -05:00
|
|
|
--> $DIR/same-sequence-span.rs:14:18
|
2019-07-24 16:32:26 -05: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 07:22:53 -05:00
|
|
|
--> $DIR/same-sequence-span.rs:15:18
|
2019-07-24 16:32:26 -05: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 07:22:53 -05:00
|
|
|
--> $DIR/same-sequence-span.rs:19:1
|
2019-07-24 16:32:26 -05:00
|
|
|
|
|
2021-05-08 20:33:04 -05:00
|
|
|
LL | proc_macro_sequence::make_foo!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^-------------------------------
|
2021-05-08 20:33:04 -05:00
|
|
|
| |
|
|
|
|
| _in this macro invocation
|
2019-08-04 15:41:01 -05:00
|
|
|
| |
|
2021-05-08 20:33:04 -05:00
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | fn main() {}
|
|
|
|
| |_________________________________^ not allowed after `expr` fragments
|
2019-07-24 16:32:26 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2021-02-13 13:52:25 -06: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 16:32:26 -05:00
|
|
|
|
|
|
|
error: `$x:expr` may be followed by `=`, which is not allowed for `expr` fragments
|
2019-08-31 07:22:53 -05:00
|
|
|
--> $DIR/same-sequence-span.rs:19:1
|
2019-07-24 16:32:26 -05:00
|
|
|
|
|
|
|
|
LL | proc_macro_sequence::make_foo!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not allowed after `expr` fragments
|
2019-07-24 16:32:26 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2021-02-13 13:52:25 -06: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 16:32:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|