1
1
warning: label name `'many_used_shadowed` shadows a label name that is already in scope
2
- --> $DIR/unused_labels.rs:62 :9
2
+ --> $DIR/unused_labels.rs:61 :9
3
3
|
4
4
LL | 'many_used_shadowed: for _ in 0..10 {
5
5
| ------------------- first declared here
@@ -8,55 +8,55 @@ LL | 'many_used_shadowed: for _ in 0..10 {
8
8
| ^^^^^^^^^^^^^^^^^^^ label `'many_used_shadowed` already in scope
9
9
10
10
warning: unused label
11
- --> $DIR/unused_labels.rs:11 :5
11
+ --> $DIR/unused_labels.rs:10 :5
12
12
|
13
13
LL | 'unused_while_label: while 0 == 0 {
14
14
| ^^^^^^^^^^^^^^^^^^^
15
15
|
16
16
note: the lint level is defined here
17
- --> $DIR/unused_labels.rs:8 :9
17
+ --> $DIR/unused_labels.rs:7 :9
18
18
|
19
19
LL | #![warn(unused_labels)]
20
20
| ^^^^^^^^^^^^^
21
21
22
22
warning: unused label
23
- --> $DIR/unused_labels.rs:16 :5
23
+ --> $DIR/unused_labels.rs:15 :5
24
24
|
25
25
LL | 'unused_while_let_label: while let Some(_) = opt {
26
26
| ^^^^^^^^^^^^^^^^^^^^^^^
27
27
28
28
warning: unused label
29
- --> $DIR/unused_labels.rs:20 :5
29
+ --> $DIR/unused_labels.rs:19 :5
30
30
|
31
31
LL | 'unused_for_label: for _ in 0..10 {
32
32
| ^^^^^^^^^^^^^^^^^
33
33
34
34
warning: unused label
35
- --> $DIR/unused_labels.rs:36 :9
35
+ --> $DIR/unused_labels.rs:35 :9
36
36
|
37
37
LL | 'unused_loop_label_inner_2: for _ in 0..10 {
38
38
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
39
39
40
40
warning: unused label
41
- --> $DIR/unused_labels.rs:42 :5
41
+ --> $DIR/unused_labels.rs:41 :5
42
42
|
43
43
LL | 'unused_loop_label_outer_3: for _ in 0..10 {
44
44
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
45
45
46
46
warning: unused label
47
- --> $DIR/unused_labels.rs:60 :5
47
+ --> $DIR/unused_labels.rs:59 :5
48
48
|
49
49
LL | 'many_used_shadowed: for _ in 0..10 {
50
50
| ^^^^^^^^^^^^^^^^^^^
51
51
52
52
warning: unused label
53
- --> $DIR/unused_labels.rs:72 :5
53
+ --> $DIR/unused_labels.rs:71 :5
54
54
|
55
55
LL | 'unused_loop_label: loop {
56
56
| ^^^^^^^^^^^^^^^^^^
57
57
58
58
warning: unused label
59
- --> $DIR/unused_labels.rs:78 :5
59
+ --> $DIR/unused_labels.rs:77 :5
60
60
|
61
61
LL | 'unused_block_label: {
62
62
| ^^^^^^^^^^^^^^^^^^^
0 commit comments