Skip to content

tests: ui: compile-fail: fix nightly output #539

tests: ui: compile-fail: fix nightly output

tests: ui: compile-fail: fix nightly output #539

Triggered via push July 25, 2024 08:42
Status Success
Total duration 1m 51s
Artifacts

scheduled.yml

on: push
ubuntu / nightly
1m 39s
ubuntu / nightly
ubuntu / nightly / updated
1m 40s
ubuntu / nightly / updated
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
using `map_err` over `inspect_err`: src/lib.rs#L927
warning: using `map_err` over `inspect_err` --> src/lib.rs:927:41 | 927 | (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 | 927 ~ (self.1)(unsafe { &mut *slot }).inspect_err(|e| { 928 | // SAFETY: `slot` was initialized above. 929 ~ unsafe { core::ptr::drop_in_place(slot) }; |
using `map_err` over `inspect_err`: src/lib.rs#L829
warning: using `map_err` over `inspect_err` --> src/lib.rs:829:23 | 829 | (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 | 829 ~ (self.1)(val).inspect_err(|e| { 830 | // SAFETY: `slot` was initialized above. 831 ~ unsafe { core::ptr::drop_in_place(slot) }; |