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