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-05-28 15:34:25 +02:00
2019-08-01 07:09:57 +02:00
2019-07-19 07:29:25 +02:00
2019-08-01 07:09:57 +02:00
2019-05-12 13:07:58 +02:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-07-27 22:53:26 +01:00
2019-07-27 22:53:26 +01:00
2019-05-08 09:24:24 +02:00
2019-05-08 09:24:24 +02:00
2019-07-01 15:53:48 +02:00
2019-07-16 21:28:03 +02:00
2019-08-01 22:20:08 +09:00
2019-04-25 19:41:23 -07:00
2019-05-14 13:46:10 +02:00
2019-07-01 07:22:04 +02:00
2019-05-12 10:18:38 +02:00
2019-05-12 10:18:38 +02:00
2019-06-14 10:45:03 +02:00
2019-06-14 10:45:03 +02:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-06-30 18:28:12 -04:00
2019-06-30 18:28:12 -04:00
2019-06-30 18:28:12 -04:00
2019-08-01 07:09:57 +02:00
2019-08-01 07:09:57 +02:00
2019-05-08 09:24:24 +02:00