2018-08-08 07:28:26 -05:00
|
|
|
error: `$p:pat` is followed by `(`, which is not allowed for `pat` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:8:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat ()) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `pat` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:pat` is followed by `[`, which is not allowed for `pat` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:9:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat []) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `pat` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:pat` is followed by `{`, which is not allowed for `pat` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:10:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat {}) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `pat` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:pat` is followed by `:`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:11:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p: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: `$p:pat` is followed by `>`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:12:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p: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: `$p:pat` is followed by `+`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:13:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p: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: `$p:pat` is followed by `ident`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:14:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat ident) => {};
|
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
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$p:pat` is followed by `$q:pat`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:15:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $q: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: `$p:pat` is followed by `$e:expr`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:16:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $e:expr) => {};
|
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: `$p:pat` is followed by `$t:ty`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:17:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $t: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: `$p:pat` is followed by `$s:stmt`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:18:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $s:stmt) => {};
|
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
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$p:pat` is followed by `$q:path`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:19:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $q:path) => {};
|
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: `$p:pat` is followed by `$b:block`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:20:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $b:block) => {};
|
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: `$p:pat` is followed by `$i:ident`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:21:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $i:ident) => {};
|
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: `$p:pat` is followed by `$t:tt`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:22:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $t:tt) => {};
|
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: `$p:pat` is followed by `$i:item`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:23:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $i:item) => {};
|
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: `$p:pat` is followed by `$m:meta`, which is not allowed for `pat` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:24:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:pat $m:meta) => {};
|
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: `$e:expr` is followed by `(`, which is not allowed for `expr` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:28:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr ()) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `expr` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$e:expr` is followed by `[`, which is not allowed for `expr` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:29:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr []) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `expr` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$e:expr` is followed by `{`, which is not allowed for `expr` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:30:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr {}) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `expr` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$e:expr` is followed by `=`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:31:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr =) => {};
|
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: `$e:expr` is followed by `|`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:32:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr |) => {};
|
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: `$e:expr` is followed by `:`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:33:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr :) => {};
|
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: `$e:expr` is followed by `>`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:34:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr >) => {};
|
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: `$e:expr` is followed by `+`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:35:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr +) => {};
|
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: `$e:expr` is followed by `ident`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:36:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr ident) => {};
|
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: `$e:expr` is followed by `if`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:37:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr if) => {};
|
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: `$e:expr` is followed by `in`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:38:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr in) => {};
|
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: `$e:expr` is followed by `$p:pat`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:39:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $p:pat) => {};
|
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
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$e:expr` is followed by `$f:expr`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:40:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $f:expr) => {};
|
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: `$e:expr` is followed by `$t:ty`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:41:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $t:ty) => {};
|
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: `$e:expr` is followed by `$s:stmt`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:42:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $s:stmt) => {};
|
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: `$e:expr` is followed by `$p:path`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:43:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $p:path) => {};
|
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: `$e:expr` is followed by `$b:block`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:44:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $b:block) => {};
|
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: `$e:expr` is followed by `$i:ident`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:45:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $i:ident) => {};
|
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: `$e:expr` is followed by `$t:tt`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:46:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $t: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: `$e:expr` is followed by `$i:item`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:47:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $i:item) => {};
|
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: `$e:expr` is followed by `$m:meta`, which is not allowed for `expr` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:48:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($e:expr $m:meta) => {};
|
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: `$t:ty` is followed by `(`, which is not allowed for `ty` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:53:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty ()) => {};
|
2019-07-24 16:21:25 -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: `$t:ty` is followed by `+`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:55:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t: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: `$t:ty` is followed by `ident`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:56:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty ident) => {};
|
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: `$t:ty` is followed by `if`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:57:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty if) => {};
|
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: `$t:ty` is followed by `$p:pat`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:58:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $p:pat) => {};
|
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: `$t:ty` is followed by `$e:expr`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:59:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $e:expr) => {};
|
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
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$t:ty` is followed by `$r:ty`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:60:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $r: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: `$t:ty` is followed by `$s:stmt`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:61:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $s:stmt) => {};
|
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: `$t:ty` is followed by `$p:path`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:62:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $p:path) => {};
|
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: `$t:ty` is followed by `$i:ident`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:64:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $i:ident) => {};
|
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
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$t:ty` is followed by `$r:tt`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:65:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $r:tt) => {};
|
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: `$t:ty` is followed by `$i:item`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:66:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $i:item) => {};
|
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: `$t:ty` is followed by `$m:meta`, which is not allowed for `ty` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:67:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($t:ty $m:meta) => {};
|
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: `$s:stmt` is followed by `(`, which is not allowed for `stmt` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:71:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt ()) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `[`, which is not allowed for `stmt` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:72:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt []) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `{`, which is not allowed for `stmt` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:73:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt {}) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
2018-10-23 23:37:32 -05:00
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `=`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:74:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt =) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `|`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:75:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt |) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `:`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:76:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt :) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `>`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:77:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt >) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `+`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:78:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt +) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `ident`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:79:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt ident) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `if`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:80:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt if) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `in`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:81:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt in) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$p:pat`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:82:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $p:pat) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$e:expr`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:83:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $e:expr) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$t:ty`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:84:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $t:ty) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$s:stmt` is followed by `$t:stmt`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:85:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $t:stmt) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$p:path`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:86:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $p:path) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$b:block`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:87:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $b:block) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$i:ident`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:88:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $i:ident) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$t:tt`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:89:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $t:tt) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$i:item`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:90:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $i:item) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$s:stmt` is followed by `$m:meta`, which is not allowed for `stmt` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:91:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($s:stmt $m:meta) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `stmt` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `=>`, `,` or `;`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `(`, which is not allowed for `path` fragments
|
2019-07-24 16:21:25 -05:00
|
|
|
--> $DIR/macro-follow.rs:95:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path ()) => {};
|
2019-07-24 16:21:25 -05:00
|
|
|
| ^ not allowed after `path` 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: `$p:path` is followed by `+`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:97:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path +) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `ident`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:98:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path ident) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `if`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:99:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path if) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$p:path` is followed by `$q:pat`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:100:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $q:pat) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$e:expr`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:101:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $e:expr) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$t:ty`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:102:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $t:ty) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$s:stmt`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:103:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $s:stmt) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-01-15 12:25:41 -06:00
|
|
|
error: `$p:path` is followed by `$q:path`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:104:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $q:path) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$i:ident`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:106:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $i:ident) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$t:tt`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:107:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $t:tt) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$i:item`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:108:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $i:item) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: `$p:path` is followed by `$m:meta`, which is not allowed for `path` fragments
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-follow.rs:109:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ($p:path $m:meta) => {};
|
2018-10-23 23:37:32 -05:00
|
|
|
| ^^^^^^^ not allowed after `path` fragments
|
|
|
|
|
|
|
|
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 85 previous errors
|
|
|
|
|