]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unused_labels.stderr
Bless tests.
[rust.git] / src / test / ui / lint / unused_labels.stderr
1 warning: label name `'many_used_shadowed` shadows a label name that is already in scope
2   --> $DIR/unused_labels.rs:62:9
3    |
4 LL |     'many_used_shadowed: for _ in 0..10 {
5    |     ------------------- first declared here
6 LL |
7 LL |         'many_used_shadowed: for _ in 0..10 {
8    |         ^^^^^^^^^^^^^^^^^^^ label `'many_used_shadowed` already in scope
9
10 warning: label name `'many_used_shadowed` shadows a label name that is already in scope
11   --> $DIR/unused_labels.rs:62:9
12    |
13 LL |     'many_used_shadowed: for _ in 0..10 {
14    |     ------------------- first declared here
15 LL |
16 LL |         'many_used_shadowed: for _ in 0..10 {
17    |         ^^^^^^^^^^^^^^^^^^^ label `'many_used_shadowed` already in scope
18
19 warning: unused label
20   --> $DIR/unused_labels.rs:11:5
21    |
22 LL |     'unused_while_label: while 0 == 0 {
23    |     ^^^^^^^^^^^^^^^^^^^
24    |
25 note: the lint level is defined here
26   --> $DIR/unused_labels.rs:8:9
27    |
28 LL | #![warn(unused_labels)]
29    |         ^^^^^^^^^^^^^
30
31 warning: unused label
32   --> $DIR/unused_labels.rs:16:5
33    |
34 LL |     'unused_while_let_label: while let Some(_) = opt {
35    |     ^^^^^^^^^^^^^^^^^^^^^^^
36
37 warning: unused label
38   --> $DIR/unused_labels.rs:20:5
39    |
40 LL |     'unused_for_label: for _ in 0..10 {
41    |     ^^^^^^^^^^^^^^^^^
42
43 warning: unused label
44   --> $DIR/unused_labels.rs:36:9
45    |
46 LL |         'unused_loop_label_inner_2: for _ in 0..10 {
47    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
48
49 warning: unused label
50   --> $DIR/unused_labels.rs:42:5
51    |
52 LL |     'unused_loop_label_outer_3: for _ in 0..10 {
53    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
54
55 warning: unused label
56   --> $DIR/unused_labels.rs:60:5
57    |
58 LL |     'many_used_shadowed: for _ in 0..10 {
59    |     ^^^^^^^^^^^^^^^^^^^
60
61 warning: unused label
62   --> $DIR/unused_labels.rs:73:5
63    |
64 LL |     'unused_loop_label: loop {
65    |     ^^^^^^^^^^^^^^^^^^
66
67 warning: unused label
68   --> $DIR/unused_labels.rs:79:5
69    |
70 LL |     'unused_block_label: {
71    |     ^^^^^^^^^^^^^^^^^^^
72
73 warning: 10 warnings emitted
74