1error: comparison to empty slice
2  --> $DIR/comparison_to_empty.rs:8:13
3   |
4LL |     let _ = s == "";
5   |             ^^^^^^^ help: using `is_empty` is clearer and more explicit: `s.is_empty()`
6   |
7   = note: `-D clippy::comparison-to-empty` implied by `-D warnings`
8
9error: comparison to empty slice
10  --> $DIR/comparison_to_empty.rs:9:13
11   |
12LL |     let _ = s != "";
13   |             ^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!s.is_empty()`
14
15error: comparison to empty slice
16  --> $DIR/comparison_to_empty.rs:12:13
17   |
18LL |     let _ = v == [];
19   |             ^^^^^^^ help: using `is_empty` is clearer and more explicit: `v.is_empty()`
20
21error: comparison to empty slice
22  --> $DIR/comparison_to_empty.rs:13:13
23   |
24LL |     let _ = v != [];
25   |             ^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!v.is_empty()`
26
27error: aborting due to 4 previous errors
28
29