Actions
Bug #6883
closedrust: clippy 1.77 warning
Affected Versions:
Effort:
Difficulty:
Label:
Description
Like https://github.com/OISF/suricata/actions/runs/8376793233/job/22937284484?pr=10689
Run cargo clippy --all-features --all-targets Compiling suricata-derive v8.0.0-dev (/__w/suricata/suricata/rust/derive) Checking suricata v8.0.0-dev (/__w/suricata/suricata/rust) error: field `0` is never read --> src/asn1/mod.rs:36:14 | 36 | BerError(Err<der_parser::error::BerError>), | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | note: the lint level is defined here --> src/lib.rs:23:38 | 23 | #![cfg_attr(feature = "strict", deny(warnings))] | ^^^^^^^^ = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 36 | BerError(()), | ~~
Updated by Philippe Antoine 7 months ago
- Status changed from New to In Review
Updated by Philippe Antoine 7 months ago
- Status changed from In Review to Resolved
Actions