summaryrefslogtreecommitdiffstats
path: root/src/test/ui/label/label_break_value_illegal_uses.stderr
blob: 24b733fec5301ca3e478433be374ce98d3302411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: block label not supported here
  --> $DIR/label_break_value_illegal_uses.rs:8:12
   |
LL |     unsafe 'b: {}
   |            ^^^ not supported here

error: block label not supported here
  --> $DIR/label_break_value_illegal_uses.rs:12:13
   |
LL |     if true 'b: {}
   |             ^^^ not supported here

error: block label not supported here
  --> $DIR/label_break_value_illegal_uses.rs:16:21
   |
LL |     if true {} else 'b: {}
   |                     ^^^ not supported here

error: block label not supported here
  --> $DIR/label_break_value_illegal_uses.rs:20:17
   |
LL |     match false 'b: {
   |                 ^^^ not supported here

error: aborting due to 4 previous errors