Skip to content

tests: ui: compile-fail: pinned_drop: wrong_receiver: fix nightly output #146

tests: ui: compile-fail: pinned_drop: wrong_receiver: fix nightly output

tests: ui: compile-fail: pinned_drop: wrong_receiver: fix nightly output #146

Triggered via push July 7, 2024 08:19
Status Success
Total duration 3m 46s
Artifacts

test.yml

on: push
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
src/lib.rs#L925
warning: --> src/lib.rs:925:41 | 925 | (self.1)(unsafe { &mut *slot }).map_err(|e| { | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect help: try | 925 ~ (self.1)(unsafe { &mut *slot }).inspect_err(|e| { 926 | // SAFETY: `slot` was initialized above. 927 ~ unsafe { core::ptr::drop_in_place(slot) }; |
src/lib.rs#L827
warning: --> src/lib.rs:827:23 | 827 | (self.1)(val).map_err(|e| { | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect = note: `#[warn(clippy::manual_inspect)]` on by default help: try | 827 ~ (self.1)(val).inspect_err(|e| { 828 | // SAFETY: `slot` was initialized above. 829 ~ unsafe { core::ptr::drop_in_place(slot) }; |