1 error: Bounds of the form `T: Drop` are useless. Use `std::mem::needs_drop` to detect if a type has drop glue.
2 --> $DIR/drop_bounds.rs:2:11
4 LL | fn foo<T: Drop>() {}
7 = note: `#[deny(clippy::drop_bounds)]` on by default
9 error: Bounds of the form `T: Drop` are useless. Use `std::mem::needs_drop` to detect if a type has drop glue.
10 --> $DIR/drop_bounds.rs:5:8
15 error: aborting due to 2 previous errors