1
1
error: expected one of `.`, `?`, or an operator, found `;`
2
- --> $DIR/expand-expr.rs:101 :27
2
+ --> $DIR/expand-expr.rs:106 :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:104 :19
8
+ --> $DIR/expand-expr.rs:109 :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:33 :23
14
+ --> $DIR/expand-expr.rs:38 :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:106 :28
20
+ --> $DIR/expand-expr.rs:111 :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:110 :47
26
+ --> $DIR/expand-expr.rs:115 :47
27
27
|
28
28
LL | expand_expr_is!("string", echo_tts!("string"; hello));
29
29
| --------------------^^^^^-- help: you might be missing a semicolon here: `;`
@@ -33,7 +33,7 @@ LL | expand_expr_is!("string", echo_tts!("string"; hello));
33
33
= note: the usage of `echo_tts!` is likely invalid in expression context
34
34
35
35
error: macro expansion ignores token `;` and any following
36
- --> $DIR/expand-expr.rs:111 :44
36
+ --> $DIR/expand-expr.rs:116 :44
37
37
|
38
38
LL | expand_expr_is!("string", echo_pm!("string"; hello));
39
39
| -----------------^-------- help: you might be missing a semicolon here: `;`
@@ -43,7 +43,7 @@ LL | expand_expr_is!("string", echo_pm!("string"; hello));
43
43
= note: the usage of `echo_pm!` is likely invalid in expression context
44
44
45
45
error: recursion limit reached while expanding `recursive_expand!`
46
- --> $DIR/expand-expr.rs:119 :16
46
+ --> $DIR/expand-expr.rs:124 :16
47
47
|
48
48
LL | const _: u32 = recursive_expand!();
49
49
| ^^^^^^^^^^^^^^^^^^^
0 commit comments