11error: expected one of `.`, `?`, or an operator, found `;`
2- --> $DIR/expand-expr.rs:106 :27
2+ --> $DIR/expand-expr.rs:108 :27
33 |
44LL | expand_expr_fail!("string"; hello);
55 | ^ expected one of `.`, `?`, or an operator
66
77error: expected expression, found `$`
8- --> $DIR/expand-expr.rs:109 :19
8+ --> $DIR/expand-expr.rs:111 :19
99 |
1010LL | expand_expr_fail!($);
1111 | ^ expected expression
1212
1313error: expected expression, found `$`
14- --> $DIR/expand-expr.rs:38 :23
14+ --> $DIR/expand-expr.rs:40 :23
1515 |
1616LL | ($($t:tt)*) => { $($t)* };
1717 | ^^^^ expected expression
1818
1919error: expected expression, found `$`
20- --> $DIR/expand-expr.rs:111 :28
20+ --> $DIR/expand-expr.rs:113 :28
2121 |
2222LL | expand_expr_fail!(echo_pm!($));
2323 | ^ expected expression
2424
2525error: macro expansion ignores token `hello` and any following
26- --> $DIR/expand-expr.rs:115 :47
26+ --> $DIR/expand-expr.rs:117 :47
2727 |
2828LL | expand_expr_is!("string", echo_tts!("string"; hello));
2929 | --------------------^^^^^- caused by the macro expansion here
@@ -35,7 +35,7 @@ LL | expand_expr_is!("string", echo_tts!("string"; hello););
3535 | +
3636
3737error: macro expansion ignores token `;` and any following
38- --> $DIR/expand-expr.rs:116 :44
38+ --> $DIR/expand-expr.rs:118 :44
3939 |
4040LL | expand_expr_is!("string", echo_pm!("string"; hello));
4141 | -----------------^------- caused by the macro expansion here
@@ -47,7 +47,7 @@ LL | expand_expr_is!("string", echo_pm!("string"; hello););
4747 | +
4848
4949error: recursion limit reached while expanding `recursive_expand!`
50- --> $DIR/expand-expr.rs:124 :16
50+ --> $DIR/expand-expr.rs:126 :16
5151 |
5252LL | const _: u32 = recursive_expand!();
5353 | ^^^^^^^^^^^^^^^^^^^
0 commit comments