fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: empty drop implementation 2 --> $DIR/empty_drop.rs:7:1 3 | 4LL | / impl Drop for Foo { 5LL | | fn drop(&mut self) {} 6LL | | } 7 | |_^ help: try removing this impl 8 | 9 = note: `-D clippy::empty-drop` implied by `-D warnings` 10 = help: to override `-D warnings` add `#[allow(clippy::empty_drop)]` 11 12error: empty drop implementation 13 --> $DIR/empty_drop.rs:23:1 14 | 15LL | / impl Drop for Baz { 16LL | | fn drop(&mut self) { 17LL | | {} 18LL | | } 19LL | | } 20 | |_^ help: try removing this impl 21 22error: aborting due to 2 previous errors 23