1 error: `$ty:ty` is followed by `<`, which is not allowed for `ty` fragments
2 --> $DIR/macro-input-future-proofing.rs:14:13
4 LL | ($ty:ty <) => (); //~ ERROR `$ty:ty` is followed by `<`, which is not allowed for `ty`
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:15:13
12 LL | ($ty:ty < foo ,) => (); //~ ERROR `$ty:ty` is followed by `<`, which is not allowed for `ty`
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:21:14
20 LL | ($pa:pat >) => (); //~ ERROR `$pa:pat` is followed by `>`, which is not allowed for `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:23: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:23: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:26:17
44 LL | ($($ty:ty)* -) => (); //~ ERROR `$ty:ty` is followed by `-`
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:27:23
52 LL | ($($a:ty, $b:ty)* -) => (); //~ ERROR `$b:ty` is followed by `-`
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:28:7
60 LL | ($($ty:ty)-+) => (); //~ ERROR `$ty:ty` is followed by `-`, which is not allowed for `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:29: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