Task #133187 - rust-imagequant-sys-4.1.0-2.fc44/scan-results.err

back to task #133187
download
Error: CLIPPY_WARNING:
src/ffi.rs:97:89: warning: unnecessary parentheses
#      |
#   97 |         let bork = if cfg!(miri) { false } else { unsafe { liq_received_invalid_pointer((obj as *const _ as *const u8)) } };
#      |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove them: `obj as *const _ as *const u8`
#  ...
#  104 |         if bad_object!(self, LIQ_ATTR_MAGIC) { return; }
#      |            --------------------------------- in this macro invocation
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#double_parens
#      = note: `#[warn(clippy::double_parens)]` on by default
#      = note: this warning originates in the macro `bad_object` (in Nightly builds, run with -Z macro-backtrace for more info)

Error: CLIPPY_WARNING:
src/ffi.rs:601:13: warning: very complex type used. Consider factoring parts into `type` definitions
#      |
#  601 |     let cb: Box<dyn Fn(&mut [MaybeUninit<RGBA>], usize) + Send + Sync> = Box::new(move |row, y| row_callback(row.as_mut_ptr(), y as...
#      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#type_complexity
#      = note: `#[warn(clippy::type_complexity)]` on by default