fork/rust

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

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

master
721 B22 linesraw
1error: this labeled break expression is easy to confuse with an unlabeled break with a labeled value expression
2  --> $DIR/issue-87812.rs:6:13
3   |
4LL |             break '_l $f;
5   |             ^^^^^^^^^^^^
6...
7LL |     let x = foo!({ 3 });
8   |             ----------- in this macro invocation
9   |
10note: the lint level is defined here
11  --> $DIR/issue-87812.rs:1:9
12   |
13LL | #![deny(break_with_label_and_loop)]
14   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
15   = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
16help: wrap this expression in parentheses
17   |
18LL |             break '_l ($f);
19   |                       +  +
20
21error: aborting due to previous error
22