rust/tests/ui/macros/macro-followed-by-seq-bad.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
643 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: `$a:expr` is followed by `$b:tt`, which is not allowed for `expr` fragments
2018-12-25 09:56:47 -06:00
--> $DIR/macro-followed-by-seq-bad.rs:7:15
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | ( $a:expr $($b:tt)* ) => { };
| ^^^^^ 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
2018-12-25 09:56:47 -06:00
--> $DIR/macro-followed-by-seq-bad.rs:8:13
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | ( $a:ty $($b:tt)* ) => { };
| ^^^^^ 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