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