1error: non-binding `let` on a type that implements `Drop`
2  --> $DIR/let_underscore_drop.rs:16:5
3   |
4LL |     let _ = Box::new(());
5   |     ^^^^^^^^^^^^^^^^^^^^^
6   |
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`
9
10error: non-binding `let` on a type that implements `Drop`
11  --> $DIR/let_underscore_drop.rs:17:5
12   |
13LL |     let _ = Droppable;
14   |     ^^^^^^^^^^^^^^^^^^
15   |
16   = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
17
18error: non-binding `let` on a type that implements `Drop`
19  --> $DIR/let_underscore_drop.rs:18:5
20   |
21LL |     let _ = Some(Droppable);
22   |     ^^^^^^^^^^^^^^^^^^^^^^^^
23   |
24   = help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
25
26error: aborting due to 3 previous errors
27
28