1 error: non-binding `let` on a type that implements `Drop`
2 --> $DIR/let_underscore_drop.rs:16:5
4 LL | let _ = Box::new(());
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::let-underscore-drop` implied by `-D warnings`
8 = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
10 error: non-binding `let` on a type that implements `Drop`
11 --> $DIR/let_underscore_drop.rs:17:5
13 LL | let _ = Droppable;
16 = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
18 error: non-binding `let` on a type that implements `Drop`
19 --> $DIR/let_underscore_drop.rs:18:5
21 LL | let _ = Some(Droppable);
22 | ^^^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
26 error: aborting due to 3 previous errors