fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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