1
1
error: expected one of `extern`, `fn`, or `{`, found `'b`
2
- --> $DIR/label_break_value_illegal_uses.rs:14 :12
2
+ --> $DIR/label_break_value_illegal_uses.rs:16 :12
3
3
|
4
4
LL | unsafe 'b: {} //~ ERROR expected one of `extern`, `fn`, or `{`
5
5
| ^^ expected one of `extern`, `fn`, or `{` here
6
6
7
7
error: expected `{`, found `'b`
8
- --> $DIR/label_break_value_illegal_uses.rs:18 :13
8
+ --> $DIR/label_break_value_illegal_uses.rs:20 :13
9
9
|
10
10
LL | if true 'b: {} //~ ERROR expected `{`, found `'b`
11
11
| -- ^^----
@@ -14,15 +14,15 @@ LL | if true 'b: {} //~ ERROR expected `{`, found `'b`
14
14
| this `if` statement has a condition, but no block
15
15
16
16
error: expected `{`, found `'b`
17
- --> $DIR/label_break_value_illegal_uses.rs:22 :21
17
+ --> $DIR/label_break_value_illegal_uses.rs:24 :21
18
18
|
19
19
LL | if true {} else 'b: {} //~ ERROR expected `{`, found `'b`
20
20
| ^^----
21
21
| |
22
22
| help: try placing this code inside a block: `{ 'b: { } }`
23
23
24
24
error: expected one of `.`, `?`, `{`, or an operator, found `'b`
25
- --> $DIR/label_break_value_illegal_uses.rs:26 :17
25
+ --> $DIR/label_break_value_illegal_uses.rs:28 :17
26
26
|
27
27
LL | match false 'b: {} //~ ERROR expected one of `.`, `?`, `{`, or an operator
28
28
| ^^ expected one of `.`, `?`, `{`, or an operator here
0 commit comments