fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: labeled expression must be followed by `:` 2 --> $DIR/labeled-no-colon-expr.rs:4:5 3 | 4LL | 'l0 while false {} 5 | ----^^^^^^^^^^^^^^ 6 | | | 7 | | help: add `:` after the label 8 | the label 9 | 10 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 11 12error: labeled expression must be followed by `:` 13 --> $DIR/labeled-no-colon-expr.rs:5:5 14 | 15LL | 'l1 for _ in 0..1 {} 16 | ----^^^^^^^^^^^^^^^^ 17 | | | 18 | | help: add `:` after the label 19 | the label 20 | 21 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 22 23error: labeled expression must be followed by `:` 24 --> $DIR/labeled-no-colon-expr.rs:6:5 25 | 26LL | 'l2 loop {} 27 | ----^^^^^^^ 28 | | | 29 | | help: add `:` after the label 30 | the label 31 | 32 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 33 34error: labeled expression must be followed by `:` 35 --> $DIR/labeled-no-colon-expr.rs:7:5 36 | 37LL | 'l3 {} 38 | ----^^ 39 | | | 40 | | help: add `:` after the label 41 | the label 42 | 43 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 44 45error: expected `while`, `for`, `loop` or `{` after a label 46 --> $DIR/labeled-no-colon-expr.rs:8:9 47 | 48LL | 'l4 0; 49 | ^ expected `while`, `for`, `loop` or `{` after a label 50 51error: labeled expression must be followed by `:` 52 --> $DIR/labeled-no-colon-expr.rs:8:9 53 | 54LL | 'l4 0; 55 | ----^ 56 | | | 57 | | help: add `:` after the label 58 | the label 59 | 60 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 61 62error: cannot use a `block` macro fragment here 63 --> $DIR/labeled-no-colon-expr.rs:13:17 64 | 65LL | 'l5 $b; 66 | ----^^ 67 | | 68 | the `block` fragment is within this context 69... 70LL | m!({}); 71 | ------- in this macro invocation 72 | 73 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 74 75error: labeled expression must be followed by `:` 76 --> $DIR/labeled-no-colon-expr.rs:16:8 77 | 78LL | 'l5 $b; 79 | ---- help: add `:` after the label 80 | | 81 | the label 82... 83LL | m!({}); 84 | ^^ 85 | 86 = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them 87 88error: aborting due to 8 previous errors 89