1
1
error: expected one of `.`, `?`, or an operator, found `;`
2
- --> $DIR/expand-expr.rs:106 :27
2
+ --> $DIR/expand-expr.rs:108 :27
3
3
|
4
4
LL | expand_expr_fail!("string"; hello);
5
5
| ^ expected one of `.`, `?`, or an operator
6
6
7
7
error: expected expression, found `$`
8
- --> $DIR/expand-expr.rs:109 :19
8
+ --> $DIR/expand-expr.rs:111 :19
9
9
|
10
10
LL | expand_expr_fail!($);
11
11
| ^ expected expression
12
12
13
13
error: expected expression, found `$`
14
- --> $DIR/expand-expr.rs:38 :23
14
+ --> $DIR/expand-expr.rs:40 :23
15
15
|
16
16
LL | ($($t:tt)*) => { $($t)* };
17
17
| ^^^^ expected expression
18
18
19
19
error: expected expression, found `$`
20
- --> $DIR/expand-expr.rs:111 :28
20
+ --> $DIR/expand-expr.rs:113 :28
21
21
|
22
22
LL | expand_expr_fail!(echo_pm!($));
23
23
| ^ expected expression
24
24
25
25
error: macro expansion ignores token `hello` and any following
26
- --> $DIR/expand-expr.rs:115 :47
26
+ --> $DIR/expand-expr.rs:117 :47
27
27
|
28
28
LL | expand_expr_is!("string", echo_tts!("string"; hello));
29
29
| --------------------^^^^^- caused by the macro expansion here
@@ -35,7 +35,7 @@ LL | expand_expr_is!("string", echo_tts!("string"; hello););
35
35
| +
36
36
37
37
error: macro expansion ignores token `;` and any following
38
- --> $DIR/expand-expr.rs:116 :44
38
+ --> $DIR/expand-expr.rs:118 :44
39
39
|
40
40
LL | expand_expr_is!("string", echo_pm!("string"; hello));
41
41
| -----------------^------- caused by the macro expansion here
@@ -47,7 +47,7 @@ LL | expand_expr_is!("string", echo_pm!("string"; hello););
47
47
| +
48
48
49
49
error: recursion limit reached while expanding `recursive_expand!`
50
- --> $DIR/expand-expr.rs:124 :16
50
+ --> $DIR/expand-expr.rs:126 :16
51
51
|
52
52
LL | const _: u32 = recursive_expand!();
53
53
| ^^^^^^^^^^^^^^^^^^^
0 commit comments