bors 18a7dce4da Auto merge of #4314 - chansuke:add-negation-to-is_empty, r=flip1995
Add negation to `len_zero` lint to show more explicit message.

Fixes #4304 I have updated the `len_zero` to show the required negation in case of like the below case.

```
fn main() {
    let v = vec![1];
    if v.len() > 0 {
    }
}
```

changelog: Clarify suggestion of `len_zero` lint.
2019-08-01 14:09:59 +00:00
..
2019-06-12 20:07:10 +02:00
2019-08-01 07:09:57 +02:00
2019-07-02 08:18:55 +02:00
2019-07-18 17:23:22 +02:00
fmt
2019-06-25 14:41:10 -07:00
2019-07-17 20:44:09 +02:00
2019-07-06 19:43:34 +02:00
2019-08-01 07:09:57 +02:00
2019-07-15 14:00:07 -05:00
2019-06-24 04:54:23 +02:00
2019-08-01 07:09:57 +02:00
2019-07-06 12:34:32 +07:00
2019-07-08 17:51:13 -03:00
2019-07-27 21:58:29 +01:00
2019-06-24 21:28:46 -04:00
2019-08-01 15:14:06 +02:00
2019-08-01 07:09:57 +02:00