-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Rust] Unused variable False positive #20256
Copy link
Copy link
Open
Labels
Description
Description of the false positive
The argument is being used in the body of the function but flagged unused.
Code samples or links to source code
This is one specific example https://github.com/microsoft/windows-drivers-rs/blob/main/crates/cargo-wdk/src/providers/fs.rs#L29
URL to the alert on GitHub code scanning (optional)
https://github.com/microsoft/windows-drivers-rs/security/code-scanning/5
However, false positives for the arguments are generated for all the methods in this module and other sibling modules (exec, metadata and wdk_build).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.