Implement DataNotification for Rust #1103
Annotations
4 errors and 2 warnings
|
cargo fmt
Process completed with exit code 1.
|
|
cargo clippy
Error: Clippy has exited with exit code 101
|
|
missing fields `derivedStringFound` and `derivedStringRemoved` in initializer of `binaryninjacore_sys::BNBinaryDataNotification`:
rust/src/data_notification.rs#L92
error[E0063]: missing fields `derivedStringFound` and `derivedStringRemoved` in initializer of `binaryninjacore_sys::BNBinaryDataNotification`
--> rust/src/data_notification.rs:92:22
|
92 | let handle = BNBinaryDataNotification {
| ^^^^^^^^^^^^^^^^^^^^^^^^ missing `derivedStringFound` and `derivedStringRemoved`
...
174 | / trait_handler! {
175 | | notificationBarrier => notification_barrier(
176 | | view: *mut BNBinaryView: &BinaryView = &BinaryView::from_raw(view),
177 | | ) -> u64,
... |
407 | | ),
408 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `trait_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
type alias import `StringType` is private:
rust/src/data_notification.rs#L14
error[E0603]: type alias import `StringType` is private
--> rust/src/data_notification.rs:14:25
|
14 | use crate::disassembly::StringType;
| ^^^^^^^^^^ private type alias import
|
note: the type alias import `StringType` is defined here...
--> rust/src/disassembly.rs:36:5
|
36 | use crate::binary_view::StringType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...and refers to the type alias `StringType` which is defined here
--> rust/src/binary_view.rs:87:1
|
87 | pub type StringType = BNStringType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
help: import `StringType` directly
|
14 - use crate::disassembly::StringType;
14 + use binary_view::StringType;
|
|
|
cargo fmt:
rust/src/lib.rs#L39
Diff in /home/runner/work/binaryninja-api/binaryninja-api/rust/src/lib.rs
|
|
licensing
New version for cargo-about available: 0.8.4
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
license
|
26.5 KB |
sha256:7216791d9d53ff251ad5990e90ab666bd01ae6b856ef1628e482474581e6009b
|
|