1 error: labeled expression must be followed by `:`
2 --> $DIR/labeled-no-colon-expr.rs:2: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:3: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:4: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:5: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:6:9
49 | ^ expected `while`, `for`, `loop` or `{` after a label
51 help: consider removing the label
57 error: labeled expression must be followed by `:`
58 --> $DIR/labeled-no-colon-expr.rs:6:9
63 | | help: add `:` after the label
66 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
68 error: cannot use a `block` macro fragment here
69 --> $DIR/labeled-no-colon-expr.rs:11:17
74 | the `block` fragment is within this context
77 | ------ in this macro invocation
79 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
81 error: labeled expression must be followed by `:`
82 --> $DIR/labeled-no-colon-expr.rs:14:8
85 | ---- help: add `:` after the label
92 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them
94 error: aborting due to 8 previous errors