1 error: length comparison to zero
2 --> $DIR/len_zero.rs:84:8
5 | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `x.is_empty()`
7 = note: `-D clippy::len-zero` implied by `-D warnings`
9 error: length comparison to zero
10 --> $DIR/len_zero.rs:88:8
12 LL | if "".len() == 0 {}
13 | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `"".is_empty()`
15 error: comparison to empty slice
16 --> $DIR/len_zero.rs:97:20
18 LL | println!("{}", *s1 == "");
19 | ^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s1.is_empty()`
21 = note: `-D clippy::comparison-to-empty` implied by `-D warnings`
23 error: comparison to empty slice
24 --> $DIR/len_zero.rs:98:20
26 LL | println!("{}", **s2 == "");
27 | ^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s2.is_empty()`
29 error: comparison to empty slice
30 --> $DIR/len_zero.rs:99:20
32 LL | println!("{}", ***s3 == "");
33 | ^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s3.is_empty()`
35 error: comparison to empty slice
36 --> $DIR/len_zero.rs:100:20
38 LL | println!("{}", ****s4 == "");
39 | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s4.is_empty()`
41 error: comparison to empty slice
42 --> $DIR/len_zero.rs:101:20
44 LL | println!("{}", *****s5 == "");
45 | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `s5.is_empty()`
47 error: comparison to empty slice
48 --> $DIR/len_zero.rs:102:20
50 LL | println!("{}", ******(s6) == "");
51 | ^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `(s6).is_empty()`
53 error: comparison to empty slice
54 --> $DIR/len_zero.rs:105:20
56 LL | println!("{}", &**d2s == "");
57 | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `(**d2s).is_empty()`
59 error: length comparison to zero
60 --> $DIR/len_zero.rs:120:8
62 LL | if has_is_empty.len() == 0 {
63 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()`
65 error: length comparison to zero
66 --> $DIR/len_zero.rs:123:8
68 LL | if has_is_empty.len() != 0 {
69 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
71 error: length comparison to zero
72 --> $DIR/len_zero.rs:126:8
74 LL | if has_is_empty.len() > 0 {
75 | ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
77 error: length comparison to one
78 --> $DIR/len_zero.rs:129:8
80 LL | if has_is_empty.len() < 1 {
81 | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()`
83 error: length comparison to one
84 --> $DIR/len_zero.rs:132:8
86 LL | if has_is_empty.len() >= 1 {
87 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
89 error: length comparison to zero
90 --> $DIR/len_zero.rs:143:8
92 LL | if 0 == has_is_empty.len() {
93 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()`
95 error: length comparison to zero
96 --> $DIR/len_zero.rs:146:8
98 LL | if 0 != has_is_empty.len() {
99 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
101 error: length comparison to zero
102 --> $DIR/len_zero.rs:149:8
104 LL | if 0 < has_is_empty.len() {
105 | ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
107 error: length comparison to one
108 --> $DIR/len_zero.rs:152:8
110 LL | if 1 <= has_is_empty.len() {
111 | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
113 error: length comparison to one
114 --> $DIR/len_zero.rs:155:8
116 LL | if 1 > has_is_empty.len() {
117 | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `has_is_empty.is_empty()`
119 error: length comparison to zero
120 --> $DIR/len_zero.rs:169:8
122 LL | if with_is_empty.len() == 0 {
123 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `with_is_empty.is_empty()`
125 error: length comparison to zero
126 --> $DIR/len_zero.rs:182:8
128 LL | if b.len() != 0 {}
129 | ^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!b.is_empty()`
131 error: aborting due to 21 previous errors