2018-08-08 07:28:26 -05:00
|
|
|
error: `$ty:ty` is followed by `<`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:4:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($ty:ty <) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `ty` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$ty:ty` is followed by `<`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:5:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($ty:ty < foo ,) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `ty` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$pa:pat` is followed by `>`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:11:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($pa:pat >) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `pat` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$pa:pat` is followed by `$pb:pat`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:13:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | ($pa:pat $pb:pat $ty:ty ,) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `pat` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$pb:pat` is followed by `$ty:ty`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:13:22
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | ($pa:pat $pb:pat $ty:ty ,) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^ not allowed after `pat` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$ty:ty` is followed by `-`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:16:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($($ty:ty)* -) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `ty` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$b:ty` is followed by `-`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:17:23
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($($a:ty, $b:ty)* -) => ();
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `ty` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$ty:ty` is followed by `-`, which is not allowed for `ty` fragments
|
2019-06-08 12:20:00 -05:00
|
|
|
--> $DIR/macro-input-future-proofing.rs:18:15
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($($ty:ty)-+) => ();
|
2019-06-08 12:20:00 -05:00
|
|
|
| ^ not allowed after `ty` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
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-input-future-proofing.rs:19:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | ( $($a:expr)* $($b:tt)* ) => { };
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `expr` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
|
|
|
|