File: expand-expr.stderr

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (59 lines) | stat: -rw-r--r-- 2,198 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
error: expected one of `.`, `?`, or an operator, found `;`
  --> $DIR/expand-expr.rs:108:27
   |
LL | expand_expr_fail!("string"; hello);
   |                           ^ expected one of `.`, `?`, or an operator

error: expected expression, found `$`
  --> $DIR/expand-expr.rs:111:19
   |
LL | expand_expr_fail!($);
   |                   ^ expected expression

error: expected expression, found `$`
  --> $DIR/expand-expr.rs:112:29
   |
LL | expand_expr_fail!(echo_tts!($));
   |                             ^ expected expression

error: expected expression, found `$`
  --> $DIR/expand-expr.rs:113:28
   |
LL | expand_expr_fail!(echo_pm!($));
   |                            ^ expected expression

error: macro expansion ignores `hello` and any tokens following
  --> $DIR/expand-expr.rs:117:47
   |
LL | expand_expr_is!("string", echo_tts!("string"; hello));
   |                           --------------------^^^^^- caused by the macro expansion here
   |
   = note: the usage of `echo_tts!` is likely invalid in expression context
help: you might be missing a semicolon here
   |
LL | expand_expr_is!("string", echo_tts!("string"; hello););
   |                                                     +

error: macro expansion ignores `;` and any tokens following
  --> $DIR/expand-expr.rs:118:44
   |
LL | expand_expr_is!("string", echo_pm!("string"; hello));
   |                           -----------------^------- caused by the macro expansion here
   |
   = note: the usage of `echo_pm!` is likely invalid in expression context
help: you might be missing a semicolon here
   |
LL | expand_expr_is!("string", echo_pm!("string"; hello););
   |                                                    +

error: recursion limit reached while expanding `recursive_expand!`
  --> $DIR/expand-expr.rs:126:16
   |
LL | const _: u32 = recursive_expand!();
   |                ^^^^^^^^^^^^^^^^^^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`expand_expr`)
   = note: this error originates in the macro `recursive_expand` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 7 previous errors