1 error: `$ty:ty` is followed by `<`, which is not allowed for `ty` fragments
2 --> $DIR/macro-input-future-proofing.rs:4:13
5 | ^ not allowed after `ty` fragments
7 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
9 error: `$ty:ty` is followed by `<`, which is not allowed for `ty` fragments
10 --> $DIR/macro-input-future-proofing.rs:5:13
12 LL | ($ty:ty < foo ,) => ();
13 | ^ not allowed after `ty` fragments
15 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
17 error: `$pa:pat` is followed by `>`, which is not allowed for `pat` fragments
18 --> $DIR/macro-input-future-proofing.rs:11:14
20 LL | ($pa:pat >) => ();
21 | ^ not allowed after `pat` fragments
23 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
25 error: `$pa:pat` is followed by `$pb:pat`, which is not allowed for `pat` fragments
26 --> $DIR/macro-input-future-proofing.rs:13:14
28 LL | ($pa:pat $pb:pat $ty:ty ,) => ();
29 | ^^^^^^^ not allowed after `pat` fragments
31 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
33 error: `$pb:pat` is followed by `$ty:ty`, which is not allowed for `pat` fragments
34 --> $DIR/macro-input-future-proofing.rs:13:22
36 LL | ($pa:pat $pb:pat $ty:ty ,) => ();
37 | ^^^^^^ not allowed after `pat` fragments
39 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
41 error: `$ty:ty` is followed by `-`, which is not allowed for `ty` fragments
42 --> $DIR/macro-input-future-proofing.rs:16:17
44 LL | ($($ty:ty)* -) => ();
45 | ^ not allowed after `ty` fragments
47 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
49 error: `$b:ty` is followed by `-`, which is not allowed for `ty` fragments
50 --> $DIR/macro-input-future-proofing.rs:17:23
52 LL | ($($a:ty, $b:ty)* -) => ();
53 | ^ not allowed after `ty` fragments
55 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
57 error: `$ty:ty` is followed by `-`, which is not allowed for `ty` fragments
58 --> $DIR/macro-input-future-proofing.rs:18:15
60 LL | ($($ty:ty)-+) => ();
61 | ^ not allowed after `ty` fragments
63 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
65 error: `$a:expr` is followed by `$b:tt`, which is not allowed for `expr` fragments
66 --> $DIR/macro-input-future-proofing.rs:19:21
68 LL | ( $($a:expr)* $($b:tt)* ) => { };
69 | ^^^^^ not allowed after `expr` fragments
71 = note: allowed there are: `=>`, `,` or `;`
73 error: aborting due to 9 previous errors