]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/redundant_else.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / redundant_else.stderr
1 error: redundant else block
2 --> $DIR/redundant_else.rs:10:16
3 |
4 LL | } else {
5 | ________________^
6 LL | | println!("yet don't pull down your hedge.");
7 LL | | }
8 | |_________^
9 |
10 = help: remove the `else` block and move the contents out
11 = note: `-D clippy::redundant-else` implied by `-D warnings`
12
13 error: redundant else block
14 --> $DIR/redundant_else.rs:17:16
15 |
16 LL | } else {
17 | ________________^
18 LL | | println!("shall rise up with fleas.");
19 LL | | }
20 | |_________^
21 |
22 = help: remove the `else` block and move the contents out
23
24 error: redundant else block
25 --> $DIR/redundant_else.rs:26:16
26 |
27 LL | } else {
28 | ________________^
29 LL | | println!("You may delay, but time will not.");
30 LL | | }
31 | |_________^
32 |
33 = help: remove the `else` block and move the contents out
34
35 error: redundant else block
36 --> $DIR/redundant_else.rs:35:12
37 |
38 LL | } else {
39 | ____________^
40 LL | | println!("A fat kitchen makes a lean will.");
41 LL | | }
42 | |_____^
43 |
44 = help: remove the `else` block and move the contents out
45
46 error: redundant else block
47 --> $DIR/redundant_else.rs:42:16
48 |
49 LL | } else {
50 | ________________^
51 LL | | 1
52 LL | | }
53 | |_________^
54 |
55 = help: remove the `else` block and move the contents out
56
57 error: redundant else block
58 --> $DIR/redundant_else.rs:52:16
59 |
60 LL | } else {
61 | ________________^
62 LL | | 2
63 LL | | }
64 | |_________^
65 |
66 = help: remove the `else` block and move the contents out
67
68 error: redundant else block
69 --> $DIR/redundant_else.rs:61:16
70 |
71 LL | } else {
72 | ________________^
73 LL | | 1
74 LL | | }
75 | |_________^
76 |
77 = help: remove the `else` block and move the contents out
78
79 error: aborting due to 7 previous errors
80