1 error: expected one of `.`, `?`, or an operator, found `;`
2 --> $DIR/expand-expr.rs:101:27
4 LL | expand_expr_fail!("string"; hello);
5 | ^ expected one of `.`, `?`, or an operator
7 error: expected expression, found `$`
8 --> $DIR/expand-expr.rs:104:19
10 LL | expand_expr_fail!($);
11 | ^ expected expression
13 error: expected expression, found `$`
14 --> $DIR/expand-expr.rs:33:23
16 LL | ($($t:tt)*) => { $($t)* };
17 | ^^^^ expected expression
19 error: expected expression, found `$`
20 --> $DIR/expand-expr.rs:106:28
22 LL | expand_expr_fail!(echo_pm!($));
23 | ^ expected expression
25 error: macro expansion ignores token `hello` and any following
26 --> $DIR/expand-expr.rs:110:47
28 LL | expand_expr_is!("string", echo_tts!("string"; hello));
29 | --------------------^^^^^-- help: you might be missing a semicolon here: `;`
31 | caused by the macro expansion here
33 = note: the usage of `echo_tts!` is likely invalid in expression context
35 error: macro expansion ignores token `;` and any following
36 --> $DIR/expand-expr.rs:111:44
38 LL | expand_expr_is!("string", echo_pm!("string"; hello));
39 | -----------------^-------- help: you might be missing a semicolon here: `;`
41 | caused by the macro expansion here
43 = note: the usage of `echo_pm!` is likely invalid in expression context
45 error: recursion limit reached while expanding `recursive_expand!`
46 --> $DIR/expand-expr.rs:119:16
48 LL | const _: u32 = recursive_expand!();
51 = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`expand_expr`)
52 = note: this error originates in the macro `recursive_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
54 error: aborting due to 7 previous errors