@@ -22,13 +22,13 @@ error: length comparison to zero
2222 --> $DIR/len_zero.rs:83:8
2323 |
2424LL | if has_is_empty.len() != 0 {
25- | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
25+ | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
2626
2727error: length comparison to zero
2828 --> $DIR/len_zero.rs:86:8
2929 |
3030LL | if has_is_empty.len() > 0 {
31- | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
31+ | ^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
3232
3333error: length comparison to one
3434 --> $DIR/len_zero.rs:89:8
@@ -40,7 +40,7 @@ error: length comparison to one
4040 --> $DIR/len_zero.rs:92:8
4141 |
4242LL | if has_is_empty.len() >= 1 {
43- | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
43+ | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
4444
4545error: length comparison to zero
4646 --> $DIR/len_zero.rs:103:8
@@ -52,19 +52,19 @@ error: length comparison to zero
5252 --> $DIR/len_zero.rs:106:8
5353 |
5454LL | if 0 != has_is_empty.len() {
55- | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
55+ | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
5656
5757error: length comparison to zero
5858 --> $DIR/len_zero.rs:109:8
5959 |
6060LL | if 0 < has_is_empty.len() {
61- | ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
61+ | ^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
6262
6363error: length comparison to one
6464 --> $DIR/len_zero.rs:112:8
6565 |
6666LL | if 1 <= has_is_empty.len() {
67- | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
67+ | ^^^^^^^^^^^^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!has_is_empty.is_empty()`
6868
6969error: length comparison to one
7070 --> $DIR/len_zero.rs:115:8
@@ -82,7 +82,7 @@ error: length comparison to zero
8282 --> $DIR/len_zero.rs:142:8
8383 |
8484LL | if b.len() != 0 {}
85- | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!b.is_empty()`
85+ | ^^^^^^^^^^^^ help: using `! is_empty` is clearer and more explicit: `!b.is_empty()`
8686
8787error: aborting due to 14 previous errors
8888
0 commit comments