]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/unused/must-use-box-from-raw.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / unused / must-use-box-from-raw.stderr
CommitLineData
064997fb
FG
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);
487cf647 5 | ^^^^^^^^^^^^^^^^^^
064997fb 6 |
2b03887a 7 = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
064997fb
FG
8note: the lint level is defined here
9 --> $DIR/must-use-box-from-raw.rs:5:9
10 |
11LL | #![warn(unused_must_use)]
12 | ^^^^^^^^^^^^^^^
064997fb
FG
13
14warning: 1 warning emitted
15