Actions
Bug #3072
closedRust nightly warning
Affected Versions:
Effort:
Difficulty:
Label:
Description
Using rustc 1.37.0-nightly (0beb2ba16 2019-07-02) for compiling suricata, I got two new warnings
warning: `...` range patterns are deprecated --> src/smb/dcerpc.rs:364:19 | 364 | 21...255 => { | ^^^ help: use `..=` for an inclusive range | = note: #[warn(ellipsis_inclusive_range_patterns)] on by default warning: `...` range patterns are deprecated --> src/smb/dcerpc.rs:482:11 | 482 | 21...255 => { | ^^^ help: use `..=` for an inclusive range warning: variable does not need to be mutable --> src/dhcp/parser.rs:202:17 | 202 | let mut malformed_options = false; | ----^^^^^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: #[warn(unused_mut)] on by default
Fix must work with the minimal rustc version (1.24) supported by Suricata
Actions