21 lines
477 B
Plaintext
21 lines
477 B
Plaintext
|
error: unused pinned `MustUsePtr` that must be used
|
||
|
--> $DIR/must_use-pin.rs:42:5
|
||
|
|
|
||
|
LL | pin_must_use_ptr();
|
||
|
| ^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/must_use-pin.rs:1:9
|
||
|
|
|
||
|
LL | #![deny(unused_must_use)]
|
||
|
| ^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: unused pinned boxed `MustUse` that must be used
|
||
|
--> $DIR/must_use-pin.rs:44:5
|
||
|
|
|
||
|
LL | pin_box_must_use();
|
||
|
| ^^^^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|