fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.1 KiB59 linesraw
1error: expected one of `.`, `?`, or an operator, found `;`
2  --> $DIR/expand-expr.rs:108:27
3   |
4LL | expand_expr_fail!("string"; hello);
5   |                           ^ expected one of `.`, `?`, or an operator
6
7error: expected expression, found `$`
8  --> $DIR/expand-expr.rs:111:19
9   |
10LL | expand_expr_fail!($);
11   |                   ^ expected expression
12
13error: expected expression, found `$`
14  --> $DIR/expand-expr.rs:40:23
15   |
16LL |     ($($t:tt)*) => { $($t)* };
17   |                       ^^^^ expected expression
18
19error: expected expression, found `$`
20  --> $DIR/expand-expr.rs:113:28
21   |
22LL | expand_expr_fail!(echo_pm!($));
23   |                            ^ expected expression
24
25error: macro expansion ignores token `hello` and any following
26  --> $DIR/expand-expr.rs:117:47
27   |
28LL | expand_expr_is!("string", echo_tts!("string"; hello));
29   |                           --------------------^^^^^- caused by the macro expansion here
30   |
31   = note: the usage of `echo_tts!` is likely invalid in expression context
32help: you might be missing a semicolon here
33   |
34LL | expand_expr_is!("string", echo_tts!("string"; hello););
35   |                                                     +
36
37error: macro expansion ignores token `;` and any following
38  --> $DIR/expand-expr.rs:118:44
39   |
40LL | expand_expr_is!("string", echo_pm!("string"; hello));
41   |                           -----------------^------- caused by the macro expansion here
42   |
43   = note: the usage of `echo_pm!` is likely invalid in expression context
44help: you might be missing a semicolon here
45   |
46LL | expand_expr_is!("string", echo_pm!("string"; hello););
47   |                                                    +
48
49error: recursion limit reached while expanding `recursive_expand!`
50  --> $DIR/expand-expr.rs:126:16
51   |
52LL | const _: u32 = recursive_expand!();
53   |                ^^^^^^^^^^^^^^^^^^^
54   |
55   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`expand_expr`)
56   = note: this error originates in the macro `recursive_expand` (in Nightly builds, run with -Z macro-backtrace for more info)
57
58error: aborting due to 7 previous errors
59