]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-followed-by-seq-bad.stderr
Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup
[rust.git] / src / test / ui / macros / macro-followed-by-seq-bad.stderr
1 error: `$a:expr` is followed by `$b:tt`, which is not allowed for `expr` fragments
2   --> $DIR/macro-followed-by-seq-bad.rs:7:15
3    |
4 LL |   ( $a:expr $($b:tt)* ) => { };
5    |               ^^^^^ not allowed after `expr` fragments
6    |
7    = note: allowed there are: `=>`, `,` or `;`
8
9 error: `$a:ty` is followed by `$b:tt`, which is not allowed for `ty` fragments
10   --> $DIR/macro-followed-by-seq-bad.rs:8:13
11    |
12 LL |   ( $a:ty $($b:tt)* ) => { };
13    |             ^^^^^ not allowed after `ty` fragments
14    |
15    = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
16
17 error: aborting due to 2 previous errors
18