[INFO] fetching crate lightningcss 1.0.0-alpha.71... [INFO] linting lightningcss-1.0.0-alpha.71 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate lightningcss 1.0.0-alpha.71 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate lightningcss 1.0.0-alpha.71 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lightningcss 1.0.0-alpha.71 [INFO] tweaked toml for crates.io crate lightningcss 1.0.0-alpha.71 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lightningcss 1.0.0-alpha.71 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lightningcss 1.0.0-alpha.71 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pastey v0.1.0 [INFO] [stderr] Downloaded serde-content v0.1.2 [INFO] [stderr] Downloaded static-self-derive v0.1.1 [INFO] [stderr] Downloaded static-self v0.1.2 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded assert_fs v1.1.2 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded schemars v0.8.21 [INFO] [stderr] Downloaded parcel_selectors v0.28.2 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded schemars_derive v0.8.21 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded browserslist-data v0.1.1 [INFO] [stderr] Downloaded bstr v1.11.1 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] [stderr] Downloaded browserslist-rs v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2cb4c0f3a64c044676986b460eaf69b3e8a5ef6676b916cb5a31095736e74ba [INFO] running `Command { std: "docker" "start" "-a" "b2cb4c0f3a64c044676986b460eaf69b3e8a5ef6676b916cb5a31095736e74ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2cb4c0f3a64c044676986b460eaf69b3e8a5ef6676b916cb5a31095736e74ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cb4c0f3a64c044676986b460eaf69b3e8a5ef6676b916cb5a31095736e74ba", kill_on_drop: false }` [INFO] [stdout] b2cb4c0f3a64c044676986b460eaf69b3e8a5ef6676b916cb5a31095736e74ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60dc0f826825e2962d17fec813905b149b41b20b881d638be47bcf2b7e4ae4ec [INFO] running `Command { std: "docker" "start" "-a" "60dc0f826825e2962d17fec813905b149b41b20b881d638be47bcf2b7e4ae4ec", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling parcel_selectors v0.28.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling pastey v0.1.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking vlq v0.5.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling const-str-proc-macro v0.3.2 [INFO] [stderr] Compiling lightningcss-derive v1.0.0-alpha.43 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking bstr v1.11.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking const-str v0.3.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.33.0 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking assert_fs v1.1.2 [INFO] [stderr] Checking cssparser-color v0.1.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking serde-content v0.1.2 [INFO] [stderr] Checking parcel_sourcemap v2.1.1 [INFO] [stderr] Checking lightningcss v1.0.0-alpha.71 (/opt/rustwide/workdir) [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/properties/background.rs:692:11 [INFO] [stdout] | [INFO] [stdout] 692 | clip: clip, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `clip` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/properties/grid.rs:621:32 [INFO] [stdout] | [INFO] [stdout] 621 | static HTML_SPACE_CHARACTERS: &'static [char] = &['\u{0020}', '\u{0009}', '\u{000a}', '\u{000c}', '\u{000d}']; [INFO] [stdout] | -^^^^^^^------- help: consider removing `'static`: `&[char]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:842:25 [INFO] [stdout] | [INFO] [stdout] 842 | let mut p = fallback [INFO] [stdout] | _________________________^ [INFO] [stdout] 843 | | .iter() [INFO] [stdout] 844 | | .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 845 | | - VendorPrefix::None [INFO] [stdout] 846 | | & prefix; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 842 ~ let mut p = (fallback [INFO] [stdout] 843 + .iter() [INFO] [stdout] 844 + .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 845 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | let p = masks [INFO] [stdout] | ___________________^ [INFO] [stdout] 854 | | .iter() [INFO] [stdout] 855 | | .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 856 | | - VendorPrefix::None [INFO] [stdout] 857 | | & prefix; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 853 ~ let p = (masks [INFO] [stdout] 854 + .iter() [INFO] [stdout] 855 + .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 856 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:898:25 [INFO] [stdout] | [INFO] [stdout] 898 | let mut p = fallback [INFO] [stdout] | _________________________^ [INFO] [stdout] 899 | | .iter() [INFO] [stdout] 900 | | .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 901 | | - VendorPrefix::None [INFO] [stdout] 902 | | & prefix; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 898 ~ let mut p = (fallback [INFO] [stdout] 899 + .iter() [INFO] [stdout] 900 + .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 901 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:909:19 [INFO] [stdout] | [INFO] [stdout] 909 | let p = images [INFO] [stdout] | ___________________^ [INFO] [stdout] 910 | | .iter() [INFO] [stdout] 911 | | .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 912 | | - VendorPrefix::None [INFO] [stdout] 913 | | & prefix; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 909 ~ let p = (images [INFO] [stdout] 910 + .iter() [INFO] [stdout] 911 + .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 912 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | let mut p = fallback.source.get_vendor_prefix() - VendorPrefix::None & prefix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(fallback.source.get_vendor_prefix() - VendorPrefix::None) & prefix` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:1056:17 [INFO] [stdout] | [INFO] [stdout] 1056 | let p = mask_border.source.get_vendor_prefix() - VendorPrefix::None & prefix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(mask_border.source.get_vendor_prefix() - VendorPrefix::None) & prefix` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/properties/background.rs:692:11 [INFO] [stdout] | [INFO] [stdout] 692 | clip: clip, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `clip` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/values/syntax.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | static SPACE_CHARACTERS: &'static [char] = &['\u{0020}', '\u{0009}']; [INFO] [stdout] | -^^^^^^^------- help: consider removing `'static`: `&[char]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/properties/grid.rs:621:32 [INFO] [stdout] | [INFO] [stdout] 621 | static HTML_SPACE_CHARACTERS: &'static [char] = &['\u{0020}', '\u{0009}', '\u{000a}', '\u{000c}', '\u{000d}']; [INFO] [stdout] | -^^^^^^^------- help: consider removing `'static`: `&[char]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:842:25 [INFO] [stdout] | [INFO] [stdout] 842 | let mut p = fallback [INFO] [stdout] | _________________________^ [INFO] [stdout] 843 | | .iter() [INFO] [stdout] 844 | | .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 845 | | - VendorPrefix::None [INFO] [stdout] 846 | | & prefix; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 842 ~ let mut p = (fallback [INFO] [stdout] 843 + .iter() [INFO] [stdout] 844 + .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 845 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | let p = masks [INFO] [stdout] | ___________________^ [INFO] [stdout] 854 | | .iter() [INFO] [stdout] 855 | | .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 856 | | - VendorPrefix::None [INFO] [stdout] 857 | | & prefix; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 853 ~ let p = (masks [INFO] [stdout] 854 + .iter() [INFO] [stdout] 855 + .fold(VendorPrefix::empty(), |p, mask| p | mask.image.get_vendor_prefix()) [INFO] [stdout] 856 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:898:25 [INFO] [stdout] | [INFO] [stdout] 898 | let mut p = fallback [INFO] [stdout] | _________________________^ [INFO] [stdout] 899 | | .iter() [INFO] [stdout] 900 | | .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 901 | | - VendorPrefix::None [INFO] [stdout] 902 | | & prefix; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 898 ~ let mut p = (fallback [INFO] [stdout] 899 + .iter() [INFO] [stdout] 900 + .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 901 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:909:19 [INFO] [stdout] | [INFO] [stdout] 909 | let p = images [INFO] [stdout] | ___________________^ [INFO] [stdout] 910 | | .iter() [INFO] [stdout] 911 | | .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 912 | | - VendorPrefix::None [INFO] [stdout] 913 | | & prefix; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] help: consider parenthesizing your expression [INFO] [stdout] | [INFO] [stdout] 909 ~ let p = (images [INFO] [stdout] 910 + .iter() [INFO] [stdout] 911 + .fold(VendorPrefix::empty(), |p, image| p | image.get_vendor_prefix()) [INFO] [stdout] 912 ~ - VendorPrefix::None) & prefix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:1038:25 [INFO] [stdout] | [INFO] [stdout] 1038 | let mut p = fallback.source.get_vendor_prefix() - VendorPrefix::None & prefix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(fallback.source.get_vendor_prefix() - VendorPrefix::None) & prefix` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/properties/masking.rs:1056:17 [INFO] [stdout] | [INFO] [stdout] 1056 | let p = mask_border.source.get_vendor_prefix() - VendorPrefix::None & prefix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(mask_border.source.get_vendor_prefix() - VendorPrefix::None) & prefix` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/values/syntax.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | static SPACE_CHARACTERS: &'static [char] = &['\u{0020}', '\u{0009}']; [INFO] [stdout] | -^^^^^^^------- help: consider removing `'static`: `&[char]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `FileProvider` [INFO] [stdout] --> src/bundler.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn new() -> FileProvider { [INFO] [stdout] 144 | | FileProvider { [INFO] [stdout] 145 | | inputs: Mutex::new(Vec::new()), [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 141 + impl Default for FileProvider { [INFO] [stdout] 142 + fn default() -> Self { [INFO] [stdout] 143 + Self::new() [INFO] [stdout] 144 + } [INFO] [stdout] 145 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:288:7 [INFO] [stdout] | [INFO] [stdout] 288 | &entry, [INFO] [stdout] | ^^^^^^ help: change this to: `entry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bundler.rs:373:53 [INFO] [stdout] | [INFO] [stdout] 373 | if (!rule.media.media_queries.is_empty() && !entry.supports.is_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `entry.supports.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bundler.rs:374:56 [INFO] [stdout] | [INFO] [stdout] 374 | || (!entry.media.media_queries.is_empty() && !rule.supports.is_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.supports.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/bundler.rs:421:16 [INFO] [stdout] | [INFO] [stdout] 421 | loc: rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:525:46 [INFO] [stdout] | [INFO] [stdout] 525 | let result = match self.fs.resolve(&specifier, file) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `specifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let result = match self.fs.resolve(&f, file) { [INFO] [stdout] | ^^ help: change this to: `f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/bundler.rs:733:89 [INFO] [stdout] | [INFO] [stdout] 733 | if resolved.parent_source_index == source_index && resolved.parent_dep_index == dep_index as u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `dep_index` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/css_modules.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let end_idx = input.find('[').unwrap_or_else(|| input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 127 - let end_idx = input.find('[').unwrap_or_else(|| input.len()); [INFO] [stdout] 127 + let end_idx = input.find('[').unwrap_or(input.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/css_modules.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | sources: &'c Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 282 - sources: &'c Vec, [INFO] [stdout] 282 + sources: &'c [String], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/css_modules.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | let project_root = project_root.map(|p| Path::new(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Path::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/css_modules.rs:288:50 [INFO] [stdout] | [INFO] [stdout] 288 | let sources: Vec<&Path> = sources.iter().map(|filename| Path::new(filename)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Path::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | &self.sources[*source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[*source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/css_modules.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | / match sel.iter_raw_match_order().next().unwrap() { [INFO] [stdout] 472 | | parcel_selectors::parser::Component::Class(ref id) => { [INFO] [stdout] 473 | | for name in &composes.names { [INFO] [stdout] 474 | | let reference = match &composes.from { [INFO] [stdout] ... | [INFO] [stdout] 525 | | _ => {} [INFO] [stdout] 526 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 471 ~ if let parcel_selectors::parser::Component::Class(ref id) = sel.iter_raw_match_order().next().unwrap() { [INFO] [stdout] 472 + for name in &composes.names { [INFO] [stdout] 473 + let reference = match &composes.from { [INFO] [stdout] 474 + None => CssModuleReference::Local { [INFO] [stdout] 475 + name: self [INFO] [stdout] 476 + .config [INFO] [stdout] 477 + .pattern [INFO] [stdout] 478 + .write_to_string( [INFO] [stdout] 479 + String::new(), [INFO] [stdout] 480 + &self.hashes[source_index as usize], [INFO] [stdout] 481 + &self.sources[source_index as usize], [INFO] [stdout] 482 + name.0.as_ref(), [INFO] [stdout] 483 + if let Some(content_hashes) = &self.content_hashes { [INFO] [stdout] 484 + &content_hashes[source_index as usize] [INFO] [stdout] 485 + } else { [INFO] [stdout] 486 + "" [INFO] [stdout] 487 + }, [INFO] [stdout] 488 + ) [INFO] [stdout] 489 + .unwrap(), [INFO] [stdout] 490 + }, [INFO] [stdout] 491 + Some(Specifier::SourceIndex(dep_source_index)) => { [INFO] [stdout] 492 + if let Some(entry) = [INFO] [stdout] 493 + self.exports_by_source_index[*dep_source_index as usize].get(&name.0.as_ref().to_owned()) [INFO] [stdout] 494 + { [INFO] [stdout] 495 + let name = entry.name.clone(); [INFO] [stdout] 496 + let composes = entry.composes.clone(); [INFO] [stdout] 497 + let export = self.exports_by_source_index[source_index as usize] [INFO] [stdout] 498 + .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] 499 + .unwrap(); [INFO] [stdout] 500 + [INFO] [stdout] 501 + export.composes.push(CssModuleReference::Local { name }); [INFO] [stdout] 502 + export.composes.extend(composes); [INFO] [stdout] 503 + } [INFO] [stdout] 504 + continue; [INFO] [stdout] 505 + } [INFO] [stdout] 506 + Some(Specifier::Global) => CssModuleReference::Global { [INFO] [stdout] 507 + name: name.0.as_ref().into(), [INFO] [stdout] 508 + }, [INFO] [stdout] 509 + Some(Specifier::File(file)) => CssModuleReference::Dependency { [INFO] [stdout] 510 + name: name.0.to_string(), [INFO] [stdout] 511 + specifier: file.to_string(), [INFO] [stdout] 512 + }, [INFO] [stdout] 513 + }; [INFO] [stdout] 514 + [INFO] [stdout] 515 + let export = self.exports_by_source_index[source_index as usize] [INFO] [stdout] 516 + .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] 517 + .unwrap(); [INFO] [stdout] 518 + if !export.composes.contains(&reference) { [INFO] [stdout] 519 + export.composes.push(reference); [INFO] [stdout] 520 + } [INFO] [stdout] 521 + } [INFO] [stdout] 522 + continue; [INFO] [stdout] 523 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:494:82 [INFO] [stdout] | [INFO] [stdout] 494 | self.exports_by_source_index[*dep_source_index as usize].get(&name.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `name.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] = note: `#[warn(clippy::unnecessary_to_owned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:499:32 [INFO] [stdout] | [INFO] [stdout] 499 | .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `id.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:517:26 [INFO] [stdout] | [INFO] [stdout] 517 | .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `id.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual check for common ascii range [INFO] [stdout] --> src/css_modules.rs:543:18 [INFO] [stdout] | [INFO] [stdout] 543 | if at_start && matches!(hash.as_bytes()[0], b'0'..=b'9') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check [INFO] [stdout] = note: `#[warn(clippy::manual_is_ascii_check)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 543 - if at_start && matches!(hash.as_bytes()[0], b'0'..=b'9') { [INFO] [stdout] 543 + if at_start && hash.as_bytes()[0].is_ascii_digit() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/declaration.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | while let Some(res) = parser.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for res in parser` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] = note: `#[warn(clippy::while_let_on_iterator)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/declaration.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | return self.declarations.is_empty() && self.important_declarations.is_empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 268 - return self.declarations.is_empty() && self.important_declarations.is_empty(); [INFO] [stdout] 268 + self.declarations.is_empty() && self.important_declarations.is_empty() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:331:73 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some((shorthand, important)) = property_id.shorthand_value(&self) { [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:340:46 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(val) = property.longhand(&property_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `property_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:419:87 [INFO] [stdout] | [INFO] [stdout] 419 | } else if longhands.is_empty() && id.longhands().unwrap_or(vec![]).contains(&property_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `property_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | &mut self.declarations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.declarations` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:479:7 [INFO] [stdout] | [INFO] [stdout] 479 | &mut self.important_declarations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.important_declarations` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:659:25 [INFO] [stdout] | [INFO] [stdout] 659 | unicode_bidi: self.unicode_bidi.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.unicode_bidi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:660:22 [INFO] [stdout] | [INFO] [stdout] 660 | direction: self.direction.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.direction` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `CSSWideKeyword` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | handler.decls.push(Property::All(keyword.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*keyword` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/logical.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Default for PropertyCategory { [INFO] [stdout] 8 | | fn default() -> PropertyCategory { [INFO] [stdout] 9 | | PropertyCategory::Physical [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Default)] [INFO] [stdout] 3 | pub enum PropertyCategory { [INFO] [stdout] 4 | Logical, [INFO] [stdout] 5 ~ #[default] [INFO] [stdout] 6 ~ Physical, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/media_query.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn and(&mut self, b: &MediaList<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | if self.media_queries.contains(&b) { [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | a.and(&b)?; [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | if !self.media_queries.contains(&mq) { [INFO] [stdout] | ^^^ help: change this to: `mq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/media_query.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | impl<'i> Into> for MediaType<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] help: replace the `Into` implementation with `From>` [INFO] [stdout] | [INFO] [stdout] 227 ~ impl<'i> From> for CowArcStr<'i> { [INFO] [stdout] 228 ~ fn from(val: MediaType<'i>) -> Self { [INFO] [stdout] 229 ~ match val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | self.qualifier == None && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.qualifier.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:355:68 [INFO] [stdout] | [INFO] [stdout] 355 | self.qualifier == None && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.condition.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:360:84 [INFO] [stdout] | [INFO] [stdout] 360 | self.qualifier == Some(Qualifier::Not) && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.condition.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> src/media_query.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn and<'a>(&mut self, b: &MediaQuery<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/media_query.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn and<'a>(&mut self, b: &MediaQuery<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/media_query.rs:392:48 [INFO] [stdout] | [INFO] [stdout] 392 | ((q, t), (&Some(Qualifier::Not), _)) => (q.clone(), t.clone()), [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*q` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/media_query.rs:788:14 [INFO] [stdout] | [INFO] [stdout] 788 | ref t => return Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 788 - ref t => return Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] 788 + ref t => Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/media_query.rs:833:15 [INFO] [stdout] | [INFO] [stdout] 833 | conditions: &Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 833 - conditions: &Vec, [INFO] [stdout] 833 + conditions: &[V], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1254:51 [INFO] [stdout] | [INFO] [stdout] 1254 | let is_webkit = starts_with_ignore_ascii_case(&name, "-webkit-"); [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1259:55 [INFO] [stdout] | [INFO] [stdout] 1259 | let comparator = if starts_with_ignore_ascii_case(&name, "min-") { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1262:45 [INFO] [stdout] | [INFO] [stdout] 1262 | } else if starts_with_ignore_ascii_case(&name, "max-") { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/media_query.rs:1781:7 [INFO] [stdout] | [INFO] [stdout] 1781 | / match &**cond { [INFO] [stdout] 1782 | | MediaCondition::Not(cond) => { [INFO] [stdout] 1783 | | *condition = (**cond).clone(); [INFO] [stdout] ... | [INFO] [stdout] 1786 | | } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1781 ~ if let MediaCondition::Not(cond) = &**cond { [INFO] [stdout] 1782 + *condition = (**cond).clone(); [INFO] [stdout] 1783 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:1827:52 [INFO] [stdout] | [INFO] [stdout] 1827 | if query.media_type != MediaType::All || query.qualifier != None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_some()` instead: `query.qualifier.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/media_query.rs:1837:28 [INFO] [stdout] | [INFO] [stdout] 1837 | *qualifier = query.qualifier.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `query.qualifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this block may be rewritten with the `?` operator [INFO] [stdout] --> src/media_query.rs:1869:7 [INFO] [stdout] | [INFO] [stdout] 1869 | / if res.is_err() { [INFO] [stdout] 1870 | | return res; [INFO] [stdout] 1871 | | } [INFO] [stdout] | |_______^ help: replace it with: `res.as_ref()?;` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> TopLevelRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | rules: &mut self.rules, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `self.rules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:287:69 [INFO] [stdout] | [INFO] [stdout] 287 | let name = input.parse_nested_block(LayerName::parse).map(|name| Some(name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `Some` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:300:45 [INFO] [stdout] | [INFO] [stdout] 300 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:447:14 [INFO] [stdout] | [INFO] [stdout] 447 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> NestedRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/parser.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | / if parse_declarations { [INFO] [stdout] 487 | | if !errors.is_empty() { [INFO] [stdout] 488 | | if self.options.error_recovery { [INFO] [stdout] 489 | | for err in errors { [INFO] [stdout] ... | [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 486 ~ if parse_declarations [INFO] [stdout] 487 ~ && !errors.is_empty() { [INFO] [stdout] 488 | if self.options.error_recovery { [INFO] [stdout] ... [INFO] [stdout] 494 | } [INFO] [stdout] 495 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/parser.rs:522:8 [INFO] [stdout] | [INFO] [stdout] 522 | if declarations.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!declarations.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> AtRuleParser<'i> for NestedRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:554:45 [INFO] [stdout] | [INFO] [stdout] 554 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/parser.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let names = match Vec::::parse(input) { [INFO] [stdout] | _____________________^ [INFO] [stdout] 574 | | Ok(names) => names, [INFO] [stdout] 575 | | Err(e) => return Err(e) [INFO] [stdout] 576 | | }; [INFO] [stdout] | |_________^ help: try instead: `Vec::::parse(input)?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:589:55 [INFO] [stdout] | [INFO] [stdout] 589 | let prefix = if starts_with_ignore_ascii_case(&*name, "-ms") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:597:55 [INFO] [stdout] | [INFO] [stdout] 597 | let prefix = if starts_with_ignore_ascii_case(&*name, "-webkit-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:599:49 [INFO] [stdout] | [INFO] [stdout] 599 | } else if starts_with_ignore_ascii_case(&*name, "-moz-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:601:49 [INFO] [stdout] | [INFO] [stdout] 601 | } else if starts_with_ignore_ascii_case(&*name, "-o-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:603:49 [INFO] [stdout] | [INFO] [stdout] 603 | } else if starts_with_ignore_ascii_case(&*name, "-ms-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:646:85 [INFO] [stdout] | [INFO] [stdout] 646 | match input.try_parse(|input| ContainerCondition::parse_with_options(input, &self.options)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:665:20 [INFO] [stdout] | [INFO] [stdout] 665 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:696:20 [INFO] [stdout] | [INFO] [stdout] 696 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/parser.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | while let Some(decl) = parser.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for decl in parser` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:929:47 [INFO] [stdout] | [INFO] [stdout] 929 | block: Some(TokenList::parse(input, &self.options, 0)?), [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> QualifiedRuleParser<'i> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:962:16 [INFO] [stdout] | [INFO] [stdout] 962 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:1049:14 [INFO] [stdout] | [INFO] [stdout] 1049 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> RuleBodyItemParser<'i, (), ParserError<'i>> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1086:40 [INFO] [stdout] | [INFO] [stdout] 1086 | let tokens = TokenList::parse(input, &options, 0)?; [INFO] [stdout] | ^^^^^^^^ help: change this to: `options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:1100:10 [INFO] [stdout] | [INFO] [stdout] 1100 | .map(|prelude| CssRule::Custom(prelude)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `CssRule::Custom` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:1119:10 [INFO] [stdout] | [INFO] [stdout] 1119 | .map(|prelude| CssRule::Custom(prelude)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `CssRule::Custom` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | if version >= 131072 && version <= 198144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=198144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | if version >= 196864 && version <= 262144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=262144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 231 | if version >= 131328 && version <= 196608 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=196608).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | if version >= 262144 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | if version >= 197888 && version <= 198144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=198144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | if version >= 197120 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | if version >= 196864 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | if version >= 262144 && version <= 2752512 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2752512).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | if version >= 327680 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | if version >= 983040 && version <= 1900544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1900544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | if version >= 262144 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | if version >= 262144 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | if version >= 262144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | if version >= 655360 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | if version >= 196864 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | if version >= 262144 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | if version >= 197888 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | if version >= 656640 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656640..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | if version >= 786432 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | if version >= 655360 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | if version >= 262144 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | if version >= 786432 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | if version >= 655360 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | if version >= 262144 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:450:14 [INFO] [stdout] | [INFO] [stdout] 450 | if version >= 262144 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | if version >= 198144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(198144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:460:14 [INFO] [stdout] | [INFO] [stdout] 460 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | if version >= 721152 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(721152..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | if version >= 262144 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:477:14 [INFO] [stdout] | [INFO] [stdout] 477 | if version >= 131328 && version <= 196608 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=196608).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:482:14 [INFO] [stdout] | [INFO] [stdout] 482 | if version >= 262144 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | if version >= 131072 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:492:14 [INFO] [stdout] | [INFO] [stdout] 492 | if version >= 197120 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | if version >= 196864 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | if version >= 1179648 && version <= 3407872 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1179648..=3407872).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:514:14 [INFO] [stdout] | [INFO] [stdout] 514 | if version >= 393216 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 519 | if version >= 983040 && version <= 2555904 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2555904).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | if version >= 393216 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | if version >= 262144 && version <= 393728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | if version >= 589824 && version <= 590592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=590592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | if version >= 1114112 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1114112..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:553:14 [INFO] [stdout] | [INFO] [stdout] 553 | if version >= 589824 && version <= 1115648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=1115648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | if version >= 589824 && version <= 1115648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=1115648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:581:14 [INFO] [stdout] | [INFO] [stdout] 581 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | if version >= 262144 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | if version >= 131072 && version <= 3342336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=3342336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:596:14 [INFO] [stdout] | [INFO] [stdout] 596 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | if version >= 983040 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:606:14 [INFO] [stdout] | [INFO] [stdout] 606 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:618:14 [INFO] [stdout] | [INFO] [stdout] 618 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | if version >= 262144 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:628:14 [INFO] [stdout] | [INFO] [stdout] 628 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 633 | if version >= 983040 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:650:14 [INFO] [stdout] | [INFO] [stdout] 650 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | if version >= 262144 && version <= 3473408 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3473408).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:660:14 [INFO] [stdout] | [INFO] [stdout] 660 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | if version >= 131072 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | if version >= 983040 && version <= 2621440 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2621440).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | if version >= 262144 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:710:14 [INFO] [stdout] | [INFO] [stdout] 710 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:715:14 [INFO] [stdout] | [INFO] [stdout] 715 | if version >= 262144 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 720 | if version >= 131072 && version <= 1376256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1376256).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:730:14 [INFO] [stdout] | [INFO] [stdout] 730 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | if version >= 983040 && version <= 1048576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1048576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:740:14 [INFO] [stdout] | [INFO] [stdout] 740 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:747:14 [INFO] [stdout] | [INFO] [stdout] 747 | if version >= 1245184 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1245184..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:752:14 [INFO] [stdout] | [INFO] [stdout] 752 | if version >= 262144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:769:14 [INFO] [stdout] | [INFO] [stdout] 769 | if version >= 131328 && version <= 131840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=131840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:786:14 [INFO] [stdout] | [INFO] [stdout] 786 | if version >= 262144 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:791:14 [INFO] [stdout] | [INFO] [stdout] 791 | if version >= 262144 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:796:14 [INFO] [stdout] | [INFO] [stdout] 796 | if version >= 786432 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:799:14 [INFO] [stdout] | [INFO] [stdout] 799 | if version >= 5177344 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:804:14 [INFO] [stdout] | [INFO] [stdout] 804 | if version >= 983040 && version <= 6881280 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6881280).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:809:14 [INFO] [stdout] | [INFO] [stdout] 809 | if version >= 197120 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:814:14 [INFO] [stdout] | [INFO] [stdout] 814 | if version >= 262144 && version <= 1572864 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1572864).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:819:14 [INFO] [stdout] | [INFO] [stdout] 819 | if version >= 262144 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:826:14 [INFO] [stdout] | [INFO] [stdout] 826 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:831:14 [INFO] [stdout] | [INFO] [stdout] 831 | if version >= 1048576 && version <= 3080192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1048576..=3080192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:836:14 [INFO] [stdout] | [INFO] [stdout] 836 | if version >= 262144 && version <= 2162688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2162688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | if version >= 983040 && version <= 2228224 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2228224).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:858:14 [INFO] [stdout] | [INFO] [stdout] 858 | if version >= 1900544 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1900544..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:863:14 [INFO] [stdout] | [INFO] [stdout] 863 | if version >= 524288 && version <= 721664 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=721664).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | if version >= 1048576 && version <= 1245184 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1048576..=1245184).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:873:14 [INFO] [stdout] | [INFO] [stdout] 873 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 880 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:885:14 [INFO] [stdout] | [INFO] [stdout] 885 | if version >= 262144 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:890:14 [INFO] [stdout] | [INFO] [stdout] 890 | if version >= 197888 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:895:14 [INFO] [stdout] | [INFO] [stdout] 895 | if version >= 197120 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:900:14 [INFO] [stdout] | [INFO] [stdout] 900 | if version >= 720896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(720896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:905:14 [INFO] [stdout] | [INFO] [stdout] 905 | if version >= 196864 && version <= 327936 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327936).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:912:14 [INFO] [stdout] | [INFO] [stdout] 912 | if version >= 131072 && version <= 3997696 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=3997696).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:919:14 [INFO] [stdout] | [INFO] [stdout] 919 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:924:14 [INFO] [stdout] | [INFO] [stdout] 924 | if version >= 262144 && version <= 3670016 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3670016).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:929:14 [INFO] [stdout] | [INFO] [stdout] 929 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | if version >= 1179648 && version <= 3276800 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1179648..=3276800).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | if version >= 262656 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262656..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | if version >= 983040 && version <= 2818048 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2818048).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:954:14 [INFO] [stdout] | [INFO] [stdout] 954 | if version >= 327680 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:959:14 [INFO] [stdout] | [INFO] [stdout] 959 | if version >= 262144 && version <= 393728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:966:14 [INFO] [stdout] | [INFO] [stdout] 966 | if version >= 262144 && version <= 3276800 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3276800).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:978:14 [INFO] [stdout] | [INFO] [stdout] 978 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:983:14 [INFO] [stdout] | [INFO] [stdout] 983 | if version >= 393216 && version <= 2752512 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=2752512).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:993:14 [INFO] [stdout] | [INFO] [stdout] 993 | if version >= 262656 && version <= 1050112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262656..=1050112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:998:14 [INFO] [stdout] | [INFO] [stdout] 998 | if version >= 327936 && version <= 1050112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=1050112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1005:14 [INFO] [stdout] | [INFO] [stdout] 1005 | if version >= 983040 && version <= 4587520 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4587520).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1010:14 [INFO] [stdout] | [INFO] [stdout] 1010 | if version >= 655360 && version <= 4128768 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=4128768).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1020:14 [INFO] [stdout] | [INFO] [stdout] 1020 | if version >= 983040 && version <= 4128768 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4128768).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1025:14 [INFO] [stdout] | [INFO] [stdout] 1025 | if version >= 327936 && version <= 1049344 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=1049344).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1030:14 [INFO] [stdout] | [INFO] [stdout] 1030 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1037:14 [INFO] [stdout] | [INFO] [stdout] 1037 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1042:14 [INFO] [stdout] | [INFO] [stdout] 1042 | if version >= 2097152 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(2097152..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1047:14 [INFO] [stdout] | [INFO] [stdout] 1047 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1055:14 [INFO] [stdout] | [INFO] [stdout] 1055 | if version >= 1245184 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1245184..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1062:14 [INFO] [stdout] | [INFO] [stdout] 1062 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1067:14 [INFO] [stdout] | [INFO] [stdout] 1067 | if version >= 262144 && version <= 5767168 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5767168).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1072:14 [INFO] [stdout] | [INFO] [stdout] 1072 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1075:14 [INFO] [stdout] | [INFO] [stdout] 1075 | if version >= 5177344 && version <= 5767168 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=5767168).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | if version >= 197120 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | if version >= 983040 && version <= 4849664 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4849664).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1095:14 [INFO] [stdout] | [INFO] [stdout] 1095 | if version >= 196864 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1100:14 [INFO] [stdout] | [INFO] [stdout] 1100 | if version >= 262144 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1112:14 [INFO] [stdout] | [INFO] [stdout] 1112 | if version >= 262144 && version <= 7143424 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7143424).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1117:14 [INFO] [stdout] | [INFO] [stdout] 1117 | if version >= 5177344 && version <= 7143424 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7143424).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | if version >= 197120 && version <= 918784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=918784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1127:14 [INFO] [stdout] | [INFO] [stdout] 1127 | if version >= 983040 && version <= 6225920 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6225920).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1132:14 [INFO] [stdout] | [INFO] [stdout] 1132 | if version >= 196864 && version <= 917760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=917760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1137:14 [INFO] [stdout] | [INFO] [stdout] 1137 | if version >= 262144 && version <= 1310720 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1310720).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1144:14 [INFO] [stdout] | [INFO] [stdout] 1144 | if version >= 262144 && version <= 5898240 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5898240).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1149 | if version >= 656896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1156:14 [INFO] [stdout] | [INFO] [stdout] 1156 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1161:14 [INFO] [stdout] | [INFO] [stdout] 1161 | if version >= 1441792 && version <= 2949120 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=2949120).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1166:14 [INFO] [stdout] | [INFO] [stdout] 1166 | if version >= 196608 && version <= 4259840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=4259840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1171:14 [INFO] [stdout] | [INFO] [stdout] 1171 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1176:14 [INFO] [stdout] | [INFO] [stdout] 1176 | if version >= 983040 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1181:14 [INFO] [stdout] | [INFO] [stdout] 1181 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1208:14 [INFO] [stdout] | [INFO] [stdout] 1208 | if version >= 196608 && version <= 4259840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=4259840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1213:14 [INFO] [stdout] | [INFO] [stdout] 1213 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1223:14 [INFO] [stdout] | [INFO] [stdout] 1223 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1235:14 [INFO] [stdout] | [INFO] [stdout] 1235 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1240:14 [INFO] [stdout] | [INFO] [stdout] 1240 | if version >= 1441792 && version <= 2949120 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=2949120).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1245:14 [INFO] [stdout] | [INFO] [stdout] 1245 | if version >= 196608 && version <= 6094848 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=6094848).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1250:14 [INFO] [stdout] | [INFO] [stdout] 1250 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1255:14 [INFO] [stdout] | [INFO] [stdout] 1255 | if version >= 983040 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1260:14 [INFO] [stdout] | [INFO] [stdout] 1260 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1277:14 [INFO] [stdout] | [INFO] [stdout] 1277 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1282:14 [INFO] [stdout] | [INFO] [stdout] 1282 | if version >= 1441792 && version <= 8978432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=8978432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1287:14 [INFO] [stdout] | [INFO] [stdout] 1287 | if version >= 5177344 && version <= 8978432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=8978432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1314:14 [INFO] [stdout] | [INFO] [stdout] 1314 | if version >= 262144 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1319:14 [INFO] [stdout] | [INFO] [stdout] 1319 | if version >= 131072 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1324:14 [INFO] [stdout] | [INFO] [stdout] 1324 | if version >= 983040 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1329:14 [INFO] [stdout] | [INFO] [stdout] 1329 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1336:14 [INFO] [stdout] | [INFO] [stdout] 1336 | if version >= 262144 && version <= 4390912 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4390912).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1341:14 [INFO] [stdout] | [INFO] [stdout] 1341 | if version >= 131072 && version <= 1703936 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1703936).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1346:14 [INFO] [stdout] | [INFO] [stdout] 1346 | if version >= 983040 && version <= 3538944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3538944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1351:14 [INFO] [stdout] | [INFO] [stdout] 1351 | if version >= 196864 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1358:14 [INFO] [stdout] | [INFO] [stdout] 1358 | if version >= 393216 && version <= 786944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=786944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1363:14 [INFO] [stdout] | [INFO] [stdout] 1363 | if version >= 393472 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1382:14 [INFO] [stdout] | [INFO] [stdout] 1382 | if version >= 459008 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(459008..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1389:14 [INFO] [stdout] | [INFO] [stdout] 1389 | if version >= 524288 && version <= 1704192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=1704192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1394:14 [INFO] [stdout] | [INFO] [stdout] 1394 | if version >= 524288 && version <= 1704192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=1704192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1401:14 [INFO] [stdout] | [INFO] [stdout] 1401 | if version >= 393216 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1406:14 [INFO] [stdout] | [INFO] [stdout] 1406 | if version >= 524288 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1411:14 [INFO] [stdout] | [INFO] [stdout] 1411 | if version >= 524288 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1421:14 [INFO] [stdout] | [INFO] [stdout] 1421 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1451:14 [INFO] [stdout] | [INFO] [stdout] 1451 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1456:14 [INFO] [stdout] | [INFO] [stdout] 1456 | if version >= 262144 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1461:14 [INFO] [stdout] | [INFO] [stdout] 1461 | if version >= 5177344 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1466:14 [INFO] [stdout] | [INFO] [stdout] 1466 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1471:14 [INFO] [stdout] | [INFO] [stdout] 1471 | if version >= 983040 && version <= 6881280 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6881280).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1476:14 [INFO] [stdout] | [INFO] [stdout] 1476 | if version >= 262144 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1481:14 [INFO] [stdout] | [INFO] [stdout] 1481 | if version >= 262144 && version <= 1572864 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1572864).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1488:14 [INFO] [stdout] | [INFO] [stdout] 1488 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1493:14 [INFO] [stdout] | [INFO] [stdout] 1493 | if version >= 1572864 && version <= 3538944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1572864..=3538944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1498:14 [INFO] [stdout] | [INFO] [stdout] 1498 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1503:14 [INFO] [stdout] | [INFO] [stdout] 1503 | if version >= 983040 && version <= 2686976 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2686976).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1508:14 [INFO] [stdout] | [INFO] [stdout] 1508 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1513:14 [INFO] [stdout] | [INFO] [stdout] 1513 | if version >= 262144 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1520:14 [INFO] [stdout] | [INFO] [stdout] 1520 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1525:14 [INFO] [stdout] | [INFO] [stdout] 1525 | if version >= 1441792 && version <= 8454144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=8454144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1530:14 [INFO] [stdout] | [INFO] [stdout] 1530 | if version >= 5177344 && version <= 8454144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=8454144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1557:14 [INFO] [stdout] | [INFO] [stdout] 1557 | if version >= 656896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1564:14 [INFO] [stdout] | [INFO] [stdout] 1564 | if version >= 524288 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1569:14 [INFO] [stdout] | [INFO] [stdout] 1569 | if version >= 459008 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(459008..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1576:14 [INFO] [stdout] | [INFO] [stdout] 1576 | if version >= 589824 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1583:14 [INFO] [stdout] | [INFO] [stdout] 1583 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1593:14 [INFO] [stdout] | [INFO] [stdout] 1593 | if version >= 720896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(720896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1600:14 [INFO] [stdout] | [INFO] [stdout] 1600 | if version >= 131840 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131840..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1605:14 [INFO] [stdout] | [INFO] [stdout] 1605 | if version >= 262144 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1610:14 [INFO] [stdout] | [INFO] [stdout] 1610 | if version >= 197888 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1615:14 [INFO] [stdout] | [INFO] [stdout] 1615 | if version >= 262144 && version <= 984576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=984576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1620:14 [INFO] [stdout] | [INFO] [stdout] 1620 | if version >= 591104 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(591104..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1625:14 [INFO] [stdout] | [INFO] [stdout] 1625 | if version >= 262144 && version <= 984576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=984576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1632:14 [INFO] [stdout] | [INFO] [stdout] 1632 | if version >= 786432 && version <= 3145728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=3145728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1639:14 [INFO] [stdout] | [INFO] [stdout] 1639 | if version >= 198144 && version <= 4194304 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(198144..=4194304).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1644:14 [INFO] [stdout] | [INFO] [stdout] 1644 | if version >= 327680 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1649:14 [INFO] [stdout] | [INFO] [stdout] 1649 | if version >= 722432 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(722432..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1673:14 [INFO] [stdout] | [INFO] [stdout] 1673 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1678:14 [INFO] [stdout] | [INFO] [stdout] 1678 | if version >= 262144 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1683:14 [INFO] [stdout] | [INFO] [stdout] 1683 | if version >= 196608 && version <= 2621440 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=2621440).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1688:14 [INFO] [stdout] | [INFO] [stdout] 1688 | if version >= 197120 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1693:14 [INFO] [stdout] | [INFO] [stdout] 1693 | if version >= 983040 && version <= 3604480 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3604480).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1698:14 [INFO] [stdout] | [INFO] [stdout] 1698 | if version >= 196864 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1703:14 [INFO] [stdout] | [INFO] [stdout] 1703 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1715:14 [INFO] [stdout] | [INFO] [stdout] 1715 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1720:14 [INFO] [stdout] | [INFO] [stdout] 1720 | if version >= 262144 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1725:14 [INFO] [stdout] | [INFO] [stdout] 1725 | if version >= 197120 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1730:14 [INFO] [stdout] | [INFO] [stdout] 1730 | if version >= 983040 && version <= 3604480 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3604480).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1735:14 [INFO] [stdout] | [INFO] [stdout] 1735 | if version >= 196864 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1740:14 [INFO] [stdout] | [INFO] [stdout] 1740 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1747:14 [INFO] [stdout] | [INFO] [stdout] 1747 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1752:14 [INFO] [stdout] | [INFO] [stdout] 1752 | if version >= 262144 && version <= 5439488 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5439488).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1757:14 [INFO] [stdout] | [INFO] [stdout] 1757 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1760:14 [INFO] [stdout] | [INFO] [stdout] 1760 | if version >= 5177344 && version <= 5439488 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=5439488).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1765:14 [INFO] [stdout] | [INFO] [stdout] 1765 | if version >= 131072 && version <= 5177344 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=5177344).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1773:14 [INFO] [stdout] | [INFO] [stdout] 1773 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1778:14 [INFO] [stdout] | [INFO] [stdout] 1778 | if version >= 983040 && version <= 4718592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4718592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1783:14 [INFO] [stdout] | [INFO] [stdout] 1783 | if version >= 196864 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1788:14 [INFO] [stdout] | [INFO] [stdout] 1788 | if version >= 262144 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1799:14 [INFO] [stdout] | [INFO] [stdout] 1799 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1809:14 [INFO] [stdout] | [INFO] [stdout] 1809 | if version >= 589824 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1814:14 [INFO] [stdout] | [INFO] [stdout] 1814 | if version >= 589824 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1821:14 [INFO] [stdout] | [INFO] [stdout] 1821 | if version >= 983040 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1826:14 [INFO] [stdout] | [INFO] [stdout] 1826 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1836:14 [INFO] [stdout] | [INFO] [stdout] 1836 | if version >= 458752 && version <= 720896 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=720896).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1841:14 [INFO] [stdout] | [INFO] [stdout] 1841 | if version >= 393472 && version <= 720896 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=720896).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1848:14 [INFO] [stdout] | [INFO] [stdout] 1848 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1853:14 [INFO] [stdout] | [INFO] [stdout] 1853 | if version >= 1376256 && version <= 7340032 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1376256..=7340032).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1858:14 [INFO] [stdout] | [INFO] [stdout] 1858 | if version >= 5177344 && version <= 7340032 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7340032).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1863:14 [INFO] [stdout] | [INFO] [stdout] 1863 | if version >= 393216 && version <= 590592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=590592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1868:14 [INFO] [stdout] | [INFO] [stdout] 1868 | if version >= 983040 && version <= 6422528 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6422528).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1873:14 [INFO] [stdout] | [INFO] [stdout] 1873 | if version >= 393216 && version <= 590080 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=590080).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1878:14 [INFO] [stdout] | [INFO] [stdout] 1878 | if version >= 262144 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1885:14 [INFO] [stdout] | [INFO] [stdout] 1885 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1890:14 [INFO] [stdout] | [INFO] [stdout] 1890 | if version >= 524288 && version <= 3080192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=3080192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1900:14 [INFO] [stdout] | [INFO] [stdout] 1900 | if version >= 327680 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1905:14 [INFO] [stdout] | [INFO] [stdout] 1905 | if version >= 983040 && version <= 2228224 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2228224).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1910:14 [INFO] [stdout] | [INFO] [stdout] 1910 | if version >= 327936 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1937:14 [INFO] [stdout] | [INFO] [stdout] 1937 | if version >= 327680 && version <= 590592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=590592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1947:14 [INFO] [stdout] | [INFO] [stdout] 1947 | if version >= 327936 && version <= 590080 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=590080).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1959:14 [INFO] [stdout] | [INFO] [stdout] 1959 | if version >= 196608 && version <= 5046272 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=5046272).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1969:14 [INFO] [stdout] | [INFO] [stdout] 1969 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1974:14 [INFO] [stdout] | [INFO] [stdout] 1974 | if version >= 1638400 && version <= 6422528 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1638400..=6422528).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1979:14 [INFO] [stdout] | [INFO] [stdout] 1979 | if version >= 5177344 && version <= 6422528 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=6422528).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1984:14 [INFO] [stdout] | [INFO] [stdout] 1984 | if version >= 983040 && version <= 5570560 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=5570560).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1989:14 [INFO] [stdout] | [INFO] [stdout] 1989 | if version >= 393472 && version <= 458752 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=458752).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1994:14 [INFO] [stdout] | [INFO] [stdout] 1994 | if version >= 262144 && version <= 1114112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1114112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2016:14 [INFO] [stdout] | [INFO] [stdout] 2016 | if version >= 786432 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2028:14 [INFO] [stdout] | [INFO] [stdout] 2028 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2040:14 [INFO] [stdout] | [INFO] [stdout] 2040 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2045:14 [INFO] [stdout] | [INFO] [stdout] 2045 | if version >= 983040 && version <= 4194304 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4194304).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2050:14 [INFO] [stdout] | [INFO] [stdout] 2050 | if version >= 196608 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2055:14 [INFO] [stdout] | [INFO] [stdout] 2055 | if version >= 393216 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2060:14 [INFO] [stdout] | [INFO] [stdout] 2060 | if version >= 983040 && version <= 3342336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3342336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2065:14 [INFO] [stdout] | [INFO] [stdout] 2065 | if version >= 393472 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2070:14 [INFO] [stdout] | [INFO] [stdout] 2070 | if version >= 327680 && version <= 524800 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=524800).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2077:14 [INFO] [stdout] | [INFO] [stdout] 2077 | if version >= 1048576 && version <= 3080192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1048576..=3080192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2082:14 [INFO] [stdout] | [INFO] [stdout] 2082 | if version >= 655360 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2087:14 [INFO] [stdout] | [INFO] [stdout] 2087 | if version >= 393216 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2092:14 [INFO] [stdout] | [INFO] [stdout] 2092 | if version >= 983040 && version <= 2228224 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2228224).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2097:14 [INFO] [stdout] | [INFO] [stdout] 2097 | if version >= 393216 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2104:14 [INFO] [stdout] | [INFO] [stdout] 2104 | if version >= 655360 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2109:14 [INFO] [stdout] | [INFO] [stdout] 2109 | if version >= 393216 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2114:14 [INFO] [stdout] | [INFO] [stdout] 2114 | if version >= 393216 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2121:14 [INFO] [stdout] | [INFO] [stdout] 2121 | if version >= 1114112 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1114112..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2126:14 [INFO] [stdout] | [INFO] [stdout] 2126 | if version >= 458752 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2131:14 [INFO] [stdout] | [INFO] [stdout] 2131 | if version >= 458752 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2138:14 [INFO] [stdout] | [INFO] [stdout] 2138 | if version >= 786432 && version <= 1114112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1114112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2150:14 [INFO] [stdout] | [INFO] [stdout] 2150 | if version >= 655616 && version <= 852224 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655616..=852224).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2157:14 [INFO] [stdout] | [INFO] [stdout] 2157 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2162:14 [INFO] [stdout] | [INFO] [stdout] 2162 | if version >= 1114112 && version <= 8847360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1114112..=8847360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2167:14 [INFO] [stdout] | [INFO] [stdout] 2167 | if version >= 5177344 && version <= 8847360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=8847360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2172:14 [INFO] [stdout] | [INFO] [stdout] 2172 | if version >= 3145728 && version <= 6291456 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(3145728..=6291456).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2177:14 [INFO] [stdout] | [INFO] [stdout] 2177 | if version >= 393216 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2187:14 [INFO] [stdout] | [INFO] [stdout] 2187 | if version >= 393216 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2192:14 [INFO] [stdout] | [INFO] [stdout] 2192 | if version >= 262144 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2199:14 [INFO] [stdout] | [INFO] [stdout] 2199 | if version >= 786432 && version <= 5701632 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=5701632).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2204:14 [INFO] [stdout] | [INFO] [stdout] 2204 | if version >= 5177344 && version <= 5701632 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=5701632).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2209:14 [INFO] [stdout] | [INFO] [stdout] 2209 | if version >= 262144 && version <= 5111808 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5111808).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2214:14 [INFO] [stdout] | [INFO] [stdout] 2214 | if version >= 917504 && version <= 4784128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(917504..=4784128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2219:14 [INFO] [stdout] | [INFO] [stdout] 2219 | if version >= 327680 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2224:14 [INFO] [stdout] | [INFO] [stdout] 2224 | if version >= 327680 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2229:14 [INFO] [stdout] | [INFO] [stdout] 2229 | if version >= 65536 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(65536..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2234:14 [INFO] [stdout] | [INFO] [stdout] 2234 | if version >= 263168 && version <= 5701632 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=5701632).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2246:8 [INFO] [stdout] | [INFO] [stdout] 2246 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2251:8 [INFO] [stdout] | [INFO] [stdout] 2251 | if version >= 262144 && version <= 1310720 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1310720).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2256:8 [INFO] [stdout] | [INFO] [stdout] 2256 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2261:8 [INFO] [stdout] | [INFO] [stdout] 2261 | if version >= 196864 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2270:8 [INFO] [stdout] | [INFO] [stdout] 2270 | if version >= 131328 && version <= 196608 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=196608).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2275:8 [INFO] [stdout] | [INFO] [stdout] 2275 | if version >= 262144 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2280:8 [INFO] [stdout] | [INFO] [stdout] 2280 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:2285:8 [INFO] [stdout] | [INFO] [stdout] 2285 | if version >= 262144 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/printer.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | &css_module.sources[self.loc.source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `css_module.sources[self.loc.source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/printer.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | css_module.add_local(&ident, &ident, self.loc.source_index); [INFO] [stdout] | ^^^^^^ help: change this to: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/printer.rs:315:38 [INFO] [stdout] | [INFO] [stdout] 315 | css_module.add_local(&ident, &ident, self.loc.source_index); [INFO] [stdout] | ^^^^^^ help: change this to: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/printer.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 332 | &css_module.sources[self.loc.source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `css_module.sources[self.loc.source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute used without annotations [INFO] [stdout] --> src/printer.rs:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | selectors: unsafe { std::mem::transmute(selectors) }, [INFO] [stdout] | ^^^^^^^^^ help: consider adding missing annotations: `transmute::<&parcel_selectors::SelectorList<'_, selector::private::Selectors>, &parcel_selectors::SelectorList<'_, selector::private::Selectors>>` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations [INFO] [stdout] = note: `#[warn(clippy::missing_transmute_annotations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmute used without annotations [INFO] [stdout] --> src/printer.rs:382:44 [INFO] [stdout] | [INFO] [stdout] 382 | self.context = Some(unsafe { std::mem::transmute(&ctx) }); [INFO] [stdout] | ^^^^^^^^^ help: consider adding missing annotations: `transmute::<&rules::StyleContext<'_, '_>, &rules::StyleContext<'_, '_>>` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option<&StyleContext<'_, '_>>` which implements the `Copy` trait [INFO] [stdout] --> src/printer.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | self.context.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.context` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 43 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 43 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 43 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 197 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 197 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 197 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `ContentDistribution` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:268:91 [INFO] [stdout] | [INFO] [stdout] 268 | AlignContent::ContentDistribution(value) => JustifyContent::ContentDistribution(value.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:270:23 [INFO] [stdout] | [INFO] [stdout] 270 | overflow: overflow.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `overflow` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `ContentPosition` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | value: value.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try removing the `clone` call: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:420:32 [INFO] [stdout] | [INFO] [stdout] 420 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 420 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 420 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 420 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:491:23 [INFO] [stdout] | [INFO] [stdout] 491 | overflow: overflow.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try dereferencing it: `*overflow` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `SelfPosition` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:492:20 [INFO] [stdout] | [INFO] [stdout] 492 | value: value.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try dereferencing it: `*value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:579:32 [INFO] [stdout] | [INFO] [stdout] 579 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 579 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 579 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 579 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:583:36 [INFO] [stdout] | [INFO] [stdout] 583 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 583 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 583 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 583 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/align.rs:690:32 [INFO] [stdout] | [INFO] [stdout] 690 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 690 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 690 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 690 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:760:23 [INFO] [stdout] | [INFO] [stdout] 760 | overflow: overflow.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try dereferencing it: `*overflow` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `SelfPosition` which implements the `Copy` trait [INFO] [stdout] --> src/properties/align.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | value: value.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: try dereferencing it: `*value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `row_gap` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/align.rs:1169:14 [INFO] [stdout] | [INFO] [stdout] 1167 | if row_gap.is_some() && column_gap.is_some() { [INFO] [stdout] | ----------------- the check is happening here [INFO] [stdout] 1168 | dest.push(Property::Gap(Gap { [INFO] [stdout] 1169 | row: row_gap.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `column_gap` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/align.rs:1170:17 [INFO] [stdout] | [INFO] [stdout] 1167 | if row_gap.is_some() && column_gap.is_some() { [INFO] [stdout] | -------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 1170 | column: column_gap.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/align.rs:1186:3 [INFO] [stdout] | [INFO] [stdout] 1186 | / match property_id { [INFO] [stdout] 1187 | | PropertyId::AlignContent(_) [INFO] [stdout] 1188 | | | PropertyId::FlexLinePack(_) [INFO] [stdout] 1189 | | | PropertyId::JustifyContent(_) [INFO] [stdout] ... | [INFO] [stdout] 1205 | | _ => false, [INFO] [stdout] 1206 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1186 ~ matches!(property_id, PropertyId::AlignContent(_) [INFO] [stdout] 1187 + | PropertyId::FlexLinePack(_) [INFO] [stdout] 1188 + | PropertyId::JustifyContent(_) [INFO] [stdout] 1189 + | PropertyId::BoxPack(_) [INFO] [stdout] 1190 + | PropertyId::FlexPack(_) [INFO] [stdout] 1191 + | PropertyId::PlaceContent [INFO] [stdout] 1192 + | PropertyId::AlignSelf(_) [INFO] [stdout] 1193 + | PropertyId::FlexItemAlign(_) [INFO] [stdout] 1194 + | PropertyId::JustifySelf [INFO] [stdout] 1195 + | PropertyId::PlaceSelf [INFO] [stdout] 1196 + | PropertyId::AlignItems(_) [INFO] [stdout] 1197 + | PropertyId::BoxAlign(_) [INFO] [stdout] 1198 + | PropertyId::FlexAlign(_) [INFO] [stdout] 1199 + | PropertyId::JustifyItems [INFO] [stdout] 1200 + | PropertyId::PlaceItems [INFO] [stdout] 1201 + | PropertyId::RowGap [INFO] [stdout] 1202 + | PropertyId::ColumnGap [INFO] [stdout] 1203 + | PropertyId::Gap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/properties/animation.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | dest.css_module.as_ref().map_or(false, |css_module| css_module.config.animation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 54 - dest.css_module.as_ref().map_or(false, |css_module| css_module.config.animation); [INFO] [stdout] 54 + dest.css_module.as_ref().is_some_and(|css_module| css_module.config.animation); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | css_module.reference(&s, dest.loc.source_index) [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/animation.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | match_ignore_ascii_case! { &*s, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 74 - match_ignore_ascii_case! { &*s, [INFO] [stdout] 74 + match_ignore_ascii_case! { s, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 74 | match_ignore_ascii_case! { &**s, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | serialize_string(&s, dest)?; [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / impl Default for AnimationDirection { [INFO] [stdout] 129 | | fn default() -> Self { [INFO] [stdout] 130 | | AnimationDirection::Normal [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | / impl Default for AnimationPlayState { [INFO] [stdout] 145 | | fn default() -> Self { [INFO] [stdout] 146 | | AnimationPlayState::Running [INFO] [stdout] 147 | | } [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / impl Default for AnimationFillMode { [INFO] [stdout] 165 | | fn default() -> Self { [INFO] [stdout] 166 | | AnimationFillMode::None [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / impl<'i> Default for AnimationTimeline<'i> { [INFO] [stdout] 207 | | fn default() -> Self { [INFO] [stdout] 208 | | AnimationTimeline::Auto [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 192 + #[derive(Default)] [INFO] [stdout] 193 | pub enum AnimationTimeline<'i> { [INFO] [stdout] 194 | /// The animation’s timeline is a DocumentTimeline, more specifically the default document timeline. [INFO] [stdout] 195 ~ #[default] [INFO] [stdout] 196 ~ Auto, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / impl Default for Scroller { [INFO] [stdout] 290 | | fn default() -> Self { [INFO] [stdout] 291 | | Scroller::Nearest [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | / impl Default for ScrollAxis { [INFO] [stdout] 310 | | fn default() -> Self { [INFO] [stdout] 311 | | ScrollAxis::Block [INFO] [stdout] 312 | | } [INFO] [stdout] 313 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/animation.rs:468:1 [INFO] [stdout] | [INFO] [stdout] 468 | / impl Default for AnimationAttachmentRange { [INFO] [stdout] 469 | | fn default() -> Self { [INFO] [stdout] 470 | | AnimationAttachmentRange::Normal [INFO] [stdout] 471 | | } [INFO] [stdout] 472 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 416 + #[derive(Default)] [INFO] [stdout] 417 | pub enum AnimationAttachmentRange { [INFO] [stdout] 418 | /// The start of the animation’s attachment range is the start of its associated timeline. [INFO] [stdout] 419 ~ #[default] [INFO] [stdout] 420 ~ Normal, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:672:72 [INFO] [stdout] | [INFO] [stdout] 672 | if !self.timing_function.is_ease() || EasingFunction::is_ident(&name) { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:687:96 [INFO] [stdout] | [INFO] [stdout] 687 | if self.direction != AnimationDirection::default() || AnimationDirection::parse_string(&name).is_ok() { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:693:85 [INFO] [stdout] | [INFO] [stdout] 693 | || (!name.eq_ignore_ascii_case("none") && AnimationFillMode::parse_string(&name).is_ok()) [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:699:97 [INFO] [stdout] | [INFO] [stdout] 699 | if self.play_state != AnimationPlayState::default() || AnimationPlayState::parse_string(&name).is_ok() { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `AnimationDirection` which implements the `Copy` trait [INFO] [stdout] --> src/properties/animation.rs:811:45 [INFO] [stdout] | [INFO] [stdout] 811 | let directions = val.iter().map(|b| b.direction.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.direction` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `AnimationPlayState` which implements the `Copy` trait [INFO] [stdout] --> src/properties/animation.rs:814:46 [INFO] [stdout] | [INFO] [stdout] 814 | let play_states = val.iter().map(|b| b.play_state.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.play_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `AnimationFillMode` which implements the `Copy` trait [INFO] [stdout] --> src/properties/animation.rs:820:45 [INFO] [stdout] | [INFO] [stdout] 820 | let fill_modes = val.iter().map(|b| b.fill_mode.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.fill_mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/properties/animation.rs:849:17 [INFO] [stdout] | [INFO] [stdout] 849 | / if AnimationDirection::parse_string(&id).is_err() [INFO] [stdout] 850 | | && AnimationPlayState::parse_string(&id).is_err() [INFO] [stdout] 851 | | && AnimationFillMode::parse_string(&id).is_err() [INFO] [stdout] 852 | | && !EasingFunction::is_ident(&id) [INFO] [stdout] ... | [INFO] [stdout] 856 | | *token = TokenOrValue::AnimationName(AnimationName::Ident(CustomIdent(id.clone()))); [INFO] [stdout] 857 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 848 ~ TokenOrValue::Token(Token::Ident(id)) [INFO] [stdout] 849 | if AnimationDirection::parse_string(&id).is_err() [INFO] [stdout] ... [INFO] [stdout] 854 | && id.as_ref() != "auto" [INFO] [stdout] 855 ~ => { [INFO] [stdout] 856 | *token = TokenOrValue::AnimationName(AnimationName::Ident(CustomIdent(id.clone()))); [INFO] [stdout] 857 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:849:53 [INFO] [stdout] | [INFO] [stdout] 849 | if AnimationDirection::parse_string(&id).is_err() [INFO] [stdout] | ^^^ help: change this to: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:850:55 [INFO] [stdout] | [INFO] [stdout] 850 | && AnimationPlayState::parse_string(&id).is_err() [INFO] [stdout] | ^^^ help: change this to: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:851:54 [INFO] [stdout] | [INFO] [stdout] 851 | && AnimationFillMode::parse_string(&id).is_err() [INFO] [stdout] | ^^^ help: change this to: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/animation.rs:852:48 [INFO] [stdout] | [INFO] [stdout] 852 | && !EasingFunction::is_ident(&id) [INFO] [stdout] | ^^^ help: change this to: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `repeat().take()` can be written more concisely [INFO] [stdout] --> src/properties/animation.rs:939:20 [INFO] [stdout] | [INFO] [stdout] 939 | Cow::Owned(std::iter::repeat(AnimationTimeline::Auto).take(len).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `repeat_n()` instead: `std::iter::repeat_n(AnimationTimeline::Auto, len)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_repeat_n [INFO] [stdout] = note: `#[warn(clippy::manual_repeat_n)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/properties/animation.rs:1054:20 [INFO] [stdout] | [INFO] [stdout] 1054 | .zip(range_ends.into_iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/91021ccc790478a1a89c003e7d32b8d155ae6aae/library/core/src/iter/traits/iterator.rs:629:11 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 1054 - .zip(range_ends.into_iter()) [INFO] [stdout] 1054 + .zip(range_ends) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/animation.rs:1078:3 [INFO] [stdout] | [INFO] [stdout] 1078 | / match property_id { [INFO] [stdout] 1079 | | PropertyId::AnimationName(_) [INFO] [stdout] 1080 | | | PropertyId::AnimationDuration(_) [INFO] [stdout] 1081 | | | PropertyId::AnimationTimingFunction(_) [INFO] [stdout] ... | [INFO] [stdout] 1093 | | _ => false, [INFO] [stdout] 1094 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1078 ~ matches!(property_id, PropertyId::AnimationName(_) [INFO] [stdout] 1079 + | PropertyId::AnimationDuration(_) [INFO] [stdout] 1080 + | PropertyId::AnimationTimingFunction(_) [INFO] [stdout] 1081 + | PropertyId::AnimationIterationCount(_) [INFO] [stdout] 1082 + | PropertyId::AnimationDirection(_) [INFO] [stdout] 1083 + | PropertyId::AnimationPlayState(_) [INFO] [stdout] 1084 + | PropertyId::AnimationDelay(_) [INFO] [stdout] 1085 + | PropertyId::AnimationFillMode(_) [INFO] [stdout] 1086 + | PropertyId::AnimationComposition [INFO] [stdout] 1087 + | PropertyId::AnimationTimeline [INFO] [stdout] 1088 + | PropertyId::AnimationRange [INFO] [stdout] 1089 + | PropertyId::AnimationRangeStart [INFO] [stdout] 1090 + | PropertyId::AnimationRangeEnd [INFO] [stdout] 1091 + | PropertyId::Animation(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundRepeatKeyword` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:163:71 [INFO] [stdout] | [INFO] [stdout] 163 | let y = input.try_parse(BackgroundRepeatKeyword::parse).unwrap_or(x.clone()); [INFO] [stdout] | ^^^^^^^^^ help: try removing the `clone` call: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/background.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / impl Default for BackgroundAttachment { [INFO] [stdout] 208 | | fn default() -> BackgroundAttachment { [INFO] [stdout] 209 | | BackgroundAttachment::Scroll [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/background.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / match (self, other) { [INFO] [stdout] 244 | | (BackgroundClip::BorderBox, BackgroundOrigin::BorderBox) [INFO] [stdout] 245 | | | (BackgroundClip::PaddingBox, BackgroundOrigin::PaddingBox) [INFO] [stdout] 246 | | | (BackgroundClip::ContentBox, BackgroundOrigin::ContentBox) => true, [INFO] [stdout] 247 | | _ => false, [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 243 ~ matches!((self, other), (BackgroundClip::BorderBox, BackgroundOrigin::BorderBox) [INFO] [stdout] 244 + | (BackgroundClip::PaddingBox, BackgroundOrigin::PaddingBox) [INFO] [stdout] 245 + | (BackgroundClip::ContentBox, BackgroundOrigin::ContentBox)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/background.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | impl Into for BackgroundOrigin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From` [INFO] [stdout] | [INFO] [stdout] 252 ~ impl From for BackgroundClip { [INFO] [stdout] 253 ~ fn from(val: BackgroundOrigin) -> Self { [INFO] [stdout] 254 ~ match val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/background.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / impl Default for BackgroundClip { [INFO] [stdout] 263 | | fn default() -> BackgroundClip { [INFO] [stdout] 264 | | BackgroundClip::BorderBox [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/background.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | impl Into for &BackgroundPosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From<&properties::background::BackgroundPosition>` [INFO] [stdout] | [INFO] [stdout] 293 ~ impl From<&BackgroundPosition> for Position { [INFO] [stdout] 294 ~ fn from(val: &BackgroundPosition) -> Self { [INFO] [stdout] 295 | Position { [INFO] [stdout] 296 ~ x: val.x.clone(), [INFO] [stdout] 297 ~ y: val.y.clone(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `length` after checking its variant with `is_none` [INFO] [stdout] --> src/properties/background.rs:639:17 [INFO] [stdout] | [INFO] [stdout] 637 | if length.is_none() { [INFO] [stdout] | ------------------- help: try: `if let Some() = length` [INFO] [stdout] 638 | length = Some(len); [INFO] [stdout] 639 | } else if length.unwrap() != len { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `images` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 655 | && images.is_some() [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 666 | images.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `x_positions` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 656 | && x_positions.is_some() [INFO] [stdout] | --------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 667 | x_positions.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `y_positions` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 657 | && y_positions.is_some() [INFO] [stdout] | --------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 668 | y_positions.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `repeats` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 658 | && repeats.is_some() [INFO] [stdout] | ----------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 669 | repeats.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `sizes` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 659 | && sizes.is_some() [INFO] [stdout] | --------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 670 | sizes.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `attachments` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:671:9 [INFO] [stdout] | [INFO] [stdout] 660 | && attachments.is_some() [INFO] [stdout] | --------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 671 | attachments.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `origins` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 661 | && origins.is_some() [INFO] [stdout] | ----------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 672 | origins.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `clips` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/background.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 662 | && clips.is_some() [INFO] [stdout] | --------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 673 | clips.unwrap().drain(..), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundAttachment` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:628:49 [INFO] [stdout] | [INFO] [stdout] 628 | attachments = Some(val.iter().map(|b| b.attachment.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.attachment` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundOrigin` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:629:45 [INFO] [stdout] | [INFO] [stdout] 629 | origins = Some(val.iter().map(|b| b.origin.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundClip` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:630:43 [INFO] [stdout] | [INFO] [stdout] 630 | clips = Some(val.iter().map(|b| b.clip.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.clip` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundAttachment` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:733:29 [INFO] [stdout] | [INFO] [stdout] 733 | self.iter().map(|v| v.attachment.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `v.attachment` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundOrigin` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:736:29 [INFO] [stdout] | [INFO] [stdout] 736 | self.iter().map(|v| v.origin.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `v.origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundClip` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:739:29 [INFO] [stdout] | [INFO] [stdout] 739 | self.iter().map(|v| v.clip.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `v.clip` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundClip` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:879:40 [INFO] [stdout] | [INFO] [stdout] 879 | let clips = val.iter().map(|b| b.clip.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.clip` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundAttachment` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:894:52 [INFO] [stdout] | [INFO] [stdout] 894 | self.attachments = Some(val.iter().map(|b| b.attachment.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.attachment` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `BackgroundOrigin` which implements the `Copy` trait [INFO] [stdout] --> src/properties/background.rs:895:48 [INFO] [stdout] | [INFO] [stdout] 895 | self.origins = Some(val.iter().map(|b| b.origin.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `extend` instead of `append` for adding the full range of a second vector [INFO] [stdout] --> src/properties/background.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 921 | dest.extend(self.decls.drain(..)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dest.append(&mut self.decls)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extend_with_drain [INFO] [stdout] = note: `#[warn(clippy::extend_with_drain)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `contains()` instead of `iter().any()` is more efficient [INFO] [stdout] --> src/properties/background.rs:983:32 [INFO] [stdout] | [INFO] [stdout] 983 | let clip_prefixes = if clips.0.iter().any(|clip| *clip == BackgroundClip::Text) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `clips.0.contains(&BackgroundClip::Text)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains [INFO] [stdout] = note: `#[warn(clippy::manual_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `contains()` instead of `iter().any()` is more efficient [INFO] [stdout] --> src/properties/background.rs:1104:25 [INFO] [stdout] | [INFO] [stdout] 1104 | let prefixes = if clips.iter().any(|clip| *clip == BackgroundClip::Text) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `clips.contains(&BackgroundClip::Text)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/background.rs:1131:3 [INFO] [stdout] | [INFO] [stdout] 1131 | / match property_id { [INFO] [stdout] 1132 | | PropertyId::BackgroundColor [INFO] [stdout] 1133 | | | PropertyId::BackgroundImage [INFO] [stdout] 1134 | | | PropertyId::BackgroundPosition [INFO] [stdout] ... | [INFO] [stdout] 1143 | | _ => false, [INFO] [stdout] 1144 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1131 ~ matches!(property_id, PropertyId::BackgroundColor [INFO] [stdout] 1132 + | PropertyId::BackgroundImage [INFO] [stdout] 1133 + | PropertyId::BackgroundPosition [INFO] [stdout] 1134 + | PropertyId::BackgroundPositionX [INFO] [stdout] 1135 + | PropertyId::BackgroundPositionY [INFO] [stdout] 1136 + | PropertyId::BackgroundRepeat [INFO] [stdout] 1137 + | PropertyId::BackgroundSize [INFO] [stdout] 1138 + | PropertyId::BackgroundAttachment [INFO] [stdout] 1139 + | PropertyId::BackgroundOrigin [INFO] [stdout] 1140 + | PropertyId::BackgroundClip(_) [INFO] [stdout] 1141 + | PropertyId::Background) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/border.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl Default for BorderSideWidth { [INFO] [stdout] 47 | | fn default() -> BorderSideWidth { [INFO] [stdout] 48 | | BorderSideWidth::Medium [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum BorderSideWidth { [INFO] [stdout] 37 | /// A UA defined `thin` value. [INFO] [stdout] 38 | Thin, [INFO] [stdout] 39 | /// A UA defined `medium` value. [INFO] [stdout] 40 ~ #[default] [INFO] [stdout] 41 ~ Medium, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/border.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl Default for LineStyle { [INFO] [stdout] 88 | | fn default() -> LineStyle { [INFO] [stdout] 89 | | LineStyle::None [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/properties/border.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | color: color.unwrap_or_else(|| CssColor::current_color()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `CssColor::current_color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `LineStyle` which implements the `Copy` trait [INFO] [stdout] --> src/properties/border.rs:480:23 [INFO] [stdout] | [INFO] [stdout] 480 | self.style = Some(border.style.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `border.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/properties/border.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | style: self.style.clone().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/border.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | self.flush_unparsed(&val, dest, context); [INFO] [stdout] | ^^^^ help: change this to: `val` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/border.rs:1372:3 [INFO] [stdout] | [INFO] [stdout] 1372 | / match property_id { [INFO] [stdout] 1373 | | PropertyId::BorderTopColor [INFO] [stdout] 1374 | | | PropertyId::BorderBottomColor [INFO] [stdout] 1375 | | | PropertyId::BorderLeftColor [INFO] [stdout] ... | [INFO] [stdout] 1417 | | _ => false, [INFO] [stdout] 1418 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1372 ~ matches!(property_id, PropertyId::BorderTopColor [INFO] [stdout] 1373 + | PropertyId::BorderBottomColor [INFO] [stdout] 1374 + | PropertyId::BorderLeftColor [INFO] [stdout] 1375 + | PropertyId::BorderRightColor [INFO] [stdout] 1376 + | PropertyId::BorderBlockStartColor [INFO] [stdout] 1377 + | PropertyId::BorderBlockEndColor [INFO] [stdout] 1378 + | PropertyId::BorderBlockColor [INFO] [stdout] 1379 + | PropertyId::BorderInlineStartColor [INFO] [stdout] 1380 + | PropertyId::BorderInlineEndColor [INFO] [stdout] 1381 + | PropertyId::BorderInlineColor [INFO] [stdout] 1382 + | PropertyId::BorderTopWidth [INFO] [stdout] 1383 + | PropertyId::BorderBottomWidth [INFO] [stdout] 1384 + | PropertyId::BorderLeftWidth [INFO] [stdout] 1385 + | PropertyId::BorderRightWidth [INFO] [stdout] 1386 + | PropertyId::BorderBlockStartWidth [INFO] [stdout] 1387 + | PropertyId::BorderBlockEndWidth [INFO] [stdout] 1388 + | PropertyId::BorderBlockWidth [INFO] [stdout] 1389 + | PropertyId::BorderInlineStartWidth [INFO] [stdout] 1390 + | PropertyId::BorderInlineEndWidth [INFO] [stdout] 1391 + | PropertyId::BorderInlineWidth [INFO] [stdout] 1392 + | PropertyId::BorderTopStyle [INFO] [stdout] 1393 + | PropertyId::BorderBottomStyle [INFO] [stdout] 1394 + | PropertyId::BorderLeftStyle [INFO] [stdout] 1395 + | PropertyId::BorderRightStyle [INFO] [stdout] 1396 + | PropertyId::BorderBlockStartStyle [INFO] [stdout] 1397 + | PropertyId::BorderBlockEndStyle [INFO] [stdout] 1398 + | PropertyId::BorderBlockStyle [INFO] [stdout] 1399 + | PropertyId::BorderInlineStartStyle [INFO] [stdout] 1400 + | PropertyId::BorderInlineEndStyle [INFO] [stdout] 1401 + | PropertyId::BorderInlineStyle [INFO] [stdout] 1402 + | PropertyId::BorderTop [INFO] [stdout] 1403 + | PropertyId::BorderBottom [INFO] [stdout] 1404 + | PropertyId::BorderLeft [INFO] [stdout] 1405 + | PropertyId::BorderRight [INFO] [stdout] 1406 + | PropertyId::BorderBlockStart [INFO] [stdout] 1407 + | PropertyId::BorderBlockEnd [INFO] [stdout] 1408 + | PropertyId::BorderInlineStart [INFO] [stdout] 1409 + | PropertyId::BorderInlineEnd [INFO] [stdout] 1410 + | PropertyId::BorderBlock [INFO] [stdout] 1411 + | PropertyId::BorderInline [INFO] [stdout] 1412 + | PropertyId::BorderWidth [INFO] [stdout] 1413 + | PropertyId::BorderStyle [INFO] [stdout] 1414 + | PropertyId::BorderColor [INFO] [stdout] 1415 + | PropertyId::Border) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `source` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/border_image.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 511 | if source.is_some() && slice.is_some() && width.is_some() && outset.is_some() && repeat.is_some() { [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] 512 | let mut border_image = BorderImage { [INFO] [stdout] 513 | source: source.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `slice` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/border_image.rs:514:16 [INFO] [stdout] | [INFO] [stdout] 511 | if source.is_some() && slice.is_some() && width.is_some() && outset.is_some() && repeat.is_some() { [INFO] [stdout] | --------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 514 | slice: slice.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `width` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/border_image.rs:515:16 [INFO] [stdout] | [INFO] [stdout] 511 | if source.is_some() && slice.is_some() && width.is_some() && outset.is_some() && repeat.is_some() { [INFO] [stdout] | --------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 515 | width: width.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `outset` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/border_image.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 511 | if source.is_some() && slice.is_some() && width.is_some() && outset.is_some() && repeat.is_some() { [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 516 | outset: outset.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `repeat` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/border_image.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 511 | if source.is_some() && slice.is_some() && width.is_some() && outset.is_some() && repeat.is_some() { [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 517 | repeat: repeat.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/border_image.rs:580:3 [INFO] [stdout] | [INFO] [stdout] 580 | / match property_id { [INFO] [stdout] 581 | | PropertyId::BorderImageSource [INFO] [stdout] 582 | | | PropertyId::BorderImageSlice [INFO] [stdout] 583 | | | PropertyId::BorderImageWidth [INFO] [stdout] ... | [INFO] [stdout] 587 | | _ => false, [INFO] [stdout] 588 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 580 ~ matches!(property_id, PropertyId::BorderImageSource [INFO] [stdout] 581 + | PropertyId::BorderImageSlice [INFO] [stdout] 582 + | PropertyId::BorderImageWidth [INFO] [stdout] 583 + | PropertyId::BorderImageOutset [INFO] [stdout] 584 + | PropertyId::BorderImageRepeat [INFO] [stdout] 585 + | PropertyId::BorderImage(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/border_radius.rs:334:3 [INFO] [stdout] | [INFO] [stdout] 334 | / match property_id { [INFO] [stdout] 335 | | PropertyId::BorderTopLeftRadius(_) [INFO] [stdout] 336 | | | PropertyId::BorderTopRightRadius(_) [INFO] [stdout] 337 | | | PropertyId::BorderBottomRightRadius(_) [INFO] [stdout] ... | [INFO] [stdout] 340 | | _ => false, [INFO] [stdout] 341 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 334 ~ matches!(property_id, PropertyId::BorderTopLeftRadius(_) [INFO] [stdout] 335 + | PropertyId::BorderTopRightRadius(_) [INFO] [stdout] 336 + | PropertyId::BorderBottomRightRadius(_) [INFO] [stdout] 337 + | PropertyId::BorderBottomLeftRadius(_) [INFO] [stdout] 338 + | PropertyId::BorderRadius(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/border_radius.rs:346:3 [INFO] [stdout] | [INFO] [stdout] 346 | / match property_id { [INFO] [stdout] 347 | | PropertyId::BorderStartStartRadius [INFO] [stdout] 348 | | | PropertyId::BorderStartEndRadius [INFO] [stdout] 349 | | | PropertyId::BorderEndEndRadius [INFO] [stdout] 350 | | | PropertyId::BorderEndStartRadius => true, [INFO] [stdout] 351 | | _ => false, [INFO] [stdout] 352 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 346 ~ matches!(property_id, PropertyId::BorderStartStartRadius [INFO] [stdout] 347 + | PropertyId::BorderStartEndRadius [INFO] [stdout] 348 + | PropertyId::BorderEndEndRadius [INFO] [stdout] 349 + | PropertyId::BorderEndStartRadius) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/properties/box_shadow.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | / if !inset { [INFO] [stdout] 53 | | if input.try_parse(|input| input.expect_ident_matching("inset")).is_ok() { [INFO] [stdout] 54 | | inset = true; [INFO] [stdout] 55 | | continue; [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 52 ~ if !inset [INFO] [stdout] 53 ~ && input.try_parse(|input| input.expect_ident_matching("inset")).is_ok() { [INFO] [stdout] 54 | inset = true; [INFO] [stdout] 55 | continue; [INFO] [stdout] 56 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/contain.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl Default for ContainerType { [INFO] [stdout] 39 | | fn default() -> Self { [INFO] [stdout] 40 | | ContainerType::Normal [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/contain.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl<'i> Default for ContainerNameList<'i> { [INFO] [stdout] 69 | | fn default() -> Self { [INFO] [stdout] 70 | | ContainerNameList::None [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 60 + #[derive(Default)] [INFO] [stdout] 61 | pub enum ContainerNameList<'i> { [INFO] [stdout] 62 | /// The `none` keyword. [INFO] [stdout] 63 ~ #[default] [INFO] [stdout] 64 ~ None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/properties/contain.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | return Err(input.new_error_for_next_token()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 86 - return Err(input.new_error_for_next_token()); [INFO] [stdout] 86 + Err(input.new_error_for_next_token()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/properties/contain.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | return Ok(ContainerNameList::Names(names)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 88 - return Ok(ContainerNameList::Names(names)); [INFO] [stdout] 88 + Ok(ContainerNameList::Names(names)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/css_modules.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | Specifier::File(file) => serialize_string(&file, dest)?, [INFO] [stdout] | ^^^^^ help: change this to: `file` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/properties/custom.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | return Ok(TokenList(tokens)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 312 - return Ok(TokenList(tokens)); [INFO] [stdout] 312 + Ok(TokenList(tokens)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: parameter is only used in recursion [INFO] [stdout] --> src/properties/custom.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | options: &ParserOptions<'_, 'i>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] note: parameter used here [INFO] [stdout] --> src/properties/custom.rs:339:80 [INFO] [stdout] | [INFO] [stdout] 339 | input.parse_nested_block(|input| TokenList::parse_raw(input, tokens, options, depth + 1))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | input.parse_nested_block(|input| TokenList::parse_raw(input, tokens, options, depth + 1))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#only_used_in_recursion [INFO] [stdout] = note: `#[warn(clippy::only_used_in_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/properties/custom.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | Ok(&cssparser::Token::Function(ref f)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 376 - Ok(&cssparser::Token::Function(ref f)) => { [INFO] [stdout] 376 + Ok(cssparser::Token::Function(f)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/properties/custom.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(&cssparser::Token::Ident(ref name)) if name.starts_with("--") => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 417 - Ok(&cssparser::Token::Ident(ref name)) if name.starts_with("--") => { [INFO] [stdout] 417 + Ok(cssparser::Token::Ident(name)) if name.starts_with("--") => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/custom.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | match_ignore_ascii_case! { &*f, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 472 - match_ignore_ascii_case! { &*f, [INFO] [stdout] 472 + match_ignore_ascii_case! { f, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 472 | match_ignore_ascii_case! { &**f, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/custom.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | input.reset(&state); [INFO] [stdout] | ^^^^^^ help: change this to: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.0.get(0)` [INFO] [stdout] --> src/properties/custom.rs:579:14 [INFO] [stdout] | [INFO] [stdout] 579 | matches!(self.0.get(0), Some(TokenOrValue::Token(Token::WhiteSpace(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `self.0.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/custom.rs:895:26 [INFO] [stdout] | [INFO] [stdout] 895 | dest.write_str(&w)?; [INFO] [stdout] | ^^ help: change this to: `w` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/properties/custom.rs:1100:11 [INFO] [stdout] | [INFO] [stdout] 1100 | / match unresolved_color { [INFO] [stdout] 1101 | | UnresolvedColor::LightDark { light, dark } => { [INFO] [stdout] 1102 | | features |= Features::LightDark; [INFO] [stdout] 1103 | | features |= light.get_features(); [INFO] [stdout] ... | [INFO] [stdout] 1106 | | _ => {} [INFO] [stdout] 1107 | | } [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1100 ~ if let UnresolvedColor::LightDark { light, dark } = unresolved_color { [INFO] [stdout] 1101 + features |= Features::LightDark; [INFO] [stdout] 1102 + features |= light.get_features(); [INFO] [stdout] 1103 + features |= dark.get_features(); [INFO] [stdout] 1104 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/properties/custom.rs:1331:5 [INFO] [stdout] | [INFO] [stdout] 1331 | return Ok(EnvironmentVariableName::Unknown(ident)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 1331 - return Ok(EnvironmentVariableName::Unknown(ident)); [INFO] [stdout] 1331 + Ok(EnvironmentVariableName::Unknown(ident)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/custom.rs:1512:32 [INFO] [stdout] | [INFO] [stdout] 1512 | match_ignore_ascii_case! { &*f, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 1512 - match_ignore_ascii_case! { &*f, [INFO] [stdout] 1512 + match_ignore_ascii_case! { f, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 1512 | match_ignore_ascii_case! { &**f, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/display.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 51 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 51 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 51 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/display.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 180 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 180 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 180 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/properties/display.rs:380:11 [INFO] [stdout] | [INFO] [stdout] 380 | / if cur.outside == new.outside [INFO] [stdout] 381 | | && cur.is_list_item == new.is_list_item [INFO] [stdout] 382 | | && cur.inside != new.inside [INFO] [stdout] 383 | | && cur.inside.is_equivalent(&new.inside) [INFO] [stdout] ... | [INFO] [stdout] 393 | | } [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 377 ~ (Some(Display::Pair(cur)), Display::Pair(new)) [INFO] [stdout] 378 | // If the new value is different but equivalent (e.g. different vendor prefix), [INFO] [stdout] ... [INFO] [stdout] 383 | && cur.inside.is_equivalent(&new.inside) [INFO] [stdout] 384 ~ => { [INFO] [stdout] 385 | // If we have targets, and there is no vendor prefix, clear the existing [INFO] [stdout] ... [INFO] [stdout] 392 | } [INFO] [stdout] 393 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/properties/display.rs:376:7 [INFO] [stdout] | [INFO] [stdout] 376 | / match (&self.display, display) { [INFO] [stdout] 377 | | (Some(Display::Pair(cur)), Display::Pair(new)) => { [INFO] [stdout] ... | [INFO] [stdout] 395 | | _ => {} [INFO] [stdout] 396 | | } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 376 ~ if let (Some(Display::Pair(cur)), Display::Pair(new)) = (&self.display, display) { [INFO] [stdout] 377 + // If the new value is different but equivalent (e.g. different vendor prefix), [INFO] [stdout] 378 + // we need to preserve multiple values. [INFO] [stdout] 379 + if cur.outside == new.outside [INFO] [stdout] 380 + && cur.is_list_item == new.is_list_item [INFO] [stdout] 381 + && cur.inside != new.inside [INFO] [stdout] 382 + && cur.inside.is_equivalent(&new.inside) [INFO] [stdout] 383 + { [INFO] [stdout] 384 + // If we have targets, and there is no vendor prefix, clear the existing [INFO] [stdout] 385 + // declarations. The prefixes will be filled in later. Otherwise, if there [INFO] [stdout] 386 + // are no targets, or there is a vendor prefix, add a new declaration. [INFO] [stdout] 387 + if context.targets.browsers.is_some() && new.inside == DisplayInside::Flex(VendorPrefix::None) { [INFO] [stdout] 388 + self.decls.clear(); [INFO] [stdout] 389 + } else if context.targets.browsers.is_none() || cur.inside != DisplayInside::Flex(VendorPrefix::None) { [INFO] [stdout] 390 + self.decls.push(Property::Display(self.display.clone().unwrap())); [INFO] [stdout] 391 + } [INFO] [stdout] 392 + } [INFO] [stdout] 393 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `extend` instead of `append` for adding the full range of a second vector [INFO] [stdout] --> src/properties/display.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | dest.extend(self.decls.drain(..)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `dest.append(&mut self.decls)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extend_with_drain [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DisplayOutside` which implements the `Copy` trait [INFO] [stdout] --> src/properties/display.rs:440:26 [INFO] [stdout] | [INFO] [stdout] 440 | outside: outside.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `outside` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DisplayOutside` which implements the `Copy` trait [INFO] [stdout] --> src/properties/display.rs:448:26 [INFO] [stdout] | [INFO] [stdout] 448 | outside: outside.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `outside` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DisplayOutside` which implements the `Copy` trait [INFO] [stdout] --> src/properties/display.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 458 | outside: outside.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `outside` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DisplayOutside` which implements the `Copy` trait [INFO] [stdout] --> src/properties/display.rs:466:22 [INFO] [stdout] | [INFO] [stdout] 466 | outside: outside.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try removing the `clone` call: `outside` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/flex.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl Default for FlexDirection { [INFO] [stdout] 39 | | fn default() -> FlexDirection { [INFO] [stdout] 40 | | FlexDirection::Row [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/flex.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / impl Default for FlexWrap { [INFO] [stdout] 57 | | fn default() -> FlexWrap { [INFO] [stdout] 58 | | FlexWrap::NoWrap [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `FlexWrap` which implements the `Copy` trait [INFO] [stdout] --> src/properties/flex.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | Some(wrap.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ help: try dereferencing it: `*wrap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value [INFO] [stdout] --> src/properties/flex.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | fn to_2009(&self) -> (BoxOrient, BoxDirection) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `match` [INFO] [stdout] --> src/properties/flex.rs:318:50 [INFO] [stdout] | [INFO] [stdout] 318 | JustifyContent::ContentDistribution(cd) => match cd { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 319 | | ContentDistribution::SpaceBetween => Some(BoxPack::Justify), [INFO] [stdout] 320 | | _ => None, [INFO] [stdout] 321 | | }, [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/properties/flex.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | JustifyContent::ContentDistribution(cd) => match cd { [INFO] [stdout] | ^^ replace this binding [INFO] [stdout] 319 | ContentDistribution::SpaceBetween => Some(BoxPack::Justify), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option<(i32, VendorPrefix)>` which implements the `Copy` trait [INFO] [stdout] --> src/properties/flex.rs:702:33 [INFO] [stdout] | [INFO] [stdout] 702 | legacy_property!(FlexOrder, flex_order.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `flex_order` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/flex.rs:790:3 [INFO] [stdout] | [INFO] [stdout] 790 | / match property_id { [INFO] [stdout] 791 | | PropertyId::FlexDirection(_) [INFO] [stdout] 792 | | | PropertyId::BoxOrient(_) [INFO] [stdout] 793 | | | PropertyId::BoxDirection(_) [INFO] [stdout] ... | [INFO] [stdout] 808 | | _ => false, [INFO] [stdout] 809 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 790 ~ matches!(property_id, PropertyId::FlexDirection(_) [INFO] [stdout] 791 + | PropertyId::BoxOrient(_) [INFO] [stdout] 792 + | PropertyId::BoxDirection(_) [INFO] [stdout] 793 + | PropertyId::FlexWrap(_) [INFO] [stdout] 794 + | PropertyId::BoxLines(_) [INFO] [stdout] 795 + | PropertyId::FlexFlow(_) [INFO] [stdout] 796 + | PropertyId::FlexGrow(_) [INFO] [stdout] 797 + | PropertyId::BoxFlex(_) [INFO] [stdout] 798 + | PropertyId::FlexPositive(_) [INFO] [stdout] 799 + | PropertyId::FlexShrink(_) [INFO] [stdout] 800 + | PropertyId::FlexNegative(_) [INFO] [stdout] 801 + | PropertyId::FlexBasis(_) [INFO] [stdout] 802 + | PropertyId::FlexPreferredSize(_) [INFO] [stdout] 803 + | PropertyId::Flex(_) [INFO] [stdout] 804 + | PropertyId::Order(_) [INFO] [stdout] 805 + | PropertyId::BoxOrdinalGroup(_) [INFO] [stdout] 806 + | PropertyId::FlexOrder(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/font.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl Default for AbsoluteFontWeight { [INFO] [stdout] 78 | | fn default() -> AbsoluteFontWeight { [INFO] [stdout] 79 | | AbsoluteFontWeight::Normal [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 68 + #[derive(Default)] [INFO] [stdout] 69 | pub enum AbsoluteFontWeight { [INFO] [stdout] 70 | /// An explicit weight. [INFO] [stdout] 71 | Weight(CSSNumber), [INFO] [stdout] 72 | /// Same as `400`. [INFO] [stdout] 73 ~ #[default] [INFO] [stdout] 74 ~ Normal, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/font.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / impl Default for FontStretchKeyword { [INFO] [stdout] 209 | | fn default() -> FontStretchKeyword { [INFO] [stdout] 210 | | FontStretchKeyword::Normal [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/font.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | impl Into for &FontStretchKeyword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace the `Into` implementation with `From<&properties::font::FontStretchKeyword>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/font.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | impl Into for &FontStretch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: replace the `Into` implementation with `From<&properties::font::FontStretch>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/properties/font.rs:423:27 [INFO] [stdout] | [INFO] [stdout] 423 | if !val.is_empty() && !GenericFontFamily::parse_string(val).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GenericFontFamily::parse_string(val).is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/font.rs:427:26 [INFO] [stdout] | [INFO] [stdout] 427 | serialize_string(&val, dest)?; [INFO] [stdout] | ^^^^ help: change this to: `val` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/properties/font.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | serialize_string(&val, dest)?; [INFO] [stdout] | ^^^^ help: change this to: `val` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/font.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | / impl Default for FontStyle { [INFO] [stdout] 479 | | fn default() -> FontStyle { [INFO] [stdout] 480 | | FontStyle::Normal [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 469 + #[derive(Default)] [INFO] [stdout] 470 | pub enum FontStyle { [INFO] [stdout] 471 | /// Normal font style. [INFO] [stdout] 472 ~ #[default] [INFO] [stdout] 473 ~ Normal, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/font.rs:495:32 [INFO] [stdout] | [INFO] [stdout] 495 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 495 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 495 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 495 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/font.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 560 | / impl Default for FontVariantCaps { [INFO] [stdout] 561 | | fn default() -> FontVariantCaps { [INFO] [stdout] 562 | | FontVariantCaps::Normal [INFO] [stdout] 563 | | } [INFO] [stdout] 564 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/font.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | / impl Default for LineHeight { [INFO] [stdout] 606 | | fn default() -> LineHeight { [INFO] [stdout] 607 | | LineHeight::Normal [INFO] [stdout] 608 | | } [INFO] [stdout] 609 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 596 + #[derive(Default)] [INFO] [stdout] 597 | pub enum LineHeight { [INFO] [stdout] 598 | /// The UA sets the line height based on the font. [INFO] [stdout] 599 ~ #[default] [INFO] [stdout] 600 ~ Normal, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `FontVariantCaps` which implements the `Copy` trait [INFO] [stdout] --> src/properties/font.rs:877:34 [INFO] [stdout] | [INFO] [stdout] 877 | self.variant_caps = Some(val.variant_caps.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `val.variant_caps` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `variant_caps` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:942:18 [INFO] [stdout] | [INFO] [stdout] 940 | && variant_caps.is_some() [INFO] [stdout] | ---------------------- the check is happening here [INFO] [stdout] 941 | { [INFO] [stdout] 942 | let caps = variant_caps.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `family` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:946:19 [INFO] [stdout] | [INFO] [stdout] 934 | if family.is_some() [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 946 | family: family.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `size` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:947:17 [INFO] [stdout] | [INFO] [stdout] 935 | && size.is_some() [INFO] [stdout] | -------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 947 | size: size.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `style` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:948:18 [INFO] [stdout] | [INFO] [stdout] 936 | && style.is_some() [INFO] [stdout] | --------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 948 | style: style.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `weight` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:949:19 [INFO] [stdout] | [INFO] [stdout] 937 | && weight.is_some() [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 949 | weight: weight.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `stretch` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:950:20 [INFO] [stdout] | [INFO] [stdout] 938 | && stretch.is_some() [INFO] [stdout] | ----------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 950 | stretch: stretch.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `line_height` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:951:24 [INFO] [stdout] | [INFO] [stdout] 939 | && line_height.is_some() [INFO] [stdout] | --------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 951 | line_height: line_height.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `variant_caps` after checking its variant with `is_some` [INFO] [stdout] --> src/properties/font.rs:963:32 [INFO] [stdout] | [INFO] [stdout] 940 | && variant_caps.is_some() [INFO] [stdout] | ---------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 963 | push!(FontVariantCaps, variant_caps.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/properties/font.rs:1032:3 [INFO] [stdout] | [INFO] [stdout] 1032 | return family; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 1032 - return family; [INFO] [stdout] 1032 + family [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/font.rs:1037:3 [INFO] [stdout] | [INFO] [stdout] 1037 | / match property_id { [INFO] [stdout] 1038 | | PropertyId::FontFamily [INFO] [stdout] 1039 | | | PropertyId::FontSize [INFO] [stdout] 1040 | | | PropertyId::FontStyle [INFO] [stdout] ... | [INFO] [stdout] 1046 | | _ => false, [INFO] [stdout] 1047 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1037 ~ matches!(property_id, PropertyId::FontFamily [INFO] [stdout] 1038 + | PropertyId::FontSize [INFO] [stdout] 1039 + | PropertyId::FontStyle [INFO] [stdout] 1040 + | PropertyId::FontWeight [INFO] [stdout] 1041 + | PropertyId::FontStretch [INFO] [stdout] 1042 + | PropertyId::FontVariantCaps [INFO] [stdout] 1043 + | PropertyId::LineHeight [INFO] [stdout] 1044 + | PropertyId::Font) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/grid.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 268 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 268 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 268 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/properties/grid.rs:402:33 [INFO] [stdout] | [INFO] [stdout] 402 | let css_module_grid_enabled = dest.css_module.as_ref().map_or(false, |css_module| css_module.config.grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 402 - let css_module_grid_enabled = dest.css_module.as_ref().map_or(false, |css_module| css_module.config.grid); [INFO] [stdout] 402 + let css_module_grid_enabled = dest.css_module.as_ref().is_some_and(|css_module| css_module.config.grid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/properties/grid.rs:518:8 [INFO] [stdout] | [INFO] [stdout] 518 | if self.0.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `self.0.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/properties/grid.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '\u{80}' || c == '_' || c >= '0' && c <= '9' || c == '-' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use: `('A'..='Z').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/properties/grid.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '\u{80}' || c == '_' || c >= '0' && c <= '9' || c == '-' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use: `('a'..='z').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/properties/grid.rs:624:80 [INFO] [stdout] | [INFO] [stdout] 624 | c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '\u{80}' || c == '_' || c >= '0' && c <= '9' || c == '-' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use: `('0'..='9').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/properties/grid.rs:1477:12 [INFO] [stdout] | [INFO] [stdout] 1477 | } else if matches!(end, GridLine::Auto) { [INFO] [stdout] | ____________^ [INFO] [stdout] 1478 | | true [INFO] [stdout] 1479 | | } else { [INFO] [stdout] 1480 | | false [INFO] [stdout] 1481 | | } [INFO] [stdout] | |_____^ help: you can reduce it to: `{ }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `GridAutoFlow` which implements the `Copy` trait [INFO] [stdout] --> src/properties/grid.rs:1669:56 [INFO] [stdout] | [INFO] [stdout] 1669 | GridAutoFlow(auto_flow) => self.auto_flow = Some(auto_flow.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*auto_flow` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `GridAutoFlow` which implements the `Copy` trait [INFO] [stdout] --> src/properties/grid.rs:1681:31 [INFO] [stdout] | [INFO] [stdout] 1681 | self.auto_flow = Some(grid.auto_flow.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `grid.auto_flow` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `GridAutoFlow` which implements the `Copy` trait [INFO] [stdout] --> src/properties/grid.rs:1765:24 [INFO] [stdout] | [INFO] [stdout] 1765 | auto_flow: auto_flow_val.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*auto_flow_val` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/grid.rs:1882:3 [INFO] [stdout] | [INFO] [stdout] 1882 | / match property_id { [INFO] [stdout] 1883 | | PropertyId::GridTemplateColumns [INFO] [stdout] 1884 | | | PropertyId::GridTemplateRows [INFO] [stdout] 1885 | | | PropertyId::GridTemplateAreas [INFO] [stdout] ... | [INFO] [stdout] 1898 | | _ => false, [INFO] [stdout] 1899 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1882 ~ matches!(property_id, PropertyId::GridTemplateColumns [INFO] [stdout] 1883 + | PropertyId::GridTemplateRows [INFO] [stdout] 1884 + | PropertyId::GridTemplateAreas [INFO] [stdout] 1885 + | PropertyId::GridAutoColumns [INFO] [stdout] 1886 + | PropertyId::GridAutoRows [INFO] [stdout] 1887 + | PropertyId::GridAutoFlow [INFO] [stdout] 1888 + | PropertyId::GridTemplate [INFO] [stdout] 1889 + | PropertyId::Grid [INFO] [stdout] 1890 + | PropertyId::GridRowStart [INFO] [stdout] 1891 + | PropertyId::GridRowEnd [INFO] [stdout] 1892 + | PropertyId::GridColumnStart [INFO] [stdout] 1893 + | PropertyId::GridColumnEnd [INFO] [stdout] 1894 + | PropertyId::GridRow [INFO] [stdout] 1895 + | PropertyId::GridColumn [INFO] [stdout] 1896 + | PropertyId::GridArea) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `FileProvider` [INFO] [stdout] --> src/bundler.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn new() -> FileProvider { [INFO] [stdout] 144 | | FileProvider { [INFO] [stdout] 145 | | inputs: Mutex::new(Vec::new()), [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 141 + impl Default for FileProvider { [INFO] [stdout] 142 + fn default() -> Self { [INFO] [stdout] 143 + Self::new() [INFO] [stdout] 144 + } [INFO] [stdout] 145 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/list.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | / impl Default for SymbolsType { [INFO] [stdout] 275 | | fn default() -> Self { [INFO] [stdout] 276 | | SymbolsType::Symbolic [INFO] [stdout] 277 | | } [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:288:7 [INFO] [stdout] | [INFO] [stdout] 288 | &entry, [INFO] [stdout] | ^^^^^^ help: change this to: `entry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/list.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Default for ListStylePosition { [INFO] [stdout] 312 | | fn default() -> ListStylePosition { [INFO] [stdout] 313 | | ListStylePosition::Outside [INFO] [stdout] 314 | | } [INFO] [stdout] 315 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bundler.rs:373:53 [INFO] [stdout] | [INFO] [stdout] 373 | if (!rule.media.media_queries.is_empty() && !entry.supports.is_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `entry.supports.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/bundler.rs:374:56 [INFO] [stdout] | [INFO] [stdout] 374 | || (!entry.media.media_queries.is_empty() && !rule.supports.is_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.supports.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/bundler.rs:421:16 [INFO] [stdout] | [INFO] [stdout] 421 | loc: rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:525:46 [INFO] [stdout] | [INFO] [stdout] 525 | let result = match self.fs.resolve(&specifier, file) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `specifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/bundler.rs:624:42 [INFO] [stdout] | [INFO] [stdout] 624 | let result = match self.fs.resolve(&f, file) { [INFO] [stdout] | ^^ help: change this to: `f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u32` -> `u32`) [INFO] [stdout] --> src/bundler.rs:733:89 [INFO] [stdout] | [INFO] [stdout] 733 | if resolved.parent_source_index == source_index && resolved.parent_dep_index == dep_index as u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `dep_index` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/bundler.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | Ok(Path::new(&specifier["foo:".len()..]).to_path_buf().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/bundler.rs:928:7 [INFO] [stdout] | [INFO] [stdout] 928 | if specifier.starts_with("foo:") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 928 ~ if let Some() = specifier.strip_prefix("foo:") { [INFO] [stdout] 929 ~ Ok(Path::new().to_path_buf().into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/bundler.rs:1035:15 [INFO] [stdout] | [INFO] [stdout] 1035 | maybe_cb: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/bundler.rs:1035:63 [INFO] [stdout] | [INFO] [stdout] 1035 | maybe_cb: Option) -> ()>>, [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Location` which implements the `Copy` trait [INFO] [stdout] --> src/context.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | loc: style_rule.loc.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `style_rule.loc` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/css_modules.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let end_idx = input.find('[').unwrap_or_else(|| input.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 127 - let end_idx = input.find('[').unwrap_or_else(|| input.len()); [INFO] [stdout] 127 + let end_idx = input.find('[').unwrap_or(input.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/css_modules.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | sources: &'c Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 282 - sources: &'c Vec, [INFO] [stdout] 282 + sources: &'c [String], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/css_modules.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | let project_root = project_root.map(|p| Path::new(p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Path::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/css_modules.rs:288:50 [INFO] [stdout] | [INFO] [stdout] 288 | let sources: Vec<&Path> = sources.iter().map(|filename| Path::new(filename)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Path::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | &self.sources[*source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[*source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/css_modules.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | / match sel.iter_raw_match_order().next().unwrap() { [INFO] [stdout] 472 | | parcel_selectors::parser::Component::Class(ref id) => { [INFO] [stdout] 473 | | for name in &composes.names { [INFO] [stdout] 474 | | let reference = match &composes.from { [INFO] [stdout] ... | [INFO] [stdout] 525 | | _ => {} [INFO] [stdout] 526 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 471 ~ if let parcel_selectors::parser::Component::Class(ref id) = sel.iter_raw_match_order().next().unwrap() { [INFO] [stdout] 472 + for name in &composes.names { [INFO] [stdout] 473 + let reference = match &composes.from { [INFO] [stdout] 474 + None => CssModuleReference::Local { [INFO] [stdout] 475 + name: self [INFO] [stdout] 476 + .config [INFO] [stdout] 477 + .pattern [INFO] [stdout] 478 + .write_to_string( [INFO] [stdout] 479 + String::new(), [INFO] [stdout] 480 + &self.hashes[source_index as usize], [INFO] [stdout] 481 + &self.sources[source_index as usize], [INFO] [stdout] 482 + name.0.as_ref(), [INFO] [stdout] 483 + if let Some(content_hashes) = &self.content_hashes { [INFO] [stdout] 484 + &content_hashes[source_index as usize] [INFO] [stdout] 485 + } else { [INFO] [stdout] 486 + "" [INFO] [stdout] 487 + }, [INFO] [stdout] 488 + ) [INFO] [stdout] 489 + .unwrap(), [INFO] [stdout] 490 + }, [INFO] [stdout] 491 + Some(Specifier::SourceIndex(dep_source_index)) => { [INFO] [stdout] 492 + if let Some(entry) = [INFO] [stdout] 493 + self.exports_by_source_index[*dep_source_index as usize].get(&name.0.as_ref().to_owned()) [INFO] [stdout] 494 + { [INFO] [stdout] 495 + let name = entry.name.clone(); [INFO] [stdout] 496 + let composes = entry.composes.clone(); [INFO] [stdout] 497 + let export = self.exports_by_source_index[source_index as usize] [INFO] [stdout] 498 + .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] 499 + .unwrap(); [INFO] [stdout] 500 + [INFO] [stdout] 501 + export.composes.push(CssModuleReference::Local { name }); [INFO] [stdout] 502 + export.composes.extend(composes); [INFO] [stdout] 503 + } [INFO] [stdout] 504 + continue; [INFO] [stdout] 505 + } [INFO] [stdout] 506 + Some(Specifier::Global) => CssModuleReference::Global { [INFO] [stdout] 507 + name: name.0.as_ref().into(), [INFO] [stdout] 508 + }, [INFO] [stdout] 509 + Some(Specifier::File(file)) => CssModuleReference::Dependency { [INFO] [stdout] 510 + name: name.0.to_string(), [INFO] [stdout] 511 + specifier: file.to_string(), [INFO] [stdout] 512 + }, [INFO] [stdout] 513 + }; [INFO] [stdout] 514 + [INFO] [stdout] 515 + let export = self.exports_by_source_index[source_index as usize] [INFO] [stdout] 516 + .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] 517 + .unwrap(); [INFO] [stdout] 518 + if !export.composes.contains(&reference) { [INFO] [stdout] 519 + export.composes.push(reference); [INFO] [stdout] 520 + } [INFO] [stdout] 521 + } [INFO] [stdout] 522 + continue; [INFO] [stdout] 523 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/css_modules.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | &self.sources[source_index as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sources[source_index as usize]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:494:82 [INFO] [stdout] | [INFO] [stdout] 494 | self.exports_by_source_index[*dep_source_index as usize].get(&name.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `name.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] = note: `#[warn(clippy::unnecessary_to_owned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:499:32 [INFO] [stdout] | [INFO] [stdout] 499 | .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `id.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_owned` [INFO] [stdout] --> src/css_modules.rs:517:26 [INFO] [stdout] | [INFO] [stdout] 517 | .get_mut(&id.0.as_ref().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `id.0.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual check for common ascii range [INFO] [stdout] --> src/css_modules.rs:543:18 [INFO] [stdout] | [INFO] [stdout] 543 | if at_start && matches!(hash.as_bytes()[0], b'0'..=b'9') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check [INFO] [stdout] = note: `#[warn(clippy::manual_is_ascii_check)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 543 - if at_start && matches!(hash.as_bytes()[0], b'0'..=b'9') { [INFO] [stdout] 543 + if at_start && hash.as_bytes()[0].is_ascii_digit() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/masking.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for MaskMode { [INFO] [stdout] 49 | | fn default() -> MaskMode { [INFO] [stdout] 50 | | MaskMode::MatchSource [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/declaration.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | while let Some(res) = parser.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for res in parser` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] = note: `#[warn(clippy::while_let_on_iterator)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/declaration.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | return self.declarations.is_empty() && self.important_declarations.is_empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 268 - return self.declarations.is_empty() && self.important_declarations.is_empty(); [INFO] [stdout] 268 + self.declarations.is_empty() && self.important_declarations.is_empty() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:331:73 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some((shorthand, important)) = property_id.shorthand_value(&self) { [INFO] [stdout] | ^^^^^ help: change this to: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/masking.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / impl Default for GeometryBox { [INFO] [stdout] 101 | | fn default() -> GeometryBox { [INFO] [stdout] 102 | | GeometryBox::BorderBox [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:340:46 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(val) = property.longhand(&property_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `property_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:419:87 [INFO] [stdout] | [INFO] [stdout] 419 | } else if longhands.is_empty() && id.longhands().unwrap_or(vec![]).contains(&property_id) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `property_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/masking.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | impl Into for GeometryBox { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From` [INFO] [stdout] | [INFO] [stdout] 132 ~ impl From for MaskClip { [INFO] [stdout] 133 ~ fn from(val: GeometryBox) -> Self { [INFO] [stdout] 134 ~ MaskClip::GeometryBox(val.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `GeometryBox` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | MaskClip::GeometryBox(self.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ help: try removing the `clone` call: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | &mut self.declarations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.declarations` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:479:7 [INFO] [stdout] | [INFO] [stdout] 479 | &mut self.important_declarations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.important_declarations` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/declaration.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 480 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/masking.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl Default for MaskComposite { [INFO] [stdout] 159 | | fn default() -> MaskComposite { [INFO] [stdout] 160 | | MaskComposite::Add [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:659:25 [INFO] [stdout] | [INFO] [stdout] 659 | unicode_bidi: self.unicode_bidi.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.unicode_bidi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:660:22 [INFO] [stdout] | [INFO] [stdout] 660 | direction: self.direction.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.direction` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `CSSWideKeyword` which implements the `Copy` trait [INFO] [stdout] --> src/declaration.rs:667:42 [INFO] [stdout] | [INFO] [stdout] 667 | handler.decls.push(Property::All(keyword.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try dereferencing it: `*keyword` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/properties/masking.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | / impl Default for MaskBorderMode { [INFO] [stdout] 464 | | fn default() -> MaskBorderMode { [INFO] [stdout] 465 | | MaskBorderMode::Alpha [INFO] [stdout] 466 | | } [INFO] [stdout] 467 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/properties/masking.rs:543:1 [INFO] [stdout] | [INFO] [stdout] 543 | impl<'i> Into> for MaskBorder<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From>` [INFO] [stdout] | [INFO] [stdout] 543 ~ impl<'i> From> for BorderImage<'i> { [INFO] [stdout] 544 ~ fn from(val: MaskBorder<'i>) -> Self { [INFO] [stdout] 545 | BorderImage { [INFO] [stdout] 546 ~ source: val.source, [INFO] [stdout] 547 ~ slice: val.slice, [INFO] [stdout] 548 ~ width: val.width, [INFO] [stdout] 549 ~ outset: val.outset, [INFO] [stdout] 550 ~ repeat: val.repeat, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/logical.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Default for PropertyCategory { [INFO] [stdout] 8 | | fn default() -> PropertyCategory { [INFO] [stdout] 9 | | PropertyCategory::Physical [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Default)] [INFO] [stdout] 3 | pub enum PropertyCategory { [INFO] [stdout] 4 | Logical, [INFO] [stdout] 5 ~ #[default] [INFO] [stdout] 6 ~ Physical, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `GeometryBox` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:686:42 [INFO] [stdout] | [INFO] [stdout] 686 | let origins = val.iter().map(|b| b.origin.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/media_query.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn and(&mut self, b: &MediaList<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `MaskComposite` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:689:51 [INFO] [stdout] | [INFO] [stdout] 689 | self.composites = Some(val.iter().map(|b| b.composite.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.composite` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `MaskMode` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:690:46 [INFO] [stdout] | [INFO] [stdout] 690 | self.modes = Some(val.iter().map(|b| b.mode.clone()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `b.mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | if self.media_queries.contains(&b) { [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | a.and(&b)?; [INFO] [stdout] | ^^ help: change this to: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:155:39 [INFO] [stdout] | [INFO] [stdout] 155 | if !self.media_queries.contains(&mq) { [INFO] [stdout] | ^^^ help: change this to: `mq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `MaskBorderMode` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:710:64 [INFO] [stdout] | [INFO] [stdout] 710 | Property::MaskBorderMode(val) => self.border_mode = Some(val.clone()), [INFO] [stdout] | ^^^^^^^^^^^ help: try dereferencing it: `*val` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/media_query.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | impl<'i> Into> for MediaType<'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] help: replace the `Into` implementation with `From>` [INFO] [stdout] | [INFO] [stdout] 227 ~ impl<'i> From> for CowArcStr<'i> { [INFO] [stdout] 228 ~ fn from(val: MediaType<'i>) -> Self { [INFO] [stdout] 229 ~ match val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | self.qualifier == None && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.qualifier.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] = note: `#[warn(clippy::partialeq_to_none)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:355:68 [INFO] [stdout] | [INFO] [stdout] 355 | self.qualifier == None && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.condition.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:360:84 [INFO] [stdout] | [INFO] [stdout] 360 | self.qualifier == Some(Qualifier::Not) && self.media_type == MediaType::All && self.condition == None [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.condition.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the function definition [INFO] [stdout] --> src/media_query.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn and<'a>(&mut self, b: &MediaQuery<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/media_query.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn and<'a>(&mut self, b: &MediaQuery<'i>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/media_query.rs:392:48 [INFO] [stdout] | [INFO] [stdout] 392 | ((q, t), (&Some(Qualifier::Not), _)) => (q.clone(), t.clone()), [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*q` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `MaskBorderMode` which implements the `Copy` trait [INFO] [stdout] --> src/properties/masking.rs:721:33 [INFO] [stdout] | [INFO] [stdout] 721 | self.border_mode = Some(val.mode.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `val.mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/media_query.rs:788:14 [INFO] [stdout] | [INFO] [stdout] 788 | ref t => return Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 788 - ref t => return Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] 788 + ref t => Err(location.new_unexpected_token_error(t.clone())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/media_query.rs:833:15 [INFO] [stdout] | [INFO] [stdout] 833 | conditions: &Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 833 - conditions: &Vec, [INFO] [stdout] 833 + conditions: &[V], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1254:51 [INFO] [stdout] | [INFO] [stdout] 1254 | let is_webkit = starts_with_ignore_ascii_case(&name, "-webkit-"); [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/masking.rs:1142:3 [INFO] [stdout] | [INFO] [stdout] 1142 | / match property_id { [INFO] [stdout] 1143 | | PropertyId::MaskImage(_) [INFO] [stdout] 1144 | | | PropertyId::MaskPosition(_) [INFO] [stdout] 1145 | | | PropertyId::MaskSize(_) [INFO] [stdout] ... | [INFO] [stdout] 1152 | | _ => false, [INFO] [stdout] 1153 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1142 ~ matches!(property_id, PropertyId::MaskImage(_) [INFO] [stdout] 1143 + | PropertyId::MaskPosition(_) [INFO] [stdout] 1144 + | PropertyId::MaskSize(_) [INFO] [stdout] 1145 + | PropertyId::MaskRepeat(_) [INFO] [stdout] 1146 + | PropertyId::MaskClip(_) [INFO] [stdout] 1147 + | PropertyId::MaskOrigin(_) [INFO] [stdout] 1148 + | PropertyId::MaskComposite [INFO] [stdout] 1149 + | PropertyId::MaskMode [INFO] [stdout] 1150 + | PropertyId::Mask(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1259:55 [INFO] [stdout] | [INFO] [stdout] 1259 | let comparator = if starts_with_ignore_ascii_case(&name, "min-") { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/properties/masking.rs:1158:3 [INFO] [stdout] | [INFO] [stdout] 1158 | / match property_id { [INFO] [stdout] 1159 | | PropertyId::MaskBorderSource [INFO] [stdout] 1160 | | | PropertyId::MaskBorderSlice [INFO] [stdout] 1161 | | | PropertyId::MaskBorderWidth [INFO] [stdout] ... | [INFO] [stdout] 1166 | | _ => false, [INFO] [stdout] 1167 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1158 ~ matches!(property_id, PropertyId::MaskBorderSource [INFO] [stdout] 1159 + | PropertyId::MaskBorderSlice [INFO] [stdout] 1160 + | PropertyId::MaskBorderWidth [INFO] [stdout] 1161 + | PropertyId::MaskBorderOutset [INFO] [stdout] 1162 + | PropertyId::MaskBorderRepeat [INFO] [stdout] 1163 + | PropertyId::MaskBorderMode [INFO] [stdout] 1164 + | PropertyId::MaskBorder) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1262:45 [INFO] [stdout] | [INFO] [stdout] 1262 | } else if starts_with_ignore_ascii_case(&name, "max-") { [INFO] [stdout] | ^^^^^ help: change this to: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/media_query.rs:1781:7 [INFO] [stdout] | [INFO] [stdout] 1781 | / match &**cond { [INFO] [stdout] 1782 | | MediaCondition::Not(cond) => { [INFO] [stdout] 1783 | | *condition = (**cond).clone(); [INFO] [stdout] ... | [INFO] [stdout] 1786 | | } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1781 ~ if let MediaCondition::Not(cond) = &**cond { [INFO] [stdout] 1782 + *condition = (**cond).clone(); [INFO] [stdout] 1783 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binary comparison to literal `Option::None` [INFO] [stdout] --> src/media_query.rs:1827:52 [INFO] [stdout] | [INFO] [stdout] 1827 | if query.media_type != MediaType::All || query.qualifier != None { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_some()` instead: `query.qualifier.is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option` which implements the `Copy` trait [INFO] [stdout] --> src/media_query.rs:1837:28 [INFO] [stdout] | [INFO] [stdout] 1837 | *qualifier = query.qualifier.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `query.qualifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this block may be rewritten with the `?` operator [INFO] [stdout] --> src/media_query.rs:1869:7 [INFO] [stdout] | [INFO] [stdout] 1869 | / if res.is_err() { [INFO] [stdout] 1870 | | return res; [INFO] [stdout] 1871 | | } [INFO] [stdout] | |_______^ help: replace it with: `res.as_ref()?;` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/media_query.rs:1901:38 [INFO] [stdout] | [INFO] [stdout] 1901 | let mut input = ParserInput::new(&s); [INFO] [stdout] | ^^ help: change this to: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `OverflowKeyword` which implements the `Copy` trait [INFO] [stdout] --> src/properties/overflow.rs:45:72 [INFO] [stdout] | [INFO] [stdout] 45 | let y = input.try_parse(OverflowKeyword::parse).unwrap_or_else(|_| x.clone()); [INFO] [stdout] | ^^^^^^^^^ help: try removing the `clone` call: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> TopLevelRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | rules: &mut self.rules, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `self.rules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/position.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 43 - match_ignore_ascii_case! { &*ident, [INFO] [stdout] 43 + match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 43 | match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:287:69 [INFO] [stdout] | [INFO] [stdout] 287 | let name = input.parse_nested_block(LayerName::parse).map(|name| Some(name))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `Some` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:300:45 [INFO] [stdout] | [INFO] [stdout] 300 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:447:14 [INFO] [stdout] | [INFO] [stdout] 447 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> NestedRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/parser.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | / if parse_declarations { [INFO] [stdout] 487 | | if !errors.is_empty() { [INFO] [stdout] 488 | | if self.options.error_recovery { [INFO] [stdout] 489 | | for err in errors { [INFO] [stdout] ... | [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 486 ~ if parse_declarations [INFO] [stdout] 487 ~ && !errors.is_empty() { [INFO] [stdout] 488 | if self.options.error_recovery { [INFO] [stdout] ... [INFO] [stdout] 494 | } [INFO] [stdout] 495 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if let` can be collapsed into the outer `if let` [INFO] [stdout] --> src/properties/prefix_handler.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | / if let Property::$name(cur, prefixes) = decl { [INFO] [stdout] 28 | | // If the value is the same, update the prefix. [INFO] [stdout] 29 | | // If the prefix is the same, then update the value. [INFO] [stdout] 30 | | if val == cur || prefixes.contains(*prefix) { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |___________________^ [INFO] [stdout] ... [INFO] [stdout] 59 | / define_prefixes! { [INFO] [stdout] 60 | | TransformOrigin, [INFO] [stdout] 61 | | TransformStyle, [INFO] [stdout] 62 | | BackfaceVisibility, [INFO] [stdout] ... | [INFO] [stdout] 76 | | PrintColorAdjust, [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/properties/prefix_handler.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(decl) = dest.get_mut(i) { [INFO] [stdout] | ^^^^ replace this binding [INFO] [stdout] 27 | if let Property::$name(cur, prefixes) = decl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this pattern [INFO] [stdout] ... [INFO] [stdout] 59 | / define_prefixes! { [INFO] [stdout] 60 | | TransformOrigin, [INFO] [stdout] 61 | | TransformStyle, [INFO] [stdout] 62 | | BackfaceVisibility, [INFO] [stdout] ... | [INFO] [stdout] 76 | | PrintColorAdjust, [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: this warning originates in the macro `define_prefixes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/parser.rs:522:8 [INFO] [stdout] | [INFO] [stdout] 522 | if declarations.len() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!declarations.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> AtRuleParser<'i> for NestedRuleParser<'a, 'o, 'i, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:554:45 [INFO] [stdout] | [INFO] [stdout] 554 | let media = MediaList::parse(input, &self.options)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/parser.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let names = match Vec::::parse(input) { [INFO] [stdout] | _____________________^ [INFO] [stdout] 574 | | Ok(names) => names, [INFO] [stdout] 575 | | Err(e) => return Err(e) [INFO] [stdout] 576 | | }; [INFO] [stdout] | |_________^ help: try instead: `Vec::::parse(input)?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:589:55 [INFO] [stdout] | [INFO] [stdout] 589 | let prefix = if starts_with_ignore_ascii_case(&*name, "-ms") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:597:55 [INFO] [stdout] | [INFO] [stdout] 597 | let prefix = if starts_with_ignore_ascii_case(&*name, "-webkit-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:599:49 [INFO] [stdout] | [INFO] [stdout] 599 | } else if starts_with_ignore_ascii_case(&*name, "-moz-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:601:49 [INFO] [stdout] | [INFO] [stdout] 601 | } else if starts_with_ignore_ascii_case(&*name, "-o-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser.rs:603:49 [INFO] [stdout] | [INFO] [stdout] 603 | } else if starts_with_ignore_ascii_case(&*name, "-ms-") { [INFO] [stdout] | ^^^^^^ help: try: `&name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:646:85 [INFO] [stdout] | [INFO] [stdout] 646 | match input.try_parse(|input| ContainerCondition::parse_with_options(input, &self.options)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:665:20 [INFO] [stdout] | [INFO] [stdout] 665 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:696:20 [INFO] [stdout] | [INFO] [stdout] 696 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/parser.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | while let Some(decl) = parser.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for decl in parser` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:929:47 [INFO] [stdout] | [INFO] [stdout] 929 | block: Some(TokenList::parse(input, &self.options, 0)?), [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> QualifiedRuleParser<'i> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:962:16 [INFO] [stdout] | [INFO] [stdout] 962 | options: &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | &self.options, [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `self.options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:1049:14 [INFO] [stdout] | [INFO] [stdout] 1049 | impl<'a, 'o, 'b, 'i, T: crate::traits::AtRuleParser<'i>> RuleBodyItemParser<'i, (), ParserError<'i>> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/parser.rs:1086:40 [INFO] [stdout] | [INFO] [stdout] 1086 | let tokens = TokenList::parse(input, &options, 0)?; [INFO] [stdout] | ^^^^^^^^ help: change this to: `options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:1100:10 [INFO] [stdout] | [INFO] [stdout] 1100 | .map(|prelude| CssRule::Custom(prelude)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `CssRule::Custom` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser.rs:1119:10 [INFO] [stdout] | [INFO] [stdout] 1119 | .map(|prelude| CssRule::Custom(prelude)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `CssRule::Custom` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/size.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 65 - Ok(match_ignore_ascii_case! { &*ident, [INFO] [stdout] 65 + Ok(match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 65 | Ok(match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/properties/size.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(match_ignore_ascii_case! { &*ident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 198 - Ok(match_ignore_ascii_case! { &*ident, [INFO] [stdout] 198 + Ok(match_ignore_ascii_case! { ident, [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 198 | Ok(match_ignore_ascii_case! { &**ident, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | if version >= 131072 && version <= 198144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=198144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | if version >= 196864 && version <= 262144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=262144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 231 | if version >= 131328 && version <= 196608 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=196608).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | if version >= 262144 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | if version >= 197888 && version <= 198144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=198144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | if version >= 197120 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | if version >= 196864 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/properties/size.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | input.parse_nested_block(|input| LengthPercentage::parse(input)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `LengthPercentage::parse` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | if version >= 262144 && version <= 2752512 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2752512).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | if version >= 327680 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | if version >= 983040 && version <= 1900544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1900544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | if version >= 262144 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | if version >= 262144 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | if version >= 262144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | if version >= 655360 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | if version >= 196864 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | if version >= 262144 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | if version >= 197888 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | if version >= 656640 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656640..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | if version >= 786432 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | if version >= 655360 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | if version >= 262144 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | if version >= 786432 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | if version >= 655360 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | if version >= 983040 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | if version >= 262144 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:450:14 [INFO] [stdout] | [INFO] [stdout] 450 | if version >= 262144 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | if version >= 198144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(198144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:460:14 [INFO] [stdout] | [INFO] [stdout] 460 | if version >= 197120 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | if version >= 721152 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(721152..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | if version >= 262144 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:477:14 [INFO] [stdout] | [INFO] [stdout] 477 | if version >= 131328 && version <= 196608 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=196608).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:482:14 [INFO] [stdout] | [INFO] [stdout] 482 | if version >= 262144 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | if version >= 131072 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:492:14 [INFO] [stdout] | [INFO] [stdout] 492 | if version >= 197120 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | if version >= 196864 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:504:14 [INFO] [stdout] | [INFO] [stdout] 504 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | if version >= 1179648 && version <= 3407872 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1179648..=3407872).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:514:14 [INFO] [stdout] | [INFO] [stdout] 514 | if version >= 393216 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 519 | if version >= 983040 && version <= 2555904 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2555904).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | if version >= 393216 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | if version >= 262144 && version <= 393728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:536:14 [INFO] [stdout] | [INFO] [stdout] 536 | if version >= 589824 && version <= 590592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=590592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | if version >= 1114112 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1114112..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:553:14 [INFO] [stdout] | [INFO] [stdout] 553 | if version >= 589824 && version <= 1115648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=1115648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | if version >= 589824 && version <= 1115648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=1115648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:581:14 [INFO] [stdout] | [INFO] [stdout] 581 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | if version >= 262144 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | if version >= 131072 && version <= 3342336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=3342336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:596:14 [INFO] [stdout] | [INFO] [stdout] 596 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:601:14 [INFO] [stdout] | [INFO] [stdout] 601 | if version >= 983040 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:606:14 [INFO] [stdout] | [INFO] [stdout] 606 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:618:14 [INFO] [stdout] | [INFO] [stdout] 618 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | if version >= 262144 && version <= 3211264 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3211264).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:628:14 [INFO] [stdout] | [INFO] [stdout] 628 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 633 | if version >= 983040 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:650:14 [INFO] [stdout] | [INFO] [stdout] 650 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | if version >= 262144 && version <= 3473408 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3473408).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:660:14 [INFO] [stdout] | [INFO] [stdout] 660 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | if version >= 131072 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | if version >= 983040 && version <= 2621440 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2621440).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | if version >= 262144 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:710:14 [INFO] [stdout] | [INFO] [stdout] 710 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:715:14 [INFO] [stdout] | [INFO] [stdout] 715 | if version >= 262144 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 720 | if version >= 131072 && version <= 1376256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1376256).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:730:14 [INFO] [stdout] | [INFO] [stdout] 730 | if version >= 197120 && version <= 524544 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=524544).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | if version >= 983040 && version <= 1048576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1048576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:740:14 [INFO] [stdout] | [INFO] [stdout] 740 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:747:14 [INFO] [stdout] | [INFO] [stdout] 747 | if version >= 1245184 && version <= 1638400 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1245184..=1638400).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:752:14 [INFO] [stdout] | [INFO] [stdout] 752 | if version >= 262144 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:769:14 [INFO] [stdout] | [INFO] [stdout] 769 | if version >= 131328 && version <= 131840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=131840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:786:14 [INFO] [stdout] | [INFO] [stdout] 786 | if version >= 262144 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:791:14 [INFO] [stdout] | [INFO] [stdout] 791 | if version >= 262144 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:796:14 [INFO] [stdout] | [INFO] [stdout] 796 | if version >= 786432 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:799:14 [INFO] [stdout] | [INFO] [stdout] 799 | if version >= 5177344 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:804:14 [INFO] [stdout] | [INFO] [stdout] 804 | if version >= 983040 && version <= 6881280 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6881280).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:809:14 [INFO] [stdout] | [INFO] [stdout] 809 | if version >= 197120 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:814:14 [INFO] [stdout] | [INFO] [stdout] 814 | if version >= 262144 && version <= 1572864 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1572864).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:819:14 [INFO] [stdout] | [INFO] [stdout] 819 | if version >= 262144 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:826:14 [INFO] [stdout] | [INFO] [stdout] 826 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:831:14 [INFO] [stdout] | [INFO] [stdout] 831 | if version >= 1048576 && version <= 3080192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1048576..=3080192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:836:14 [INFO] [stdout] | [INFO] [stdout] 836 | if version >= 262144 && version <= 2162688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2162688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | if version >= 983040 && version <= 2228224 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2228224).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:858:14 [INFO] [stdout] | [INFO] [stdout] 858 | if version >= 1900544 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1900544..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:863:14 [INFO] [stdout] | [INFO] [stdout] 863 | if version >= 524288 && version <= 721664 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=721664).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | if version >= 1048576 && version <= 1245184 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1048576..=1245184).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:873:14 [INFO] [stdout] | [INFO] [stdout] 873 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:880:14 [INFO] [stdout] | [INFO] [stdout] 880 | if version >= 131328 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:885:14 [INFO] [stdout] | [INFO] [stdout] 885 | if version >= 262144 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:890:14 [INFO] [stdout] | [INFO] [stdout] 890 | if version >= 197888 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:895:14 [INFO] [stdout] | [INFO] [stdout] 895 | if version >= 197120 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:900:14 [INFO] [stdout] | [INFO] [stdout] 900 | if version >= 720896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(720896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:905:14 [INFO] [stdout] | [INFO] [stdout] 905 | if version >= 196864 && version <= 327936 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=327936).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:912:14 [INFO] [stdout] | [INFO] [stdout] 912 | if version >= 131072 && version <= 3997696 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=3997696).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:919:14 [INFO] [stdout] | [INFO] [stdout] 919 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:924:14 [INFO] [stdout] | [INFO] [stdout] 924 | if version >= 262144 && version <= 3670016 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3670016).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:929:14 [INFO] [stdout] | [INFO] [stdout] 929 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | if version >= 1179648 && version <= 3276800 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1179648..=3276800).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | if version >= 262656 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262656..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | if version >= 983040 && version <= 2818048 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2818048).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:954:14 [INFO] [stdout] | [INFO] [stdout] 954 | if version >= 327680 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:959:14 [INFO] [stdout] | [INFO] [stdout] 959 | if version >= 262144 && version <= 393728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=393728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:966:14 [INFO] [stdout] | [INFO] [stdout] 966 | if version >= 262144 && version <= 3276800 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=3276800).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:978:14 [INFO] [stdout] | [INFO] [stdout] 978 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:983:14 [INFO] [stdout] | [INFO] [stdout] 983 | if version >= 393216 && version <= 2752512 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=2752512).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:993:14 [INFO] [stdout] | [INFO] [stdout] 993 | if version >= 262656 && version <= 1050112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262656..=1050112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:998:14 [INFO] [stdout] | [INFO] [stdout] 998 | if version >= 327936 && version <= 1050112 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=1050112).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1005:14 [INFO] [stdout] | [INFO] [stdout] 1005 | if version >= 983040 && version <= 4587520 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4587520).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1010:14 [INFO] [stdout] | [INFO] [stdout] 1010 | if version >= 655360 && version <= 4128768 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(655360..=4128768).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1020:14 [INFO] [stdout] | [INFO] [stdout] 1020 | if version >= 983040 && version <= 4128768 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4128768).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1025:14 [INFO] [stdout] | [INFO] [stdout] 1025 | if version >= 327936 && version <= 1049344 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327936..=1049344).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1030:14 [INFO] [stdout] | [INFO] [stdout] 1030 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1037:14 [INFO] [stdout] | [INFO] [stdout] 1037 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1042:14 [INFO] [stdout] | [INFO] [stdout] 1042 | if version >= 2097152 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(2097152..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1047:14 [INFO] [stdout] | [INFO] [stdout] 1047 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1055:14 [INFO] [stdout] | [INFO] [stdout] 1055 | if version >= 1245184 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1245184..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1062:14 [INFO] [stdout] | [INFO] [stdout] 1062 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1067:14 [INFO] [stdout] | [INFO] [stdout] 1067 | if version >= 262144 && version <= 5767168 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5767168).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1072:14 [INFO] [stdout] | [INFO] [stdout] 1072 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1075:14 [INFO] [stdout] | [INFO] [stdout] 1075 | if version >= 5177344 && version <= 5767168 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=5767168).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | if version >= 197120 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | if version >= 983040 && version <= 4849664 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4849664).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1095:14 [INFO] [stdout] | [INFO] [stdout] 1095 | if version >= 196864 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1100:14 [INFO] [stdout] | [INFO] [stdout] 1100 | if version >= 262144 && version <= 917504 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=917504).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1107:14 [INFO] [stdout] | [INFO] [stdout] 1107 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1112:14 [INFO] [stdout] | [INFO] [stdout] 1112 | if version >= 262144 && version <= 7143424 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7143424).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1117:14 [INFO] [stdout] | [INFO] [stdout] 1117 | if version >= 5177344 && version <= 7143424 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7143424).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | if version >= 197120 && version <= 918784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=918784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1127:14 [INFO] [stdout] | [INFO] [stdout] 1127 | if version >= 983040 && version <= 6225920 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6225920).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1132:14 [INFO] [stdout] | [INFO] [stdout] 1132 | if version >= 196864 && version <= 917760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=917760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1137:14 [INFO] [stdout] | [INFO] [stdout] 1137 | if version >= 262144 && version <= 1310720 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1310720).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1144:14 [INFO] [stdout] | [INFO] [stdout] 1144 | if version >= 262144 && version <= 5898240 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5898240).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1149 | if version >= 656896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1156:14 [INFO] [stdout] | [INFO] [stdout] 1156 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1161:14 [INFO] [stdout] | [INFO] [stdout] 1161 | if version >= 1441792 && version <= 2949120 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=2949120).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1166:14 [INFO] [stdout] | [INFO] [stdout] 1166 | if version >= 196608 && version <= 4259840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=4259840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1171:14 [INFO] [stdout] | [INFO] [stdout] 1171 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1176:14 [INFO] [stdout] | [INFO] [stdout] 1176 | if version >= 983040 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1181:14 [INFO] [stdout] | [INFO] [stdout] 1181 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1208:14 [INFO] [stdout] | [INFO] [stdout] 1208 | if version >= 196608 && version <= 4259840 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=4259840).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1213:14 [INFO] [stdout] | [INFO] [stdout] 1213 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1223:14 [INFO] [stdout] | [INFO] [stdout] 1223 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1235:14 [INFO] [stdout] | [INFO] [stdout] 1235 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1240:14 [INFO] [stdout] | [INFO] [stdout] 1240 | if version >= 1441792 && version <= 2949120 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=2949120).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1245:14 [INFO] [stdout] | [INFO] [stdout] 1245 | if version >= 196608 && version <= 6094848 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=6094848).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1250:14 [INFO] [stdout] | [INFO] [stdout] 1250 | if version >= 458752 && version <= 852992 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=852992).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1255:14 [INFO] [stdout] | [INFO] [stdout] 1255 | if version >= 983040 && version <= 2097152 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2097152).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1260:14 [INFO] [stdout] | [INFO] [stdout] 1260 | if version >= 393472 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1277:14 [INFO] [stdout] | [INFO] [stdout] 1277 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1282:14 [INFO] [stdout] | [INFO] [stdout] 1282 | if version >= 1441792 && version <= 8978432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=8978432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1287:14 [INFO] [stdout] | [INFO] [stdout] 1287 | if version >= 5177344 && version <= 8978432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=8978432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1314:14 [INFO] [stdout] | [INFO] [stdout] 1314 | if version >= 262144 && version <= 2359296 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=2359296).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1319:14 [INFO] [stdout] | [INFO] [stdout] 1319 | if version >= 131072 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1324:14 [INFO] [stdout] | [INFO] [stdout] 1324 | if version >= 983040 && version <= 1507328 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1507328).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1329:14 [INFO] [stdout] | [INFO] [stdout] 1329 | if version >= 196864 && version <= 524288 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=524288).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1336:14 [INFO] [stdout] | [INFO] [stdout] 1336 | if version >= 262144 && version <= 4390912 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4390912).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1341:14 [INFO] [stdout] | [INFO] [stdout] 1341 | if version >= 131072 && version <= 1703936 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=1703936).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1346:14 [INFO] [stdout] | [INFO] [stdout] 1346 | if version >= 983040 && version <= 3538944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3538944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1351:14 [INFO] [stdout] | [INFO] [stdout] 1351 | if version >= 196864 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1358:14 [INFO] [stdout] | [INFO] [stdout] 1358 | if version >= 393216 && version <= 786944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=786944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1363:14 [INFO] [stdout] | [INFO] [stdout] 1363 | if version >= 393472 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1382:14 [INFO] [stdout] | [INFO] [stdout] 1382 | if version >= 459008 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(459008..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1389:14 [INFO] [stdout] | [INFO] [stdout] 1389 | if version >= 524288 && version <= 1704192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=1704192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1394:14 [INFO] [stdout] | [INFO] [stdout] 1394 | if version >= 524288 && version <= 1704192 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=1704192).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1401:14 [INFO] [stdout] | [INFO] [stdout] 1401 | if version >= 393216 && version <= 2293760 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=2293760).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1406:14 [INFO] [stdout] | [INFO] [stdout] 1406 | if version >= 524288 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1411:14 [INFO] [stdout] | [INFO] [stdout] 1411 | if version >= 524288 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1421:14 [INFO] [stdout] | [INFO] [stdout] 1421 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1451:14 [INFO] [stdout] | [INFO] [stdout] 1451 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1456:14 [INFO] [stdout] | [INFO] [stdout] 1456 | if version >= 262144 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1461:14 [INFO] [stdout] | [INFO] [stdout] 1461 | if version >= 5177344 && version <= 7798784 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7798784).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1466:14 [INFO] [stdout] | [INFO] [stdout] 1466 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1471:14 [INFO] [stdout] | [INFO] [stdout] 1471 | if version >= 983040 && version <= 6881280 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6881280).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1476:14 [INFO] [stdout] | [INFO] [stdout] 1476 | if version >= 262144 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1481:14 [INFO] [stdout] | [INFO] [stdout] 1481 | if version >= 262144 && version <= 1572864 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1572864).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1488:14 [INFO] [stdout] | [INFO] [stdout] 1488 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1493:14 [INFO] [stdout] | [INFO] [stdout] 1493 | if version >= 1572864 && version <= 3538944 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1572864..=3538944).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1498:14 [INFO] [stdout] | [INFO] [stdout] 1498 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1503:14 [INFO] [stdout] | [INFO] [stdout] 1503 | if version >= 983040 && version <= 2686976 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=2686976).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1508:14 [INFO] [stdout] | [INFO] [stdout] 1508 | if version >= 458752 && version <= 589824 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=589824).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1513:14 [INFO] [stdout] | [INFO] [stdout] 1513 | if version >= 262144 && version <= 327680 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=327680).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1520:14 [INFO] [stdout] | [INFO] [stdout] 1520 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1525:14 [INFO] [stdout] | [INFO] [stdout] 1525 | if version >= 1441792 && version <= 8454144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1441792..=8454144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1530:14 [INFO] [stdout] | [INFO] [stdout] 1530 | if version >= 5177344 && version <= 8454144 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=8454144).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1557:14 [INFO] [stdout] | [INFO] [stdout] 1557 | if version >= 656896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(656896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1564:14 [INFO] [stdout] | [INFO] [stdout] 1564 | if version >= 524288 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(524288..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1569:14 [INFO] [stdout] | [INFO] [stdout] 1569 | if version >= 459008 && version <= 655360 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(459008..=655360).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1576:14 [INFO] [stdout] | [INFO] [stdout] 1576 | if version >= 589824 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1583:14 [INFO] [stdout] | [INFO] [stdout] 1583 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1593:14 [INFO] [stdout] | [INFO] [stdout] 1593 | if version >= 720896 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(720896..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1600:14 [INFO] [stdout] | [INFO] [stdout] 1600 | if version >= 131840 && version <= 262656 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131840..=262656).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/properties/svg.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|color| SVGPaint::Color(color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `SVGPaint::Color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1605:14 [INFO] [stdout] | [INFO] [stdout] 1605 | if version >= 262144 && version <= 1835008 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1835008).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1610:14 [INFO] [stdout] | [INFO] [stdout] 1610 | if version >= 197888 && version <= 983040 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197888..=983040).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1615:14 [INFO] [stdout] | [INFO] [stdout] 1615 | if version >= 262144 && version <= 984576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=984576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1620:14 [INFO] [stdout] | [INFO] [stdout] 1620 | if version >= 591104 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(591104..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1625:14 [INFO] [stdout] | [INFO] [stdout] 1625 | if version >= 262144 && version <= 984576 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=984576).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1632:14 [INFO] [stdout] | [INFO] [stdout] 1632 | if version >= 786432 && version <= 3145728 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=3145728).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1639:14 [INFO] [stdout] | [INFO] [stdout] 1639 | if version >= 198144 && version <= 4194304 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(198144..=4194304).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1644:14 [INFO] [stdout] | [INFO] [stdout] 1644 | if version >= 327680 && version <= 393216 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(327680..=393216).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1649:14 [INFO] [stdout] | [INFO] [stdout] 1649 | if version >= 722432 && version <= 786688 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(722432..=786688).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1673:14 [INFO] [stdout] | [INFO] [stdout] 1673 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1678:14 [INFO] [stdout] | [INFO] [stdout] 1678 | if version >= 262144 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1683:14 [INFO] [stdout] | [INFO] [stdout] 1683 | if version >= 196608 && version <= 2621440 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=2621440).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1688:14 [INFO] [stdout] | [INFO] [stdout] 1688 | if version >= 197120 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1693:14 [INFO] [stdout] | [INFO] [stdout] 1693 | if version >= 983040 && version <= 3604480 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3604480).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1698:14 [INFO] [stdout] | [INFO] [stdout] 1698 | if version >= 196864 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1703:14 [INFO] [stdout] | [INFO] [stdout] 1703 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1715:14 [INFO] [stdout] | [INFO] [stdout] 1715 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1720:14 [INFO] [stdout] | [INFO] [stdout] 1720 | if version >= 262144 && version <= 4456448 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=4456448).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1725:14 [INFO] [stdout] | [INFO] [stdout] 1725 | if version >= 197120 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1730:14 [INFO] [stdout] | [INFO] [stdout] 1730 | if version >= 983040 && version <= 3604480 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=3604480).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1735:14 [INFO] [stdout] | [INFO] [stdout] 1735 | if version >= 196864 && version <= 786432 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=786432).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1740:14 [INFO] [stdout] | [INFO] [stdout] 1740 | if version >= 262144 && version <= 590336 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=590336).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1747:14 [INFO] [stdout] | [INFO] [stdout] 1747 | if version >= 131328 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131328..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1752:14 [INFO] [stdout] | [INFO] [stdout] 1752 | if version >= 262144 && version <= 5439488 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=5439488).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1757:14 [INFO] [stdout] | [INFO] [stdout] 1757 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1760:14 [INFO] [stdout] | [INFO] [stdout] 1760 | if version >= 5177344 && version <= 5439488 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=5439488).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1765:14 [INFO] [stdout] | [INFO] [stdout] 1765 | if version >= 131072 && version <= 5177344 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(131072..=5177344).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1773:14 [INFO] [stdout] | [INFO] [stdout] 1773 | if version >= 197120 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(197120..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1778:14 [INFO] [stdout] | [INFO] [stdout] 1778 | if version >= 983040 && version <= 4718592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=4718592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1783:14 [INFO] [stdout] | [INFO] [stdout] 1783 | if version >= 196864 && version <= 983552 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196864..=983552).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1788:14 [INFO] [stdout] | [INFO] [stdout] 1788 | if version >= 262144 && version <= 851968 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=851968).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1799:14 [INFO] [stdout] | [INFO] [stdout] 1799 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1809:14 [INFO] [stdout] | [INFO] [stdout] 1809 | if version >= 589824 && version <= 656128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=656128).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1814:14 [INFO] [stdout] | [INFO] [stdout] 1814 | if version >= 589824 && version <= 655616 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(589824..=655616).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1821:14 [INFO] [stdout] | [INFO] [stdout] 1821 | if version >= 983040 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1826:14 [INFO] [stdout] | [INFO] [stdout] 1826 | if version >= 786432 && version <= 1179648 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(786432..=1179648).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1836:14 [INFO] [stdout] | [INFO] [stdout] 1836 | if version >= 458752 && version <= 720896 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(458752..=720896).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1841:14 [INFO] [stdout] | [INFO] [stdout] 1841 | if version >= 393472 && version <= 720896 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393472..=720896).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1848:14 [INFO] [stdout] | [INFO] [stdout] 1848 | if version >= 263168 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(263168..=263171).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1853:14 [INFO] [stdout] | [INFO] [stdout] 1853 | if version >= 1376256 && version <= 7340032 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1376256..=7340032).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1858:14 [INFO] [stdout] | [INFO] [stdout] 1858 | if version >= 5177344 && version <= 7340032 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(5177344..=7340032).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1863:14 [INFO] [stdout] | [INFO] [stdout] 1863 | if version >= 393216 && version <= 590592 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=590592).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1868:14 [INFO] [stdout] | [INFO] [stdout] 1868 | if version >= 983040 && version <= 6422528 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(983040..=6422528).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1873:14 [INFO] [stdout] | [INFO] [stdout] 1873 | if version >= 393216 && version <= 590080 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(393216..=590080).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1878:14 [INFO] [stdout] | [INFO] [stdout] 1878 | if version >= 262144 && version <= 1441792 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(262144..=1441792).contains(&version)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/prefixes.rs:1885:14 [INFO] [stdout] | [INFO] [stdout] 1885 | if version >= 196608 && version <= 263171 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(196608..=263171).contains(&version)` [WARN] too many lines in the log, truncating it