Task #92089 - rust-imagequant-sys-4.0.3-8.fc43/scan-results.err
back to task #92089download
Error: CLIPPY_WARNING:
src/ffi.rs:27:24: warning: `extern` declarations without an explicit ABI are deprecated
# |
# 27 | c_api_free: unsafe extern fn(*mut c_void),
# | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
# |
# = note: `#[warn(missing_abi)]` on by default
Error: CLIPPY_WARNING:
src/ffi.rs:34:24: warning: `extern` declarations without an explicit ABI are deprecated
# |
# 34 | c_api_free: unsafe extern fn(*mut c_void),
# | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
Error: CLIPPY_WARNING:
src/ffi.rs:99:89: warning: unnecessary parentheses
# |
# 99 | 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`
# ...
# 106 | 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.92.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:428:85: warning: `extern` declarations without an explicit ABI are deprecated
# |
# 428 | pub extern "C" fn liq_attr_create_with_allocator(_unused: *mut c_void, free: unsafe extern fn(*mut c_void)) -> Option<Box<liq_attr>> {
# | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
Error: CLIPPY_WARNING:
src/ffi.rs:573:13: warning: very complex type used. Consider factoring parts into `type` definitions
# |
# 573 | let cb: Box<dyn Fn(&mut [MaybeUninit<RGBA>], usize) + Send + Sync> = Box::new(move |row, y| row_callback(row.as_mut_ptr(), y as _, ro...
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#type_complexity
# = note: `#[warn(clippy::type_complexity)]` on by default