fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: unused return value of `Box::<T>::from_raw` that must be used 2 --> $DIR/must-use-box-from-raw.rs:8:5 3 | 4LL | Box::from_raw(ptr); 5 | ^^^^^^^^^^^^^^^^^^ 6 | 7 = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` 8note: the lint level is defined here 9 --> $DIR/must-use-box-from-raw.rs:5:9 10 | 11LL | #![warn(unused_must_use)] 12 | ^^^^^^^^^^^^^^^ 13help: use `let _ = ...` to ignore the resulting value 14 | 15LL | let _ = Box::from_raw(ptr); 16 | +++++++ 17 18warning: 1 warning emitted 19