1 error: labeled expression must be followed by `:`
2 --> $DIR/labeled-no-colon-expr.rs:4:5
4 LL | 'l0 while false {}
7 | | help: add `:` after the label
10 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
12 error: labeled expression must be followed by `:`
13 --> $DIR/labeled-no-colon-expr.rs:5:5
15 LL | 'l1 for _ in 0..1 {}
16 | ----^^^^^^^^^^^^^^^^
18 | | help: add `:` after the label
21 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
23 error: labeled expression must be followed by `:`
24 --> $DIR/labeled-no-colon-expr.rs:6:5
29 | | help: add `:` after the label
32 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
34 error: labeled expression must be followed by `:`
35 --> $DIR/labeled-no-colon-expr.rs:7:5
40 | | help: add `:` after the label
43 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
45 error: expected `while`, `for`, `loop` or `{` after a label
46 --> $DIR/labeled-no-colon-expr.rs:8:9
49 | ^ expected `while`, `for`, `loop` or `{` after a label
51 error: labeled expression must be followed by `:`
52 --> $DIR/labeled-no-colon-expr.rs:8:9
57 | | help: add `:` after the label
60 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
62 error: cannot use a `block` macro fragment here
63 --> $DIR/labeled-no-colon-expr.rs:13:17
68 | the `block` fragment is within this context
71 | ------- in this macro invocation
73 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
75 error: labeled expression must be followed by `:`
76 --> $DIR/labeled-no-colon-expr.rs:16:8
79 | ---- help: add `:` after the label
86 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
88 error: aborting due to 8 previous errors