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
cargo
ui Auto merge of #6305 - smoelius:master, r=flip1995 2020-11-09 19:13:26 +00:00
ui-cargo
ui-toml
compile-test.rs
dogfood.rs
fmt.rs
integration.rs
missing-test-files.rs
versioncheck.rs