2018-08-08 07:28:26 -05:00
|
|
|
error: `$a:expr` is followed by `$b:tt`, which is not allowed for `expr` fragments
|
|
|
|
--> $DIR/macro-followed-by-seq-bad.rs:17:15
|
|
|
|
|
|
|
|
|
LL | ( $a:expr $($b:tt)* ) => { }; //~ ERROR not allowed for `expr` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `expr` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$a:ty` is followed by `$b:tt`, which is not allowed for `ty` fragments
|
|
|
|
--> $DIR/macro-followed-by-seq-bad.rs:18:13
|
|
|
|
|
|
|
|
|
LL | ( $a:ty $($b:tt)* ) => { }; //~ ERROR not allowed for `ty` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `ty` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|