Rust bindings refactor #244
Annotations
5 errors and 1 warning
Clippy Check:
rust/rust/src/operand_iter.rs#L191
error: redundant closure
--> ./rust/rust/src/operand_iter.rs:191:18
|
191 | .map(|i| F::InstructionIndex::from(i))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `F::InstructionIndex::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
Clippy Check:
rust/rust/src/hlil/block.rs#L19
error: redundant closure
--> ./rust/rust/src/hlil/block.rs:19:18
|
19 | .map(|i| HighLevelInstructionIndex(i))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `HighLevelInstructionIndex`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
Clippy Check:
rust/rust/src/lowlevelil/block.rs#L45
error: redundant closure
--> ./rust/rust/src/lowlevelil/block.rs:45:18
|
45 | .map(|idx| LowLevelInstructionIndex(idx))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `LowLevelInstructionIndex`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
Clippy Check:
rust/rust/src/mlil/block.rs#L58
error: redundant closure
--> ./rust/rust/src/mlil/block.rs:58:18
|
58 | .map(|i| MediumLevelInstructionIndex(i))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `MediumLevelInstructionIndex`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
Clippy Check
Error: Clippy has exited with exit code 101
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading