1 error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
2 --> $DIR/drop_non_drop.rs:22:5
7 note: argument has type `main::Foo`
8 --> $DIR/drop_non_drop.rs:22:10
12 = note: `-D clippy::drop-non-drop` implied by `-D warnings`
14 error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
15 --> $DIR/drop_non_drop.rs:37:5
20 note: argument has type `main::Baz<main::Foo>`
21 --> $DIR/drop_non_drop.rs:37:10
26 error: aborting due to 2 previous errors