rust/tests/ui/crashes/ice-5223.stderr
Samuel E. Moelius III 9c6a0b9c34 Update references
2020-11-08 07:07:49 -05:00

12 lines
440 B
Plaintext

error: non-binding let on a type that implements `Drop`
--> $DIR/ice-5223.rs:14:9
|
LL | let _ = self.arr.iter().cloned().collect::<Vec<_>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[deny(clippy::let_underscore_drop)]` on by default
= help: consider using an underscore-prefixed named binding or dropping explicitly with `std::mem::drop`
error: aborting due to previous error