Rust bindings refactor #244
Annotations
7 errors and 6 warnings
typos
Process completed with exit code 2.
|
redundant closure:
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)]`
|
redundant closure:
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
|
redundant closure:
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
|
redundant closure:
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
|
cargo clippy
Error: Clippy has exited with exit code 101
|
cargo test
Process completed with exit code 101.
|
typos:
rust/src/hlil/lift.rs#L26
"seperate" should be "separate".
|
typos:
rust/src/hlil/instruction.rs#L979
"seperate" should be "separate".
|
typos:
rust/src/mlil/instruction.rs#L1456
"seperate" should be "separate".
|
cargo fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|