]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/unused/must-use-box-from-raw.stderr
Rollup merge of #104024 - noeddl:unused-must-use, r=compiler-errors
[rust.git] / src / test / ui / lint / unused / must-use-box-from-raw.stderr
index 72118275774d14b4d82747c4cb03297c3e89d54c..47ab613bec21c1b5f0e64522a27a2f085ca0e2f2 100644 (file)
@@ -4,7 +4,7 @@ warning: unused return value of `Box::<T>::from_raw` that must be used
 LL |     Box::from_raw(ptr);
    |     ^^^^^^^^^^^^^^^^^^
    |
-   = note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
+   = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
 note: the lint level is defined here
   --> $DIR/must-use-box-from-raw.rs:5:9
    |