rust/tests
bors dd826b4626 Auto merge of #6305 - smoelius:master, r=flip1995
Add `let_underscore_drop`

This line generalizes `let_underscore_lock` (#5101) to warn about any initializer expression that implements `Drop`.

So, for example, the following would generate a warning:
```rust
struct Droppable;
impl Drop for Droppable {
    fn drop(&mut self) {}
}
let _ = Droppable;
```

I tried to preserve the original `let_underscore_lock` functionality in the sense that the warning generated for
```rust
let _ = mutex.lock();
```
should be unchanged.

*Please keep the line below*
changelog: Add lint [`let_underscore_drop`]
2020-11-09 19:13:26 +00:00
..
auxiliary Remove all copyright license headers 2019-01-08 21:46:39 +01:00
cargo Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #6305 - smoelius:master, r=flip1995 2020-11-09 19:13:26 +00:00
ui-cargo Merge commit 'bf1c6f9871' into clippyup 2020-10-23 22:16:59 +02:00
ui-toml Add large_types_passed_by_value lint 2020-10-24 14:46:56 -03:00
compile-test.rs Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
dogfood.rs Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
fmt.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Explain panic on E0463 in integration tests 2020-04-13 22:12:57 +02:00
missing-test-files.rs cargo fmt 2019-06-21 16:47:34 +02:00
versioncheck.rs test(versioncheck): Use .no_deps() 2019-01-25 21:53:44 +01:00