Skip to content

Commit ccc3257

Browse files
author
chansuke
committed
Update stderr file
1 parent 2d467dc commit ccc3257

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/ui/len_zero.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ error: length comparison to zero
2222
--> $DIR/len_zero.rs:83:8
2323
|
2424
LL | 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

2727
error: length comparison to zero
2828
--> $DIR/len_zero.rs:86:8
2929
|
3030
LL | 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

3333
error: 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
|
4242
LL | 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

4545
error: 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
|
5454
LL | 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

5757
error: length comparison to zero
5858
--> $DIR/len_zero.rs:109:8
5959
|
6060
LL | 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

6363
error: length comparison to one
6464
--> $DIR/len_zero.rs:112:8
6565
|
6666
LL | 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

6969
error: 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
|
8484
LL | 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

8787
error: aborting due to 14 previous errors
8888

0 commit comments

Comments
 (0)