[INFO] fetching crate garando_syntax 0.1.1... [INFO] linting garando_syntax-0.1.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate garando_syntax 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate garando_syntax 0.1.1 [INFO] finished tweaking crates.io crate garando_syntax 0.1.1 [INFO] tweaked toml for crates.io crate garando_syntax 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garando_syntax 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.0) [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] Downloading crates ... [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded garando_pos v0.1.0 [INFO] [stderr] Downloaded garando_errors v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9e93ed3272ce4ddf820faa41e55287c6aa68ecd94b73fc4f588a228306417989 [INFO] running `Command { std: "docker" "start" "-a" "9e93ed3272ce4ddf820faa41e55287c6aa68ecd94b73fc4f588a228306417989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e93ed3272ce4ddf820faa41e55287c6aa68ecd94b73fc4f588a228306417989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e93ed3272ce4ddf820faa41e55287c6aa68ecd94b73fc4f588a228306417989", kill_on_drop: false }` [INFO] [stdout] 9e93ed3272ce4ddf820faa41e55287c6aa68ecd94b73fc4f588a228306417989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 02c927a3460b1a09ceccf122f6a06ddfb8908ba30ec0d796338bcd671b25bc59 [INFO] running `Command { std: "docker" "start" "-a" "02c927a3460b1a09ceccf122f6a06ddfb8908ba30ec0d796338bcd671b25bc59", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking garando_pos v0.1.0 [INFO] [stderr] Checking garando_errors v0.1.0 [INFO] [stderr] Checking garando_syntax v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `crate` references the macro call's crate [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::errors::FatalError; [INFO] [stdout] | ^^^^^ help: to reference the macro definition's crate, use: `$crate` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def [INFO] [stdout] = note: `#[warn(clippy::crate_in_macro_def)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/diagnostics/metadata.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | const ERROR_METADATA_PREFIX: &'static str = "tmp/extended-errors"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/util/small_vector.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | IntoIter { repr: repr } [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `repr` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/abi.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | const AbiDatas: &'static [AbiData] = &[ [INFO] [stdout] | -^^^^^^^---------- help: consider removing `'static`: `&[AbiData]` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1391:17 [INFO] [stdout] | [INFO] [stdout] 1391 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1410:21 [INFO] [stdout] | [INFO] [stdout] 1410 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1407:29 [INFO] [stdout] | [INFO] [stdout] 1407 | ... mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1634:13 [INFO] [stdout] | [INFO] [stdout] 1634 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1631:17 [INFO] [stdout] | [INFO] [stdout] 1631 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `crate` references the macro call's crate [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::errors::FatalError; [INFO] [stdout] | ^^^^^ help: to reference the macro definition's crate, use: `$crate` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def [INFO] [stdout] = note: `#[warn(clippy::crate_in_macro_def)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/diagnostics/metadata.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | const ERROR_METADATA_PREFIX: &'static str = "tmp/extended-errors"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/util/small_vector.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | IntoIter { repr: repr } [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `repr` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/abi.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | const AbiDatas: &'static [AbiData] = &[ [INFO] [stdout] | -^^^^^^^---------- help: consider removing `'static`: `&[AbiData]` [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: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:766:33 [INFO] [stdout] | [INFO] [stdout] 766 | ... since: since, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:767:33 [INFO] [stdout] | [INFO] [stdout] 767 | ... reason: reason, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `reason` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:841:33 [INFO] [stdout] | [INFO] [stdout] 841 | ... feature: feature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `feature` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:826:37 [INFO] [stdout] | [INFO] [stdout] 826 | ... reason: reason, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `reason` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:895:33 [INFO] [stdout] | [INFO] [stdout] 895 | ... feature: feature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `feature` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:894:49 [INFO] [stdout] | [INFO] [stdout] 894 | ... level: Stable { since: since }, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1008:17 [INFO] [stdout] | [INFO] [stdout] 1008 | since: since, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1009:17 [INFO] [stdout] | [INFO] [stdout] 1009 | note: note, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `note` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1185 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1238:29 [INFO] [stdout] | [INFO] [stdout] 1238 | ... span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1294:21 [INFO] [stdout] | [INFO] [stdout] 1294 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1295:21 [INFO] [stdout] | [INFO] [stdout] 1295 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | path_mapping: path_mapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `path_mapping` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | name_was_remapped: name_was_remapped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `name_was_remapped` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | crate_of_origin: crate_of_origin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crate_of_origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | start_pos: start_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_pos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | end_pos: end_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `end_pos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:267:54 [INFO] [stdout] | [INFO] [stdout] 267 | Some(line) => Ok(FileMapAndLine { fm: f, line: line }), [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | line_index: line_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_index` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | start_col: start_col, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_col` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | start_col: start_col, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_col` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | ... source_len: source_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_len` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | fm: fm, [INFO] [stdout] | ^^^^^^ help: replace it with: `fm` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | FilePathMapping { mapping: mapping } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `mapping` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | should_test: should_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `should_test` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | lo: lo, [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGate)] = &[ [INFO] [stdout] | -^^^^^^^----------------------------------------------- help: consider removing `'static`: `&[(&'static str, AttributeType, AttributeGate)]` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:433:43 [INFO] [stdout] | [INFO] [stdout] 433 | pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGate)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1206:28 [INFO] [stdout] | [INFO] [stdout] 1206 | const EXPLAIN_BOX_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1209:38 [INFO] [stdout] | [INFO] [stdout] 1209 | pub const EXPLAIN_STMT_ATTR_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1212:25 [INFO] [stdout] | [INFO] [stdout] 1212 | pub const EXPLAIN_ASM: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1215:32 [INFO] [stdout] | [INFO] [stdout] 1215 | pub const EXPLAIN_GLOBAL_ASM: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1218:32 [INFO] [stdout] | [INFO] [stdout] 1218 | pub const EXPLAIN_LOG_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1221:35 [INFO] [stdout] | [INFO] [stdout] 1221 | pub const EXPLAIN_CONCAT_IDENTS: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1224:34 [INFO] [stdout] | [INFO] [stdout] 1224 | pub const EXPLAIN_TRACE_MACROS: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1226:45 [INFO] [stdout] | [INFO] [stdout] 1226 | pub const EXPLAIN_ALLOW_INTERNAL_UNSTABLE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1229:35 [INFO] [stdout] | [INFO] [stdout] 1229 | pub const EXPLAIN_CUSTOM_DERIVE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1232:40 [INFO] [stdout] | [INFO] [stdout] 1232 | pub const EXPLAIN_DEPR_CUSTOM_DERIVE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1236:39 [INFO] [stdout] | [INFO] [stdout] 1236 | pub const EXPLAIN_DERIVE_UNDERSCORE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1239:33 [INFO] [stdout] | [INFO] [stdout] 1239 | pub const EXPLAIN_VIS_MATCHER: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1242:34 [INFO] [stdout] | [INFO] [stdout] 1242 | pub const EXPLAIN_PLACEMENT_IN: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/feature_gate.rs:1896:9 [INFO] [stdout] | [INFO] [stdout] 1896 | features: features, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `features` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/feature_gate.rs:1898:9 [INFO] [stdout] | [INFO] [stdout] 1898 | plugin_attributes: plugin_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `plugin_attributes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | position: position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | rules: rules, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:934:43 [INFO] [stdout] | [INFO] [stdout] 934 | ItemKind::Enum(ast::EnumDef { variants: variants }, generics) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variants` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | module: module, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `module` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1069:9 [INFO] [stdout] | [INFO] [stdout] 1069 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1297:21 [INFO] [stdout] | [INFO] [stdout] 1297 | position: position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1369:13 [INFO] [stdout] | [INFO] [stdout] 1369 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1370:13 [INFO] [stdout] | [INFO] [stdout] 1370 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1371:13 [INFO] [stdout] | [INFO] [stdout] 1371 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:242:68 [INFO] [stdout] | [INFO] [stdout] 242 | TokenTree::Token(sp, tok) => return TokenAndSpan { tok: tok, sp: sp }, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:242:78 [INFO] [stdout] | [INFO] [stdout] 242 | TokenTree::Token(sp, tok) => return TokenAndSpan { tok: tok, sp: sp }, [INFO] [stdout] | ^^^^^^ help: replace it with: `sp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | recurse_into_file_modules: recurse_into_file_modules, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `recurse_into_file_modules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | desugar_doc_comments: desugar_doc_comments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `desugar_doc_comments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:855:68 [INFO] [stdout] | [INFO] [stdout] 855 | Ok(self.bump_with(token::BinOp(token::And), Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:889:50 [INFO] [stdout] | [INFO] [stdout] 889 | self.bump_with(token::Lt, Span { lo: lo, ..span }); [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:917:53 [INFO] [stdout] | [INFO] [stdout] 917 | Ok(self.bump_with(token::Gt, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:922:53 [INFO] [stdout] | [INFO] [stdout] 922 | Ok(self.bump_with(token::Ge, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:927:53 [INFO] [stdout] | [INFO] [stdout] 927 | Ok(self.bump_with(token::Eq, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1280:13 [INFO] [stdout] | [INFO] [stdout] 1280 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1285:13 [INFO] [stdout] | [INFO] [stdout] 1285 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1286:13 [INFO] [stdout] | [INFO] [stdout] 1286 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1288:13 [INFO] [stdout] | [INFO] [stdout] 1288 | decl: decl, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `decl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1355:21 [INFO] [stdout] | [INFO] [stdout] 1355 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1377:17 [INFO] [stdout] | [INFO] [stdout] 1377 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1378:17 [INFO] [stdout] | [INFO] [stdout] 1378 | constness: constness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `constness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1380:17 [INFO] [stdout] | [INFO] [stdout] 1380 | generics: generics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `generics` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1381:17 [INFO] [stdout] | [INFO] [stdout] 1381 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1409:13 [INFO] [stdout] | [INFO] [stdout] 1409 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1410:13 [INFO] [stdout] | [INFO] [stdout] 1410 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1528:25 [INFO] [stdout] | [INFO] [stdout] 1528 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1529:25 [INFO] [stdout] | [INFO] [stdout] 1529 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1573:13 [INFO] [stdout] | [INFO] [stdout] 1573 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1574:13 [INFO] [stdout] | [INFO] [stdout] 1574 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1656:17 [INFO] [stdout] | [INFO] [stdout] 1656 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1657:17 [INFO] [stdout] | [INFO] [stdout] 1657 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1679:13 [INFO] [stdout] | [INFO] [stdout] 1679 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1732:13 [INFO] [stdout] | [INFO] [stdout] 1732 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1756:13 [INFO] [stdout] | [INFO] [stdout] 1756 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1870:17 [INFO] [stdout] | [INFO] [stdout] 1870 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1921:13 [INFO] [stdout] | [INFO] [stdout] 1921 | segments: segments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `segments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1972:21 [INFO] [stdout] | [INFO] [stdout] 1972 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1973:21 [INFO] [stdout] | [INFO] [stdout] 1973 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1974:21 [INFO] [stdout] | [INFO] [stdout] 1974 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1997:25 [INFO] [stdout] | [INFO] [stdout] 1997 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2007:17 [INFO] [stdout] | [INFO] [stdout] 2007 | identifier: identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2009:17 [INFO] [stdout] | [INFO] [stdout] 2009 | parameters: parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parameters` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2040:21 [INFO] [stdout] | [INFO] [stdout] 2040 | identifier: identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2043:25 [INFO] [stdout] | [INFO] [stdout] 2043 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2044:25 [INFO] [stdout] | [INFO] [stdout] 2044 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2045:25 [INFO] [stdout] | [INFO] [stdout] 2045 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2094:21 [INFO] [stdout] | [INFO] [stdout] 2094 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2148:13 [INFO] [stdout] | [INFO] [stdout] 2148 | expr: expr, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2149:13 [INFO] [stdout] | [INFO] [stdout] 2149 | is_shorthand: is_shorthand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_shorthand` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2158:13 [INFO] [stdout] | [INFO] [stdout] 2158 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2220:13 [INFO] [stdout] | [INFO] [stdout] 2220 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2221:13 [INFO] [stdout] | [INFO] [stdout] 2221 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2218:17 [INFO] [stdout] | [INFO] [stdout] 2218 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2236:13 [INFO] [stdout] | [INFO] [stdout] 2236 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2470:33 [INFO] [stdout] | [INFO] [stdout] 2470 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3396:13 [INFO] [stdout] | [INFO] [stdout] 3396 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3397:13 [INFO] [stdout] | [INFO] [stdout] 3397 | pats: pats, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `pats` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3398:13 [INFO] [stdout] | [INFO] [stdout] 3398 | guard: guard, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3619:21 [INFO] [stdout] | [INFO] [stdout] 3619 | is_shorthand: is_shorthand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_shorthand` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3743:37 [INFO] [stdout] | [INFO] [stdout] 3743 | ... path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3744:37 [INFO] [stdout] | [INFO] [stdout] 3744 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3864:13 [INFO] [stdout] | [INFO] [stdout] 3864 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3865:13 [INFO] [stdout] | [INFO] [stdout] 3865 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3866:13 [INFO] [stdout] | [INFO] [stdout] 3866 | init: init, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `init` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3869:13 [INFO] [stdout] | [INFO] [stdout] 3869 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3886:13 [INFO] [stdout] | [INFO] [stdout] 3886 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3888:13 [INFO] [stdout] | [INFO] [stdout] 3888 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3889:13 [INFO] [stdout] | [INFO] [stdout] 3889 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4098:25 [INFO] [stdout] | [INFO] [stdout] 4098 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4205:25 [INFO] [stdout] | [INFO] [stdout] 4205 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4245:21 [INFO] [stdout] | [INFO] [stdout] 4245 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4264:21 [INFO] [stdout] | [INFO] [stdout] 4264 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4273:37 [INFO] [stdout] | [INFO] [stdout] 4273 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4415:13 [INFO] [stdout] | [INFO] [stdout] 4415 | stmts: stmts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `stmts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4568:13 [INFO] [stdout] | [INFO] [stdout] 4568 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4570:13 [INFO] [stdout] | [INFO] [stdout] 4570 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4571:13 [INFO] [stdout] | [INFO] [stdout] 4571 | default: default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4572:13 [INFO] [stdout] | [INFO] [stdout] 4572 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4594:21 [INFO] [stdout] | [INFO] [stdout] 4594 | lifetime: lifetime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetime` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4595:21 [INFO] [stdout] | [INFO] [stdout] 4595 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4642:17 [INFO] [stdout] | [INFO] [stdout] 4642 | ty_params: ty_params, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ty_params` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4680:21 [INFO] [stdout] | [INFO] [stdout] 4680 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4681:21 [INFO] [stdout] | [INFO] [stdout] 4681 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4752:29 [INFO] [stdout] | [INFO] [stdout] 4752 | ... lifetime: lifetime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetime` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4753:29 [INFO] [stdout] | [INFO] [stdout] 4753 | ... bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4777:33 [INFO] [stdout] | [INFO] [stdout] 4777 | ... bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4788:29 [INFO] [stdout] | [INFO] [stdout] 4788 | ... rhs_ty: rhs_ty, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `rhs_ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4871:13 [INFO] [stdout] | [INFO] [stdout] 4871 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5050:13 [INFO] [stdout] | [INFO] [stdout] 5050 | output: output, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `output` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5071:13 [INFO] [stdout] | [INFO] [stdout] 5071 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5072:13 [INFO] [stdout] | [INFO] [stdout] 5072 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5074:13 [INFO] [stdout] | [INFO] [stdout] 5074 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5075:13 [INFO] [stdout] | [INFO] [stdout] 5075 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5076:13 [INFO] [stdout] | [INFO] [stdout] 5076 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5166:13 [INFO] [stdout] | [INFO] [stdout] 5166 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5167:13 [INFO] [stdout] | [INFO] [stdout] 5167 | defaultness: defaultness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `defaultness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5168:13 [INFO] [stdout] | [INFO] [stdout] 5168 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5169:13 [INFO] [stdout] | [INFO] [stdout] 5169 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5265:21 [INFO] [stdout] | [INFO] [stdout] 5265 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5286:25 [INFO] [stdout] | [INFO] [stdout] 5286 | generics: generics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `generics` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5287:25 [INFO] [stdout] | [INFO] [stdout] 5287 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5288:25 [INFO] [stdout] | [INFO] [stdout] 5288 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5289:25 [INFO] [stdout] | [INFO] [stdout] 5289 | constness: constness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `constness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5290:25 [INFO] [stdout] | [INFO] [stdout] 5290 | decl: decl, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `decl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5577:21 [INFO] [stdout] | [INFO] [stdout] 5577 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5580:21 [INFO] [stdout] | [INFO] [stdout] 5580 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5581:21 [INFO] [stdout] | [INFO] [stdout] 5581 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5726:13 [INFO] [stdout] | [INFO] [stdout] 5726 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5859:13 [INFO] [stdout] | [INFO] [stdout] 5859 | result: result, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `result` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5875:17 [INFO] [stdout] | [INFO] [stdout] 5875 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5986:13 [INFO] [stdout] | [INFO] [stdout] 5986 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5987:13 [INFO] [stdout] | [INFO] [stdout] 5987 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5991:13 [INFO] [stdout] | [INFO] [stdout] 5991 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6011:13 [INFO] [stdout] | [INFO] [stdout] 6011 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6012:13 [INFO] [stdout] | [INFO] [stdout] 6012 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6016:13 [INFO] [stdout] | [INFO] [stdout] 6016 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6081:13 [INFO] [stdout] | [INFO] [stdout] 6081 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6138:17 [INFO] [stdout] | [INFO] [stdout] 6138 | disr_expr: disr_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `disr_expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6155:27 [INFO] [stdout] | [INFO] [stdout] 6155 | Ok(ast::EnumDef { variants: variants }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variants` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6591:21 [INFO] [stdout] | [INFO] [stdout] 6591 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6633:21 [INFO] [stdout] | [INFO] [stdout] 6633 | rename: rename, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `rename` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/attr.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | const DEFAULT_UNEXPECTED_INNER_ATTR_ERR_MSG: &'static str = "an inner attribute is not \ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/parse/attr.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// terminated by a semicolon. [INFO] [stdout] 161 | | [INFO] [stdout] | |_^ [INFO] [stdout] 162 | /// matches inner_attrs* [INFO] [stdout] 163 | pub fn parse_inner_attributes(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ----------------------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 161 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1391:17 [INFO] [stdout] | [INFO] [stdout] 1391 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1410:21 [INFO] [stdout] | [INFO] [stdout] 1410 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/comments.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | const ONELINERS: &'static [&'static str] = &["///!", "///", "//!", "//"]; [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1407:29 [INFO] [stdout] | [INFO] [stdout] 1407 | ... mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/comments.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | const ONELINERS: &'static [&'static str] = &["///!", "///", "//!", "//"]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/tokentrees.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | delim: delim, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `delim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[ [INFO] [stdout] | -^^^^^^^----------------------------- help: consider removing `'static`: `&[(char, &'static str, 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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | const ASCII_ARRAY: &'static [(char, &'static str)] = &[ [INFO] [stdout] | -^^^^^^^----------------------- help: consider removing `'static`: `&[(char, &'static str)]` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | const ASCII_ARRAY: &'static [(char, &'static str)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lo: lo, [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | hi: hi, [INFO] [stdout] | ^^^^^^ help: replace it with: `hi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | filemap: filemap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `filemap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | source_text: source_text, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:550:33 [INFO] [stdout] | [INFO] [stdout] 550 | ... tok: tok, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | tok: tok, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | code_map: code_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `code_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1634:13 [INFO] [stdout] | [INFO] [stdout] 1634 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1631:17 [INFO] [stdout] | [INFO] [stdout] 1631 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tokenstream.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | stream: stream, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | out: out, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `out` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ann: ann, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `ann` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | comments: comments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `comments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | literals: literals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `literals` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | ann: ann, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `ann` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:766:33 [INFO] [stdout] | [INFO] [stdout] 766 | ... since: since, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:767:33 [INFO] [stdout] | [INFO] [stdout] 767 | ... reason: reason, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `reason` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:841:33 [INFO] [stdout] | [INFO] [stdout] 841 | ... feature: feature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `feature` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:826:37 [INFO] [stdout] | [INFO] [stdout] 826 | ... reason: reason, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `reason` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:895:33 [INFO] [stdout] | [INFO] [stdout] 895 | ... feature: feature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `feature` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:894:49 [INFO] [stdout] | [INFO] [stdout] 894 | ... level: Stable { since: since }, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1008:17 [INFO] [stdout] | [INFO] [stdout] 1008 | since: since, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `since` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1009:17 [INFO] [stdout] | [INFO] [stdout] 1009 | note: note, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `note` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | parse_sess: parse_sess, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parse_sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | ecfg: ecfg, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `ecfg` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | resolver: resolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `resolver` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1185:13 [INFO] [stdout] | [INFO] [stdout] 1185 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1238:29 [INFO] [stdout] | [INFO] [stdout] 1238 | ... span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1294:21 [INFO] [stdout] | [INFO] [stdout] 1294 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/attr.rs:1295:21 [INFO] [stdout] | [INFO] [stdout] 1295 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ext` [INFO] [stdout] --> src/ext/build.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ext; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/ext/build.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | path_mapping: path_mapping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `path_mapping` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:390:21 [INFO] [stdout] | [INFO] [stdout] 390 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | parameters: parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parameters` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | name_was_remapped: name_was_remapped, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `name_was_remapped` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | segments: segments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `segments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | default: default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:672:13 [INFO] [stdout] | [INFO] [stdout] 672 | stmts: stmts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `stmts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:769:13 [INFO] [stdout] | [INFO] [stdout] 769 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | crate_of_origin: crate_of_origin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crate_of_origin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | start_pos: start_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_pos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | end_pos: end_pos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `end_pos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:267:54 [INFO] [stdout] | [INFO] [stdout] 267 | Some(line) => Ok(FileMapAndLine { fm: f, line: line }), [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | line_index: line_index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_index` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | start_col: start_col, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_col` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | start_col: start_col, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `start_col` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | ... source_len: source_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_len` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | fm: fm, [INFO] [stdout] | ^^^^^^ help: replace it with: `fm` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/codemap.rs:515:27 [INFO] [stdout] | [INFO] [stdout] 515 | FilePathMapping { mapping: mapping } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `mapping` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | should_test: should_test, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `should_test` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:941:13 [INFO] [stdout] | [INFO] [stdout] 941 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:964:17 [INFO] [stdout] | [INFO] [stdout] 964 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | pats: pats, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `pats` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1107:13 [INFO] [stdout] | [INFO] [stdout] 1107 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1133:13 [INFO] [stdout] | [INFO] [stdout] 1133 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1181:17 [INFO] [stdout] | [INFO] [stdout] 1181 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1258:17 [INFO] [stdout] | [INFO] [stdout] 1258 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | lo: lo, [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/config.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | cx: cx, [INFO] [stdout] | ^^^^^^ help: replace it with: `cx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | monotonic: monotonic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `monotonic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGate)] = &[ [INFO] [stdout] | -^^^^^^^----------------------------------------------- help: consider removing `'static`: `&[(&'static str, AttributeType, AttributeGate)]` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | ... item: item, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `item` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:327:33 [INFO] [stdout] | [INFO] [stdout] 327 | ... mark: mark, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mark` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:433:43 [INFO] [stdout] | [INFO] [stdout] 433 | pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGate)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | allow_internal_unstable: allow_internal_unstable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `allow_internal_unstable` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:550:25 [INFO] [stdout] | [INFO] [stdout] 550 | allow_internal_unstable: allow_internal_unstable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `allow_internal_unstable` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:704:47 [INFO] [stdout] | [INFO] [stdout] 704 | expansion.fold_with(&mut ChangeSpan { span: span }) [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:792:13 [INFO] [stdout] | [INFO] [stdout] 792 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1206:28 [INFO] [stdout] | [INFO] [stdout] 1206 | const EXPLAIN_BOX_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:793:13 [INFO] [stdout] | [INFO] [stdout] 793 | expansion_kind: expansion_kind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expansion_kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | mark: mark, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mark` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1209:38 [INFO] [stdout] | [INFO] [stdout] 1209 | pub const EXPLAIN_STMT_ATTR_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:807:17 [INFO] [stdout] | [INFO] [stdout] 807 | mac: mac, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `mac` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1212:25 [INFO] [stdout] | [INFO] [stdout] 1212 | pub const EXPLAIN_ASM: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1215:32 [INFO] [stdout] | [INFO] [stdout] 1215 | pub const EXPLAIN_GLOBAL_ASM: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | attr: attr, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `attr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1218:32 [INFO] [stdout] | [INFO] [stdout] 1218 | pub const EXPLAIN_LOG_SYNTAX: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | traits: traits, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `traits` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1221:35 [INFO] [stdout] | [INFO] [stdout] 1221 | pub const EXPLAIN_CONCAT_IDENTS: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | item: item, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `item` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1224:34 [INFO] [stdout] | [INFO] [stdout] 1224 | pub const EXPLAIN_TRACE_MACROS: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1226:45 [INFO] [stdout] | [INFO] [stdout] 1226 | pub const EXPLAIN_ALLOW_INTERNAL_UNSTABLE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1229:35 [INFO] [stdout] | [INFO] [stdout] 1229 | pub const EXPLAIN_CUSTOM_DERIVE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1232:40 [INFO] [stdout] | [INFO] [stdout] 1232 | pub const EXPLAIN_DEPR_CUSTOM_DERIVE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1236:39 [INFO] [stdout] | [INFO] [stdout] 1236 | pub const EXPLAIN_DERIVE_UNDERSCORE: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1239:33 [INFO] [stdout] | [INFO] [stdout] 1239 | pub const EXPLAIN_VIS_MATCHER: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/feature_gate.rs:1242:34 [INFO] [stdout] | [INFO] [stdout] 1242 | pub const EXPLAIN_PLACEMENT_IN: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:961:21 [INFO] [stdout] | [INFO] [stdout] 961 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:1009:33 [INFO] [stdout] | [INFO] [stdout] 1009 | ... mac: mac, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `mac` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | crate_name: crate_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crate_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | cx: cx, [INFO] [stdout] | ^^^^^^ help: replace it with: `cx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | monotonic: monotonic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `monotonic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ext/quote.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / /// as antiquotes (splices). [INFO] [stdout] 17 | | [INFO] [stdout] | |_^ [INFO] [stdout] 18 | pub mod rt { [INFO] [stdout] | ---------- the comment documents this module [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/quote.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | delim: delim, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `delim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/feature_gate.rs:1896:9 [INFO] [stdout] | [INFO] [stdout] 1896 | features: features, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `features` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/feature_gate.rs:1898:9 [INFO] [stdout] | [INFO] [stdout] 1898 | plugin_attributes: plugin_attributes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `plugin_attributes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 376 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | position: position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/source_util.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | Box::new(ExpandResult { p: p }) [INFO] [stdout] | ^^^^ help: replace it with: `p` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | rules: rules, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:934:43 [INFO] [stdout] | [INFO] [stdout] 934 | ItemKind::Enum(ast::EnumDef { variants: variants }, generics) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variants` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | matches: matches, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ext/tt/macro_parser.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / /// token tree it was derived from. [INFO] [stdout] 186 | | [INFO] [stdout] | |_^ [INFO] [stdout] 187 | pub enum NamedMatch { [INFO] [stdout] | ------------------- the comment documents this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | module: module, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `module` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1069:9 [INFO] [stdout] | [INFO] [stdout] 1069 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | matches: matches, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | idx: idx, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1297:21 [INFO] [stdout] | [INFO] [stdout] 1297 | position: position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `position` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1369:13 [INFO] [stdout] | [INFO] [stdout] 1369 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1370:13 [INFO] [stdout] | [INFO] [stdout] 1370 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/fold.rs:1371:13 [INFO] [stdout] | [INFO] [stdout] 1371 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | lhses: lhses, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lhses` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | rhses: rhses, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rhses` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | valid: valid, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `valid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:242:68 [INFO] [stdout] | [INFO] [stdout] 242 | TokenTree::Token(sp, tok) => return TokenAndSpan { tok: tok, sp: sp }, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:242:78 [INFO] [stdout] | [INFO] [stdout] 242 | TokenTree::Token(sp, tok) => return TokenAndSpan { tok: tok, sp: sp }, [INFO] [stdout] | ^^^^^^ help: replace it with: `sp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/quoted.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | separator: separator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `separator` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/quoted.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | op: op, [INFO] [stdout] | ^^^^^^ help: replace it with: `op` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | forest: forest, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `forest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | recurse_into_file_modules: recurse_into_file_modules, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `recurse_into_file_modules` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | desugar_doc_comments: desugar_doc_comments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `desugar_doc_comments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:855:68 [INFO] [stdout] | [INFO] [stdout] 855 | Ok(self.bump_with(token::BinOp(token::And), Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:889:50 [INFO] [stdout] | [INFO] [stdout] 889 | self.bump_with(token::Lt, Span { lo: lo, ..span }); [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:917:53 [INFO] [stdout] | [INFO] [stdout] 917 | Ok(self.bump_with(token::Gt, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:922:53 [INFO] [stdout] | [INFO] [stdout] 922 | Ok(self.bump_with(token::Ge, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:927:53 [INFO] [stdout] | [INFO] [stdout] 927 | Ok(self.bump_with(token::Eq, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1280:13 [INFO] [stdout] | [INFO] [stdout] 1280 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1285:13 [INFO] [stdout] | [INFO] [stdout] 1285 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1286:13 [INFO] [stdout] | [INFO] [stdout] 1286 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1288:13 [INFO] [stdout] | [INFO] [stdout] 1288 | decl: decl, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `decl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1355:21 [INFO] [stdout] | [INFO] [stdout] 1355 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1377:17 [INFO] [stdout] | [INFO] [stdout] 1377 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1378:17 [INFO] [stdout] | [INFO] [stdout] 1378 | constness: constness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `constness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1380:17 [INFO] [stdout] | [INFO] [stdout] 1380 | generics: generics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `generics` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1381:17 [INFO] [stdout] | [INFO] [stdout] 1381 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1409:13 [INFO] [stdout] | [INFO] [stdout] 1409 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1410:13 [INFO] [stdout] | [INFO] [stdout] 1410 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1528:25 [INFO] [stdout] | [INFO] [stdout] 1528 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1529:25 [INFO] [stdout] | [INFO] [stdout] 1529 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1573:13 [INFO] [stdout] | [INFO] [stdout] 1573 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1574:13 [INFO] [stdout] | [INFO] [stdout] 1574 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1656:17 [INFO] [stdout] | [INFO] [stdout] 1656 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1657:17 [INFO] [stdout] | [INFO] [stdout] 1657 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1679:13 [INFO] [stdout] | [INFO] [stdout] 1679 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1732:13 [INFO] [stdout] | [INFO] [stdout] 1732 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1756:13 [INFO] [stdout] | [INFO] [stdout] 1756 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1870:17 [INFO] [stdout] | [INFO] [stdout] 1870 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1921:13 [INFO] [stdout] | [INFO] [stdout] 1921 | segments: segments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `segments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1972:21 [INFO] [stdout] | [INFO] [stdout] 1972 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1973:21 [INFO] [stdout] | [INFO] [stdout] 1973 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1974:21 [INFO] [stdout] | [INFO] [stdout] 1974 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1997:25 [INFO] [stdout] | [INFO] [stdout] 1997 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2007:17 [INFO] [stdout] | [INFO] [stdout] 2007 | identifier: identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2009:17 [INFO] [stdout] | [INFO] [stdout] 2009 | parameters: parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parameters` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2040:21 [INFO] [stdout] | [INFO] [stdout] 2040 | identifier: identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `identifier` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2043:25 [INFO] [stdout] | [INFO] [stdout] 2043 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2044:25 [INFO] [stdout] | [INFO] [stdout] 2044 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2045:25 [INFO] [stdout] | [INFO] [stdout] 2045 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2094:21 [INFO] [stdout] | [INFO] [stdout] 2094 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2148:13 [INFO] [stdout] | [INFO] [stdout] 2148 | expr: expr, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2149:13 [INFO] [stdout] | [INFO] [stdout] 2149 | is_shorthand: is_shorthand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_shorthand` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2157:13 [INFO] [stdout] | [INFO] [stdout] 2157 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2158:13 [INFO] [stdout] | [INFO] [stdout] 2158 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2220:13 [INFO] [stdout] | [INFO] [stdout] 2220 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2221:13 [INFO] [stdout] | [INFO] [stdout] 2221 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2218:17 [INFO] [stdout] | [INFO] [stdout] 2218 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2236:13 [INFO] [stdout] | [INFO] [stdout] 2236 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:2470:33 [INFO] [stdout] | [INFO] [stdout] 2470 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3396:13 [INFO] [stdout] | [INFO] [stdout] 3396 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3397:13 [INFO] [stdout] | [INFO] [stdout] 3397 | pats: pats, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `pats` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3398:13 [INFO] [stdout] | [INFO] [stdout] 3398 | guard: guard, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `guard` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3619:21 [INFO] [stdout] | [INFO] [stdout] 3619 | is_shorthand: is_shorthand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_shorthand` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3743:37 [INFO] [stdout] | [INFO] [stdout] 3743 | ... path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3744:37 [INFO] [stdout] | [INFO] [stdout] 3744 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3864:13 [INFO] [stdout] | [INFO] [stdout] 3864 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3865:13 [INFO] [stdout] | [INFO] [stdout] 3865 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3866:13 [INFO] [stdout] | [INFO] [stdout] 3866 | init: init, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `init` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3869:13 [INFO] [stdout] | [INFO] [stdout] 3869 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3886:13 [INFO] [stdout] | [INFO] [stdout] 3886 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3888:13 [INFO] [stdout] | [INFO] [stdout] 3888 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:3889:13 [INFO] [stdout] | [INFO] [stdout] 3889 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4098:25 [INFO] [stdout] | [INFO] [stdout] 4098 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4205:25 [INFO] [stdout] | [INFO] [stdout] 4205 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4245:21 [INFO] [stdout] | [INFO] [stdout] 4245 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4264:21 [INFO] [stdout] | [INFO] [stdout] 4264 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4273:37 [INFO] [stdout] | [INFO] [stdout] 4273 | ... tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4415:13 [INFO] [stdout] | [INFO] [stdout] 4415 | stmts: stmts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `stmts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4568:13 [INFO] [stdout] | [INFO] [stdout] 4568 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4570:13 [INFO] [stdout] | [INFO] [stdout] 4570 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4571:13 [INFO] [stdout] | [INFO] [stdout] 4571 | default: default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4572:13 [INFO] [stdout] | [INFO] [stdout] 4572 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4594:21 [INFO] [stdout] | [INFO] [stdout] 4594 | lifetime: lifetime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetime` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4595:21 [INFO] [stdout] | [INFO] [stdout] 4595 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4642:17 [INFO] [stdout] | [INFO] [stdout] 4642 | ty_params: ty_params, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `ty_params` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4680:21 [INFO] [stdout] | [INFO] [stdout] 4680 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4681:21 [INFO] [stdout] | [INFO] [stdout] 4681 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4752:29 [INFO] [stdout] | [INFO] [stdout] 4752 | ... lifetime: lifetime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetime` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4753:29 [INFO] [stdout] | [INFO] [stdout] 4753 | ... bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4777:33 [INFO] [stdout] | [INFO] [stdout] 4777 | ... bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4788:29 [INFO] [stdout] | [INFO] [stdout] 4788 | ... rhs_ty: rhs_ty, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `rhs_ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:4871:13 [INFO] [stdout] | [INFO] [stdout] 4871 | variadic: variadic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variadic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5050:13 [INFO] [stdout] | [INFO] [stdout] 5050 | output: output, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `output` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5071:13 [INFO] [stdout] | [INFO] [stdout] 5071 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5072:13 [INFO] [stdout] | [INFO] [stdout] 5072 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5074:13 [INFO] [stdout] | [INFO] [stdout] 5074 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5075:13 [INFO] [stdout] | [INFO] [stdout] 5075 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5076:13 [INFO] [stdout] | [INFO] [stdout] 5076 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5166:13 [INFO] [stdout] | [INFO] [stdout] 5166 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5167:13 [INFO] [stdout] | [INFO] [stdout] 5167 | defaultness: defaultness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `defaultness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5168:13 [INFO] [stdout] | [INFO] [stdout] 5168 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5169:13 [INFO] [stdout] | [INFO] [stdout] 5169 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5265:21 [INFO] [stdout] | [INFO] [stdout] 5265 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5286:25 [INFO] [stdout] | [INFO] [stdout] 5286 | generics: generics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `generics` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5287:25 [INFO] [stdout] | [INFO] [stdout] 5287 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5288:25 [INFO] [stdout] | [INFO] [stdout] 5288 | unsafety: unsafety, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `unsafety` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5289:25 [INFO] [stdout] | [INFO] [stdout] 5289 | constness: constness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `constness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5290:25 [INFO] [stdout] | [INFO] [stdout] 5290 | decl: decl, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `decl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5577:21 [INFO] [stdout] | [INFO] [stdout] 5577 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5580:21 [INFO] [stdout] | [INFO] [stdout] 5580 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5581:21 [INFO] [stdout] | [INFO] [stdout] 5581 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5726:13 [INFO] [stdout] | [INFO] [stdout] 5726 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5859:13 [INFO] [stdout] | [INFO] [stdout] 5859 | result: result, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `result` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5875:17 [INFO] [stdout] | [INFO] [stdout] 5875 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5986:13 [INFO] [stdout] | [INFO] [stdout] 5986 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5987:13 [INFO] [stdout] | [INFO] [stdout] 5987 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:5991:13 [INFO] [stdout] | [INFO] [stdout] 5991 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6011:13 [INFO] [stdout] | [INFO] [stdout] 6011 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6012:13 [INFO] [stdout] | [INFO] [stdout] 6012 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6016:13 [INFO] [stdout] | [INFO] [stdout] 6016 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6081:13 [INFO] [stdout] | [INFO] [stdout] 6081 | abi: abi, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `abi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6138:17 [INFO] [stdout] | [INFO] [stdout] 6138 | disr_expr: disr_expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `disr_expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6155:27 [INFO] [stdout] | [INFO] [stdout] 6155 | Ok(ast::EnumDef { variants: variants }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `variants` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6591:21 [INFO] [stdout] | [INFO] [stdout] 6591 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:6633:21 [INFO] [stdout] | [INFO] [stdout] 6633 | rename: rename, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `rename` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/attr.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | const DEFAULT_UNEXPECTED_INNER_ATTR_ERR_MSG: &'static str = "an inner attribute is not \ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | tokens: tokens, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `tokens` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/parse/attr.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// terminated by a semicolon. [INFO] [stdout] 161 | | [INFO] [stdout] | |_^ [INFO] [stdout] 162 | /// matches inner_attrs* [INFO] [stdout] 163 | pub fn parse_inner_attributes(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ----------------------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 161 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/comments.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | const ONELINERS: &'static [&'static str] = &["///!", "///", "//!", "//"]; [INFO] [stdout] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/comments.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | const ONELINERS: &'static [&'static str] = &["///!", "///", "//!", "//"]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/comments.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | lines: lines, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lines` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/tokentrees.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | delim: delim, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `delim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[ [INFO] [stdout] | -^^^^^^^----------------------------- help: consider removing `'static`: `&[(char, &'static str, 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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | const ASCII_ARRAY: &'static [(char, &'static str)] = &[ [INFO] [stdout] | -^^^^^^^----------------------- help: consider removing `'static`: `&[(char, &'static str)]` [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: constants have by default a `'static` lifetime [INFO] [stdout] --> src/parse/lexer/unicode_chars.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | const ASCII_ARRAY: &'static [(char, &'static str)] = &[ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lo: lo, [INFO] [stdout] | ^^^^^^ help: replace it with: `lo` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | hi: hi, [INFO] [stdout] | ^^^^^^ help: replace it with: `hi` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | sess: sess, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | filemap: filemap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `filemap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | source_text: source_text, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:550:33 [INFO] [stdout] | [INFO] [stdout] 550 | ... tok: tok, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/lexer/mod.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | tok: tok, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tok` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | code_map: code_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `code_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tokenstream.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | stream: stream, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | out: out, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `out` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pp.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | token: token, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `token` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ann: ann, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `ann` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | comments: comments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `comments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | literals: literals, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `literals` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | ann: ann, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `ann` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | parse_sess: parse_sess, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parse_sess` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | ecfg: ecfg, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `ecfg` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/base.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | resolver: resolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `resolver` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ext` [INFO] [stdout] --> src/ext/build.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ext; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/ext/build.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:390:21 [INFO] [stdout] | [INFO] [stdout] 390 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | parameters: parameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `parameters` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | segments: segments, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `segments` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | lifetimes: lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lifetimes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | bindings: bindings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | mutbl: mutbl, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `mutbl` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | default: default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | bounds: bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | pat: pat, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `pat` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:672:13 [INFO] [stdout] | [INFO] [stdout] 672 | stmts: stmts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `stmts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:769:13 [INFO] [stdout] | [INFO] [stdout] 769 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:941:13 [INFO] [stdout] | [INFO] [stdout] 941 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:964:17 [INFO] [stdout] | [INFO] [stdout] 964 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | pats: pats, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `pats` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1107:13 [INFO] [stdout] | [INFO] [stdout] 1107 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | inputs: inputs, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `inputs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1133:13 [INFO] [stdout] | [INFO] [stdout] 1133 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1181:17 [INFO] [stdout] | [INFO] [stdout] 1181 | ty: ty, [INFO] [stdout] | ^^^^^^ help: replace it with: `ty` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | name: name, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1258:17 [INFO] [stdout] | [INFO] [stdout] 1258 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/build.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | cx: cx, [INFO] [stdout] | ^^^^^^ help: replace it with: `cx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | monotonic: monotonic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `monotonic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | ... item: item, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `item` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:327:33 [INFO] [stdout] | [INFO] [stdout] 327 | ... mark: mark, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mark` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | allow_internal_unstable: allow_internal_unstable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `allow_internal_unstable` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:550:25 [INFO] [stdout] | [INFO] [stdout] 550 | allow_internal_unstable: allow_internal_unstable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `allow_internal_unstable` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:704:47 [INFO] [stdout] | [INFO] [stdout] 704 | expansion.fold_with(&mut ChangeSpan { span: span }) [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:792:13 [INFO] [stdout] | [INFO] [stdout] 792 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:793:13 [INFO] [stdout] | [INFO] [stdout] 793 | expansion_kind: expansion_kind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expansion_kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | mark: mark, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mark` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:807:17 [INFO] [stdout] | [INFO] [stdout] 807 | mac: mac, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `mac` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | attr: attr, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `attr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | traits: traits, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `traits` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | item: item, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `item` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | node: node, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `node` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:961:21 [INFO] [stdout] | [INFO] [stdout] 961 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:1009:33 [INFO] [stdout] | [INFO] [stdout] 1009 | ... mac: mac, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `mac` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/expand.rs:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | crate_name: crate_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crate_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | ident: ident, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `ident` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | vis: vis, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `vis` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | attrs: attrs, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | cx: cx, [INFO] [stdout] | ^^^^^^ help: replace it with: `cx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/placeholders.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | monotonic: monotonic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `monotonic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ext/quote.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / /// as antiquotes (splices). [INFO] [stdout] 17 | | [INFO] [stdout] | |_^ [INFO] [stdout] 18 | pub mod rt { [INFO] [stdout] | ---------- the comment documents this module [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/quote.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | delim: delim, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `delim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/source_util.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | Box::new(ExpandResult { p: p }) [INFO] [stdout] | ^^^^ help: replace it with: `p` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | matches: matches, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ext/tt/macro_parser.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / /// token tree it was derived from. [INFO] [stdout] 186 | | [INFO] [stdout] | |_^ [INFO] [stdout] 187 | pub enum NamedMatch { [INFO] [stdout] | ------------------- the comment documents this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | matches: matches, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_parser.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | idx: idx, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | lhses: lhses, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `lhses` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | rhses: rhses, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rhses` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/macro_rules.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | valid: valid, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `valid` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/quoted.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | separator: separator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `separator` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/quoted.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | op: op, [INFO] [stdout] | ^^^^^^ help: replace it with: `op` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | tts: tts, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `tts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | forest: forest, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `forest` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ext/tt/transcribe.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | span: span, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `span` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_lhs` [INFO] [stdout] --> src/codemap.rs:499:27 [INFO] [stdout] | [INFO] [stdout] 499 | fn merge_spans(&self, sp_lhs: Span, sp_rhs: Span) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_rhs` [INFO] [stdout] --> src/codemap.rs:499:41 [INFO] [stdout] | [INFO] [stdout] 499 | fn merge_spans(&self, sp_lhs: Span, sp_rhs: Span) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_lhs` [INFO] [stdout] --> src/codemap.rs:499:27 [INFO] [stdout] | [INFO] [stdout] 499 | fn merge_spans(&self, sp_lhs: Span, sp_rhs: Span) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_lhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp_rhs` [INFO] [stdout] --> src/codemap.rs:499:41 [INFO] [stdout] | [INFO] [stdout] 499 | fn merge_spans(&self, sp_lhs: Span, sp_rhs: Span) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sp_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StableHasher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StableHasherResult` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait StableHasherResult: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StableHasher { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashStable` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait HashStable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bCtx` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Blake2bCtx { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2b_g` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLAKE2B_IV` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_compress` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_update` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_final` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_mem_copy` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Blake2bHasher { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | (&self[..]).hash_stable(ctx, hasher); [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] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | (&self[..]).hash_stable(hcx, hasher); [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: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T, CTX> HashStable for &'a T [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 260 - impl<'a, T, CTX> HashStable for &'a T [INFO] [stdout] 260 + impl HashStable for &T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | let from_size = from.len() * mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(from)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let to_size = to.len() * mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(to)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | let raw_ptr = (&self.0.h[..]).as_ptr() as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `self.0.h[..]` [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: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/diagnostics/plugin.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | static REGISTERED_DIAGNOSTICS: RefCell = { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 15 | | RefCell::new(BTreeMap::new()) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ help: replace with: `const { RefCell::new(BTreeMap::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/diagnostics/plugin.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | REGISTERED_DIAGNOSTICS.with(move |slot| f(&mut *slot.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut slot.borrow_mut()` [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: accessing first element with `token_tree.get(0)` [INFO] [stdout] --> src/diagnostics/plugin.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let code = match (token_tree.len(), token_tree.get(0)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `token_tree.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: use of `offset` with a `usize` casted to an `isize` [INFO] [stdout] --> src/util/move_map.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let e = ptr::read(self.as_mut_ptr().offset(read_i as isize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stdout] = note: `#[warn(clippy::ptr_offset_with_cast)]` on by default [INFO] [stdout] help: use `add` instead [INFO] [stdout] | [INFO] [stdout] 32 - let e = ptr::read(self.as_mut_ptr().offset(read_i as isize)); [INFO] [stdout] 32 + let e = ptr::read(self.as_mut_ptr().add(read_i)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stdout] --> src/util/move_map.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | ptr::write(self.as_mut_ptr().offset(write_i as isize), e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stdout] help: use `add` instead [INFO] [stdout] | [INFO] [stdout] 38 - ptr::write(self.as_mut_ptr().offset(write_i as isize), e); [INFO] [stdout] 38 + ptr::write(self.as_mut_ptr().add(write_i), e); [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/util/small_vector.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Into> for SmallVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 31 ~ impl From> for Vec { [INFO] [stdout] 32 ~ fn from(val: SmallVector) -> Self { [INFO] [stdout] 33 ~ match val.repr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Iterator` [INFO] [stdout] --> src/util/small_vector.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / enum IntoIterRepr { [INFO] [stdout] 175 | | ZeroIterator, [INFO] [stdout] 176 | | OneIterator(T), [INFO] [stdout] 177 | | ManyIterator(vec::IntoIter), [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `Box>`. Consider using just `Vec<..>` [INFO] [stdout] --> src/util/thin_vec.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThinVec(Option>>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `Vec<..>` is already on the heap, `Box>` makes an extra allocation [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_collection [INFO] [stdout] = note: `#[warn(clippy::box_collection)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ThinVec` [INFO] [stdout] --> src/util/thin_vec.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn new() -> Self { [INFO] [stdout] 11 | | ThinVec(None) [INFO] [stdout] 12 | | } [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] 9 + impl Default for ThinVec { [INFO] [stdout] 10 + fn default() -> Self { [INFO] [stdout] 11 + Self::new() [INFO] [stdout] 12 + } [INFO] [stdout] 13 + } [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/util/thin_vec.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl Into> for ThinVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 25 ~ impl From> for Vec { [INFO] [stdout] 26 ~ fn from(val: ThinVec) -> Self { [INFO] [stdout] 27 ~ match val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/ast.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `u32::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [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/ast.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl Into>> for AngleBracketedParameterData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 172 ~ impl From for Option> { [INFO] [stdout] 173 ~ fn from(val: AngleBracketedParameterData) -> Self { [INFO] [stdout] 174 ~ let empty = val.lifetimes.is_empty() && val.types.is_empty() && val.bindings.is_empty(); [INFO] [stdout] 175 | if empty { [INFO] [stdout] 176 | None [INFO] [stdout] 177 | } else { [INFO] [stdout] 178 ~ Some(P(PathParameters::AngleBracketed(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StableHasher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StableHasherResult` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait StableHasherResult: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StableHasher { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashStable` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait HashStable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bCtx` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Blake2bCtx { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2b_g` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLAKE2B_IV` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_compress` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_update` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_final` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_mem_copy` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Blake2bHasher { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CodeMapExtension` is never used [INFO] [stdout] --> src/codemap.rs:772:11 [INFO] [stdout] | [INFO] [stdout] 772 | trait CodeMapExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | (&self[..]).hash_stable(ctx, hasher); [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] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | (&self[..]).hash_stable(hcx, hasher); [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: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'a, T, CTX> HashStable for &'a T [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 260 - impl<'a, T, CTX> HashStable for &'a T [INFO] [stdout] 260 + impl HashStable for &T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | let from_size = from.len() * mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(from)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual slice size calculation [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let to_size = to.len() * mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(to)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | let raw_ptr = (&self.0.h[..]).as_ptr() as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `self.0.h[..]` [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: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/diagnostics/plugin.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | static REGISTERED_DIAGNOSTICS: RefCell = { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 15 | | RefCell::new(BTreeMap::new()) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ help: replace with: `const { RefCell::new(BTreeMap::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/diagnostics/plugin.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | REGISTERED_DIAGNOSTICS.with(move |slot| f(&mut *slot.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut slot.borrow_mut()` [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: accessing first element with `token_tree.get(0)` [INFO] [stdout] --> src/diagnostics/plugin.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let code = match (token_tree.len(), token_tree.get(0)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `token_tree.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: use of `offset` with a `usize` casted to an `isize` [INFO] [stdout] --> src/util/move_map.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let e = ptr::read(self.as_mut_ptr().offset(read_i as isize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stdout] = note: `#[warn(clippy::ptr_offset_with_cast)]` on by default [INFO] [stdout] help: use `add` instead [INFO] [stdout] | [INFO] [stdout] 32 - let e = ptr::read(self.as_mut_ptr().offset(read_i as isize)); [INFO] [stdout] 32 + let e = ptr::read(self.as_mut_ptr().add(read_i)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stdout] --> src/util/move_map.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | ptr::write(self.as_mut_ptr().offset(write_i as isize), e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stdout] help: use `add` instead [INFO] [stdout] | [INFO] [stdout] 38 - ptr::write(self.as_mut_ptr().offset(write_i as isize), e); [INFO] [stdout] 38 + ptr::write(self.as_mut_ptr().add(write_i), e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/util/parser_testing.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let mut p = string_to_parser(&ps, s); [INFO] [stdout] | ^^^ help: change this to: `ps` [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: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/util/parser_testing.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | with_error_checking_parse(source_str, &ps, |p| p.parse_crate_mod()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `write!` args [INFO] [stdout] --> src/ast.rs:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | self.id.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/util/parser_testing.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | with_error_checking_parse(source_str, &ps, |p| p.parse_expr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/util/parser_testing.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | with_error_checking_parse(source_str, &ps, |p| p.parse_item()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/util/parser_testing.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | with_error_checking_parse(source_str, &ps, |p| p.parse_stmt()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/util/parser_testing.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | with_error_checking_parse(source_str, &ps, |p| p.parse_pat()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/util/parser_testing.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | ids.iter().map(|u| Ident::from_str(*u)).collect() [INFO] [stdout] | ^^ help: try: `u` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(matches_codepattern("", ""), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 128 - assert_eq!(matches_codepattern("", ""), true); [INFO] [stdout] 128 + assert!(matches_codepattern("", "")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(matches_codepattern("", "a"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 129 - assert_eq!(matches_codepattern("", "a"), false); [INFO] [stdout] 129 + assert!(!matches_codepattern("", "a")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(matches_codepattern("a", ""), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 130 - assert_eq!(matches_codepattern("a", ""), false); [INFO] [stdout] 130 + assert!(!matches_codepattern("a", "")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(matches_codepattern("a", "a"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 131 - assert_eq!(matches_codepattern("a", "a"), true); [INFO] [stdout] 131 + assert!(matches_codepattern("a", "a")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(matches_codepattern("a b", "a \n\t\r b"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 132 - assert_eq!(matches_codepattern("a b", "a \n\t\r b"), true); [INFO] [stdout] 132 + assert!(matches_codepattern("a b", "a \n\t\r b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(matches_codepattern("a b ", "a \n\t\r b"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 133 - assert_eq!(matches_codepattern("a b ", "a \n\t\r b"), true); [INFO] [stdout] 133 + assert!(matches_codepattern("a b ", "a \n\t\r b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(matches_codepattern("a b", "a \n\t\r b "), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 134 - assert_eq!(matches_codepattern("a b", "a \n\t\r b "), false); [INFO] [stdout] 134 + assert!(!matches_codepattern("a b", "a \n\t\r b ")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(matches_codepattern("a b", "a b"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 135 - assert_eq!(matches_codepattern("a b", "a b"), true); [INFO] [stdout] 135 + assert!(matches_codepattern("a b", "a b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(matches_codepattern("ab", "a b"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 136 - assert_eq!(matches_codepattern("ab", "a b"), false); [INFO] [stdout] 136 + assert!(!matches_codepattern("ab", "a b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(matches_codepattern("a b", "ab"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 137 - assert_eq!(matches_codepattern("a b", "ab"), true); [INFO] [stdout] 137 + assert!(matches_codepattern("a b", "ab")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(matches_codepattern(" a b", "ab"), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 138 - assert_eq!(matches_codepattern(" a b", "ab"), true); [INFO] [stdout] 138 + assert!(matches_codepattern(" a b", "ab")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(matches_codepattern("", "\x0C"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 143 - assert_eq!(matches_codepattern("", "\x0C"), false); [INFO] [stdout] 143 + assert!(!matches_codepattern("", "\x0C")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(matches_codepattern("a b", "a \u{0085}\n\t\r b "), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 145 - assert_eq!(matches_codepattern("a b", "a \u{0085}\n\t\r b "), false); [INFO] [stdout] 145 + assert!(!matches_codepattern("a b", "a \u{0085}\n\t\r b ")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(matches_codepattern("a b", "a\u{2002}b"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 151 - assert_eq!(matches_codepattern("a b", "a\u{2002}b"), false); [INFO] [stdout] 151 + assert!(!matches_codepattern("a b", "a\u{2002}b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(matches_codepattern("a b", "a\u{2002}b"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 152 - assert_eq!(matches_codepattern("a b", "a\u{2002}b"), false); [INFO] [stdout] 152 + assert!(!matches_codepattern("a b", "a\u{2002}b")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(matches_codepattern("\u{205F}a b", "ab"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 153 - assert_eq!(matches_codepattern("\u{205F}a b", "ab"), false); [INFO] [stdout] 153 + assert!(!matches_codepattern("\u{205F}a b", "ab")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/util/parser_testing.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(matches_codepattern("a \u{3000}b", "ab"), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 154 - assert_eq!(matches_codepattern("a \u{3000}b", "ab"), false); [INFO] [stdout] 154 + assert!(!matches_codepattern("a \u{3000}b", "ab")); [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/util/small_vector.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Into> for SmallVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 31 ~ impl From> for Vec { [INFO] [stdout] 32 ~ fn from(val: SmallVector) -> Self { [INFO] [stdout] 33 ~ match val.repr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Iterator` [INFO] [stdout] --> src/util/small_vector.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / enum IntoIterRepr { [INFO] [stdout] 175 | | ZeroIterator, [INFO] [stdout] 176 | | OneIterator(T), [INFO] [stdout] 177 | | ManyIterator(vec::IntoIter), [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `Box>`. Consider using just `Vec<..>` [INFO] [stdout] --> src/util/thin_vec.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ThinVec(Option>>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `Vec<..>` is already on the heap, `Box>` makes an extra allocation [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_collection [INFO] [stdout] = note: `#[warn(clippy::box_collection)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ThinVec` [INFO] [stdout] --> src/util/thin_vec.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / pub fn new() -> Self { [INFO] [stdout] 11 | | ThinVec(None) [INFO] [stdout] 12 | | } [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] 9 + impl Default for ThinVec { [INFO] [stdout] 10 + fn default() -> Self { [INFO] [stdout] 11 + Self::new() [INFO] [stdout] 12 + } [INFO] [stdout] 13 + } [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/util/thin_vec.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl Into> for ThinVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 25 ~ impl From> for Vec { [INFO] [stdout] 26 ~ fn from(val: ThinVec) -> Self { [INFO] [stdout] 27 ~ match val { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/ast.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `u32::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [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/ast.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl Into>> for AngleBracketedParameterData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [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] 172 ~ impl From for Option> { [INFO] [stdout] 173 ~ fn from(val: AngleBracketedParameterData) -> Self { [INFO] [stdout] 174 ~ let empty = val.lifetimes.is_empty() && val.types.is_empty() && val.bindings.is_empty(); [INFO] [stdout] 175 | if empty { [INFO] [stdout] 176 | None [INFO] [stdout] 177 | } else { [INFO] [stdout] 178 ~ Some(P(PathParameters::AngleBracketed(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | / match *self { [INFO] [stdout] 1025 | | LitKind::Str(..) => true, [INFO] [stdout] 1026 | | _ => false, [INFO] [stdout] 1027 | | } [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] 1024 - match *self { [INFO] [stdout] 1025 - LitKind::Str(..) => true, [INFO] [stdout] 1026 - _ => false, [INFO] [stdout] 1027 - } [INFO] [stdout] 1024 + matches!(*self, LitKind::Str(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `write!` args [INFO] [stdout] --> src/ast.rs:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | self.id.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | / match *self { [INFO] [stdout] 1025 | | LitKind::Str(..) => true, [INFO] [stdout] 1026 | | _ => false, [INFO] [stdout] 1027 | | } [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] 1024 - match *self { [INFO] [stdout] 1025 - LitKind::Str(..) => true, [INFO] [stdout] 1026 - _ => false, [INFO] [stdout] 1027 - } [INFO] [stdout] 1024 + matches!(*self, LitKind::Str(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1695:9 [INFO] [stdout] | [INFO] [stdout] 1695 | / if let VariantData::Struct(..) = *self { [INFO] [stdout] 1696 | | true [INFO] [stdout] 1697 | | } else { [INFO] [stdout] 1698 | | false [INFO] [stdout] 1699 | | } [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] 1695 - if let VariantData::Struct(..) = *self { [INFO] [stdout] 1696 - true [INFO] [stdout] 1697 - } else { [INFO] [stdout] 1698 - false [INFO] [stdout] 1699 - } [INFO] [stdout] 1695 + matches!(*self, VariantData::Struct(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1702:9 [INFO] [stdout] | [INFO] [stdout] 1702 | / if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1703 | | true [INFO] [stdout] 1704 | | } else { [INFO] [stdout] 1705 | | false [INFO] [stdout] 1706 | | } [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] 1702 - if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1703 - true [INFO] [stdout] 1704 - } else { [INFO] [stdout] 1705 - false [INFO] [stdout] 1706 - } [INFO] [stdout] 1702 + matches!(*self, VariantData::Tuple(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | static USED_ATTRS: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | static KNOWN_ATTRS: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [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: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/attr.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | / self.meta_item() [INFO] [stdout] 134 | | .map_or(false, |meta_item| meta_item.check_name(name)) [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] 134 - .map_or(false, |meta_item| meta_item.check_name(name)) [INFO] [stdout] 134 + .is_some_and(|meta_item| meta_item.check_name(name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/attr.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / self.meta_item() [INFO] [stdout] 141 | | .and_then(|meta_item| Some(meta_item.name())) [INFO] [stdout] | |_________________________________________________________^ help: try: `self.meta_item().map(|meta_item| meta_item.name())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | / match self.node { [INFO] [stdout] 264 | | MetaItemKind::Word => true, [INFO] [stdout] 265 | | _ => false, [INFO] [stdout] 266 | | } [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] 263 - match self.node { [INFO] [stdout] 264 - MetaItemKind::Word => true, [INFO] [stdout] 265 - _ => false, [INFO] [stdout] 266 - } [INFO] [stdout] 263 + matches!(self.node, MetaItemKind::Word) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:299:69 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn parse<'a, T, F>(&self, sess: &'a ParseSess, mut f: F) -> PResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:311:74 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn parse_list<'a, T, F>(&self, sess: &'a ParseSess, mut f: F) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/attr.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | self.parse(sess, |parser| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 319 | | parser.expect(&token::OpenDelim(token::Paren))?; [INFO] [stdout] 320 | | let mut list = Vec::new(); [INFO] [stdout] 321 | | while !parser.eat(&token::CloseDelim(token::Paren)) { [INFO] [stdout] ... | [INFO] [stdout] 328 | | Ok(list) [INFO] [stdout] 329 | | }) [INFO] [stdout] | |_________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:332:58 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn parse_meta<'a>(&self, sess: &'a ParseSess) -> PResult<'a, MetaItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/attr.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | node: self.parse(sess, |parser| parser.parse_meta_item_kind())?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:418:52 [INFO] [stdout] | [INFO] [stdout] 418 | thread_local! { static NEXT_ATTR_ID: Cell = Cell::new(0) } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace with: `const { Cell::new(0) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(f)` on an `Option` value where `f` is a closure that returns the unit type `()` [INFO] [stdout] --> src/attr.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | / diagnostic.map(|d| { [INFO] [stdout] 551 | | span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 552 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn [INFO] [stdout] = note: `#[warn(clippy::option_map_unit_fn)]` on by default [INFO] [stdout] help: use `if let` instead [INFO] [stdout] | [INFO] [stdout] 550 - diagnostic.map(|d| { [INFO] [stdout] 551 - span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 552 - }); [INFO] [stdout] 550 + if let Some(d) = diagnostic { span_err!(d, attr.span, E0534, "expected one argument") } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(f)` on an `Option` value where `f` is a closure that returns the unit type `()` [INFO] [stdout] --> src/attr.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | / diagnostic.map(|d| { [INFO] [stdout] 560 | | span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 561 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn [INFO] [stdout] help: use `if let` instead [INFO] [stdout] | [INFO] [stdout] 559 - diagnostic.map(|d| { [INFO] [stdout] 560 - span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 561 - }); [INFO] [stdout] 559 + if let Some(d) = diagnostic { span_err!(d, items[0].span, E0535, "invalid argument") } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | / if let Unstable { .. } = *self { [INFO] [stdout] 668 | | true [INFO] [stdout] 669 | | } else { [INFO] [stdout] 670 | | false [INFO] [stdout] 671 | | } [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] 667 - if let Unstable { .. } = *self { [INFO] [stdout] 668 - true [INFO] [stdout] 669 - } else { [INFO] [stdout] 670 - false [INFO] [stdout] 671 - } [INFO] [stdout] 667 + matches!(*self, Unstable { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | / if let Stable { .. } = *self { [INFO] [stdout] 675 | | true [INFO] [stdout] 676 | | } else { [INFO] [stdout] 677 | | false [INFO] [stdout] 678 | | } [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] 674 - if let Stable { .. } = *self { [INFO] [stdout] 675 - true [INFO] [stdout] 676 - } else { [INFO] [stdout] 677 - false [INFO] [stdout] 678 - } [INFO] [stdout] 674 + matches!(*self, Stable { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/attr.rs:1066:30 [INFO] [stdout] | [INFO] [stdout] 1066 | _ => match int_type_of_word(word) { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1067 | | Some(ity) => Some(ReprInt(ity)), [INFO] [stdout] 1068 | | None => None, [INFO] [stdout] 1069 | | }, [INFO] [stdout] | |_________________________^ help: try: `int_type_of_word(word).map(ReprInt)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/attr.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | while let Some(..) = tokens.peek() { [INFO] [stdout] | ----------^^^^^^^^---------------- help: try: `while tokens.peek().is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `char` [INFO] [stdout] --> src/attr.rs:1341:57 [INFO] [stdout] | [INFO] [stdout] 1341 | let string: String = ch.escape_default().map(Into::::into).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | / return Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 353 | | begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 354 | | end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 355 | | })); [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] 352 ~ Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 353 + begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 354 + end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 355 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok((&src[start_index..end_index]).to_string()); [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] 374 - return Ok((&src[start_index..end_index]).to_string()); [INFO] [stdout] 374 + Ok((&src[start_index..end_index]).to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | / return Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 378 | | filename: local_begin.fm.name.clone(), [INFO] [stdout] 379 | | }); [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] 377 ~ Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 378 + filename: local_begin.fm.name.clone(), [INFO] [stdout] 379 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/codemap.rs:374:31 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok((&src[start_index..end_index]).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `src[start_index..end_index]` [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/codemap.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | return a; [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] 478 - return a; [INFO] [stdout] 478 + a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/codemap.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | for &(ref from, ref to) in self.mapping.iter().rev() { [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] 525 - for &(ref from, ref to) in self.mapping.iter().rev() { [INFO] [stdout] 525 + for (from, to) in self.mapping.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/config.rs:91:69 [INFO] [stdout] | [INFO] [stdout] 91 | let (cfg, path, tokens, span) = match attr.parse(self.sess, |parser| { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 92 | | parser.expect(&token::OpenDelim(token::Paren))?; [INFO] [stdout] 93 | | let cfg = parser.parse_meta_item()?; [INFO] [stdout] 94 | | parser.expect(&token::Comma)?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | )) [INFO] [stdout] 107 | | }) { [INFO] [stdout] | |_________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/config.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | None => return SmallVector::new(), [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] 352 - None => return SmallVector::new(), [INFO] [stdout] 352 + None => SmallVector::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Features` [INFO] [stdout] --> src/feature_gate.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / pub fn new() -> Features { [INFO] [stdout] 61 | | Features { [INFO] [stdout] 62 | | declared_stable_lang_features: Vec::new(), [INFO] [stdout] 63 | | declared_lib_features: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 103 | / declare_features!( [INFO] [stdout] 104 | | (active, asm, "1.0.0", Some(29722)), [INFO] [stdout] 105 | | (active, concat_idents, "1.0.0", Some(29599)), [INFO] [stdout] 106 | | (active, link_args, "1.0.0", Some(29596)), [INFO] [stdout] ... | [INFO] [stdout] 281 | | (active, abi_thiscall, "1.19.0", None), [INFO] [stdout] 282 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `declare_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 59 ~ impl Default for Features { [INFO] [stdout] 60 + fn default() -> Self { [INFO] [stdout] 61 + Self::new() [INFO] [stdout] 62 + } [INFO] [stdout] 63 + } [INFO] [stdout] 64 + [INFO] [stdout] 65 ~ impl Features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/feature_gate.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | / match *self { [INFO] [stdout] 387 | | Gated(Stability::Deprecated(_), ..) => true, [INFO] [stdout] 388 | | _ => false, [INFO] [stdout] 389 | | } [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] 386 - match *self { [INFO] [stdout] 387 - Gated(Stability::Deprecated(_), ..) => true, [INFO] [stdout] 388 - _ => false, [INFO] [stdout] 389 - } [INFO] [stdout] 386 + matches!(*self, Gated(Stability::Deprecated(_), ..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/feature_gate.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | const GATED_CFGS: &[(&str, &str, fn(&Features) -> bool)] = &[ [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: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/feature_gate.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | for &(ref n, ref ty) in self.plugin_attributes { [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] 1077 - for &(ref n, ref ty) in self.plugin_attributes { [INFO] [stdout] 1077 + for (n, ty) in self.plugin_attributes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/feature_gate.rs:1400:17 [INFO] [stdout] | [INFO] [stdout] 1400 | / if attr::contains_name(&i.attrs[..], "macro_reexport") { [INFO] [stdout] 1401 | | gate_feature_post!( [INFO] [stdout] 1402 | | &self, [INFO] [stdout] 1403 | | macro_reexport, [INFO] [stdout] ... | [INFO] [stdout] 1407 | | ); [INFO] [stdout] 1408 | | } [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] 1399 ~ ast::ItemKind::ExternCrate(_) [INFO] [stdout] 1400 ~ if attr::contains_name(&i.attrs[..], "macro_reexport") => { [INFO] [stdout] 1401 | gate_feature_post!( [INFO] [stdout] ... [INFO] [stdout] 1407 | ); [INFO] [stdout] 1408 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1695:9 [INFO] [stdout] | [INFO] [stdout] 1695 | / if let VariantData::Struct(..) = *self { [INFO] [stdout] 1696 | | true [INFO] [stdout] 1697 | | } else { [INFO] [stdout] 1698 | | false [INFO] [stdout] 1699 | | } [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] 1695 - if let VariantData::Struct(..) = *self { [INFO] [stdout] 1696 - true [INFO] [stdout] 1697 - } else { [INFO] [stdout] 1698 - false [INFO] [stdout] 1699 - } [INFO] [stdout] 1695 + matches!(*self, VariantData::Struct(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1702:9 [INFO] [stdout] | [INFO] [stdout] 1702 | / if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1703 | | true [INFO] [stdout] 1704 | | } else { [INFO] [stdout] 1705 | | false [INFO] [stdout] 1706 | | } [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] 1702 - if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1703 - true [INFO] [stdout] 1704 - } else { [INFO] [stdout] 1705 - false [INFO] [stdout] 1706 - } [INFO] [stdout] 1702 + matches!(*self, VariantData::Tuple(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` can be collapsed into the outer `if let` [INFO] [stdout] --> src/feature_gate.rs:1606:21 [INFO] [stdout] | [INFO] [stdout] 1606 | / match *ty { [INFO] [stdout] 1607 | | ast::LitIntType::Signed(ast::IntTy::I128) [INFO] [stdout] 1608 | | | ast::LitIntType::Unsigned(ast::UintTy::U128) => { [INFO] [stdout] 1609 | | gate_feature_post!( [INFO] [stdout] ... | [INFO] [stdout] 1616 | | _ => {} [INFO] [stdout] 1617 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] help: the outer pattern can be modified to include the inner pattern [INFO] [stdout] --> src/feature_gate.rs:1605:45 [INFO] [stdout] | [INFO] [stdout] 1605 | if let ast::LitKind::Int(_, ref ty) = lit.node { [INFO] [stdout] | ^^^^^^ -------- use: `lit.node.copied()` [INFO] [stdout] | | [INFO] [stdout] | replace this binding [INFO] [stdout] 1606 | match *ty { [INFO] [stdout] 1607 | / ast::LitIntType::Signed(ast::IntTy::I128) [INFO] [stdout] 1608 | | | ast::LitIntType::Unsigned(ast::UintTy::U128) => { [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: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/feature_gate.rs:1752:17 [INFO] [stdout] | [INFO] [stdout] 1752 | / if sig.constness.node == ast::Constness::Const { [INFO] [stdout] 1753 | | gate_feature_post!(&self, const_fn, ii.span, "const fn is unstable"); [INFO] [stdout] 1754 | | } [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] 1751 ~ ast::ImplItemKind::Method(ref sig, _) [INFO] [stdout] 1752 ~ if sig.constness.node == ast::Constness::Const => { [INFO] [stdout] 1753 | gate_feature_post!(&self, const_fn, ii.span, "const fn is unstable"); [INFO] [stdout] 1754 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/feature_gate.rs:1931:9 [INFO] [stdout] | [INFO] [stdout] 1931 | / match *self { [INFO] [stdout] 1932 | | UnstableFeatures::Allow | UnstableFeatures::Cheat => true, [INFO] [stdout] 1933 | | _ => false, [INFO] [stdout] 1934 | | } [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] 1931 - match *self { [INFO] [stdout] 1932 - UnstableFeatures::Allow | UnstableFeatures::Cheat => true, [INFO] [stdout] 1933 - _ => false, [INFO] [stdout] 1934 - } [INFO] [stdout] 1931 + matches!(*self, UnstableFeatures::Allow | UnstableFeatures::Cheat) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | static USED_ATTRS: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | static KNOWN_ATTRS: RefCell> = RefCell::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(Vec::new()) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [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: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/attr.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let idx = (id / 64) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `(id / 64)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/attr.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | / self.meta_item() [INFO] [stdout] 134 | | .map_or(false, |meta_item| meta_item.check_name(name)) [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] 134 - .map_or(false, |meta_item| meta_item.check_name(name)) [INFO] [stdout] 134 + .is_some_and(|meta_item| meta_item.check_name(name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/attr.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / self.meta_item() [INFO] [stdout] 141 | | .and_then(|meta_item| Some(meta_item.name())) [INFO] [stdout] | |_________________________________________________________^ help: try: `self.meta_item().map(|meta_item| meta_item.name())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | / match self.node { [INFO] [stdout] 264 | | MetaItemKind::Word => true, [INFO] [stdout] 265 | | _ => false, [INFO] [stdout] 266 | | } [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] 263 - match self.node { [INFO] [stdout] 264 - MetaItemKind::Word => true, [INFO] [stdout] 265 - _ => false, [INFO] [stdout] 266 - } [INFO] [stdout] 263 + matches!(self.node, MetaItemKind::Word) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:299:69 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn parse<'a, T, F>(&self, sess: &'a ParseSess, mut f: F) -> PResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:311:74 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn parse_list<'a, T, F>(&self, sess: &'a ParseSess, mut f: F) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/attr.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | self.parse(sess, |parser| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 319 | | parser.expect(&token::OpenDelim(token::Paren))?; [INFO] [stdout] 320 | | let mut list = Vec::new(); [INFO] [stdout] 321 | | while !parser.eat(&token::CloseDelim(token::Paren)) { [INFO] [stdout] ... | [INFO] [stdout] 328 | | Ok(list) [INFO] [stdout] 329 | | }) [INFO] [stdout] | |_________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/attr.rs:332:58 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn parse_meta<'a>(&self, sess: &'a ParseSess) -> PResult<'a, MetaItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/attr.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | node: self.parse(sess, |parser| parser.parse_meta_item_kind())?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/attr.rs:418:52 [INFO] [stdout] | [INFO] [stdout] 418 | thread_local! { static NEXT_ATTR_ID: Cell = Cell::new(0) } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace with: `const { Cell::new(0) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(f)` on an `Option` value where `f` is a closure that returns the unit type `()` [INFO] [stdout] --> src/attr.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | / diagnostic.map(|d| { [INFO] [stdout] 551 | | span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 552 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn [INFO] [stdout] = note: `#[warn(clippy::option_map_unit_fn)]` on by default [INFO] [stdout] help: use `if let` instead [INFO] [stdout] | [INFO] [stdout] 550 - diagnostic.map(|d| { [INFO] [stdout] 551 - span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 552 - }); [INFO] [stdout] 550 + if let Some(d) = diagnostic { span_err!(d, attr.span, E0534, "expected one argument") } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(f)` on an `Option` value where `f` is a closure that returns the unit type `()` [INFO] [stdout] --> src/attr.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 559 | / diagnostic.map(|d| { [INFO] [stdout] 560 | | span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 561 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn [INFO] [stdout] help: use `if let` instead [INFO] [stdout] | [INFO] [stdout] 559 - diagnostic.map(|d| { [INFO] [stdout] 560 - span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 561 - }); [INFO] [stdout] 559 + if let Some(d) = diagnostic { span_err!(d, items[0].span, E0535, "invalid argument") } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of inherent method `to_string(&self) -> String` for type `parse::parser::TokenType` [INFO] [stdout] --> src/parse/parser.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | / fn to_string(&self) -> String { [INFO] [stdout] 341 | | match *self { [INFO] [stdout] 342 | | TokenType::Token(ref t) => format!("`{}`", Parser::token_to_string(t)), [INFO] [stdout] 343 | | TokenType::Keyword(kw) => format!("`{}`", kw.name()), [INFO] [stdout] ... | [INFO] [stdout] 350 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: implement trait `Display` for type `parse::parser::TokenType` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string [INFO] [stdout] = note: `#[warn(clippy::inherent_to_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:583:59 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn unexpected_last(&self, t: &token::Token) -> PResult<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:591:40 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn unexpected(&mut self) -> PResult<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:600:51 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn expect(&mut self, t: &token::Token) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:625:10 [INFO] [stdout] | [INFO] [stdout] 625 | ) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/parse/parser.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | expected.sort_by(|a, b| a.to_string().cmp(&b.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 655 - expected.sort_by(|a, b| a.to_string().cmp(&b.to_string())); [INFO] [stdout] 655 + expected.sort_by_key(|a| a.to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:707:10 [INFO] [stdout] | [INFO] [stdout] 707 | ) -> PResult<'a, (Span, P)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:717:38 [INFO] [stdout] | [INFO] [stdout] 717 | pub fn parse_ident(&mut self) -> PResult<'a, ast::Ident> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:786:64 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn expect_keyword(&mut self, kw: keywords::Keyword) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:844:33 [INFO] [stdout] | [INFO] [stdout] 844 | fn expect_and(&mut self) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 855 | Ok(self.bump_with(token::BinOp(token::And), Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stdout] = note: `#[warn(clippy::unit_arg)]` on by default [INFO] [stdout] help: move the expression in front of the call and replace it with the unit literal `()` [INFO] [stdout] | [INFO] [stdout] 855 ~ self.bump_with(token::BinOp(token::And), Span { lo: lo, ..span }); [INFO] [stdout] 856 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:896:32 [INFO] [stdout] | [INFO] [stdout] 896 | fn expect_lt(&mut self) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:907:36 [INFO] [stdout] | [INFO] [stdout] 907 | pub fn expect_gt(&mut self) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:917:17 [INFO] [stdout] | [INFO] [stdout] 917 | Ok(self.bump_with(token::Gt, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stdout] help: move the expression in front of the call and replace it with the unit literal `()` [INFO] [stdout] | [INFO] [stdout] 917 ~ self.bump_with(token::Gt, Span { lo: lo, ..span }); [INFO] [stdout] 918 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | Ok(self.bump_with(token::Ge, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stdout] help: move the expression in front of the call and replace it with the unit literal `()` [INFO] [stdout] | [INFO] [stdout] 922 ~ self.bump_with(token::Ge, Span { lo: lo, ..span }); [INFO] [stdout] 923 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | Ok(self.bump_with(token::Eq, Span { lo: lo, ..span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stdout] help: move the expression in front of the call and replace it with the unit literal `()` [INFO] [stdout] | [INFO] [stdout] 927 ~ self.bump_with(token::Eq, Span { lo: lo, ..span }); [INFO] [stdout] 928 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:937:10 [INFO] [stdout] | [INFO] [stdout] 937 | ) -> PResult<'a, (Vec, bool)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:968:9 [INFO] [stdout] | [INFO] [stdout] 968 | return Ok((v, false)); [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] 968 - return Ok((v, false)); [INFO] [stdout] 968 + Ok((v, false)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:977:10 [INFO] [stdout] | [INFO] [stdout] 977 | ) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:983:9 [INFO] [stdout] | [INFO] [stdout] 983 | return Ok(result); [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] 983 - return Ok(result); [INFO] [stdout] 983 + Ok(result) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:981:77 [INFO] [stdout] | [INFO] [stdout] 981 | let (result, returned) = self.parse_seq_to_before_gt_or_return(sep, |p| Ok(Some(f(p)?)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:986:81 [INFO] [stdout] | [INFO] [stdout] 986 | pub fn parse_seq_to_gt(&mut self, sep: Option, f: F) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | return Ok(v); [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] 992 - return Ok(v); [INFO] [stdout] 992 + Ok(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:999:10 [INFO] [stdout] | [INFO] [stdout] 999 | ) -> PResult<'a, (Vec, bool)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | return Ok((v, returned)); [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] 1007 - return Ok((v, returned)); [INFO] [stdout] 1007 + Ok((v, returned)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | / if let Unstable { .. } = *self { [INFO] [stdout] 668 | | true [INFO] [stdout] 669 | | } else { [INFO] [stdout] 670 | | false [INFO] [stdout] 671 | | } [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] 667 - if let Unstable { .. } = *self { [INFO] [stdout] 668 - true [INFO] [stdout] 669 - } else { [INFO] [stdout] 670 - false [INFO] [stdout] 671 - } [INFO] [stdout] 667 + matches!(*self, Unstable { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/attr.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | / if let Stable { .. } = *self { [INFO] [stdout] 675 | | true [INFO] [stdout] 676 | | } else { [INFO] [stdout] 677 | | false [INFO] [stdout] 678 | | } [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] 674 - if let Stable { .. } = *self { [INFO] [stdout] 675 - true [INFO] [stdout] 676 - } else { [INFO] [stdout] 677 - false [INFO] [stdout] 678 - } [INFO] [stdout] 674 + matches!(*self, Stable { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | |p| Ok(p.parse_token_tree()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1031:10 [INFO] [stdout] | [INFO] [stdout] 1031 | ) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1104:10 [INFO] [stdout] | [INFO] [stdout] 1104 | ) -> PResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1124:10 [INFO] [stdout] | [INFO] [stdout] 1124 | ) -> PResult<'a, Spanned>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1256:76 [INFO] [stdout] | [INFO] [stdout] 1256 | pub fn parse_ty_bare_fn(&mut self, lifetime_defs: Vec) -> PResult<'a, TyKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1292:41 [INFO] [stdout] | [INFO] [stdout] 1292 | pub fn parse_unsafety(&mut self) -> PResult<'a, Unsafety> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:1294:13 [INFO] [stdout] | [INFO] [stdout] 1294 | return Ok(Unsafety::Unsafe); [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] 1294 - return Ok(Unsafety::Unsafe); [INFO] [stdout] 1294 + Ok(Unsafety::Unsafe) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:1296:13 [INFO] [stdout] | [INFO] [stdout] 1296 | return Ok(Unsafety::Normal); [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] 1296 - return Ok(Unsafety::Normal); [INFO] [stdout] 1296 + Ok(Unsafety::Normal) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1301:62 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn parse_trait_item(&mut self, at_end: &mut bool) -> PResult<'a, TraitItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/attr.rs:1066:30 [INFO] [stdout] | [INFO] [stdout] 1066 | _ => match int_type_of_word(word) { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1067 | | Some(ity) => Some(ReprInt(ity)), [INFO] [stdout] 1068 | | None => None, [INFO] [stdout] 1069 | | }, [INFO] [stdout] | |_________________________^ help: try: `int_type_of_word(word).map(ReprInt)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/parse/parser.rs:1360:46 [INFO] [stdout] | [INFO] [stdout] 1360 | let (constness, unsafety, abi) = match self.parse_fn_front_matter() { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 1361 | | Ok(cua) => cua, [INFO] [stdout] 1362 | | Err(e) => return Err(e), [INFO] [stdout] 1363 | | }; [INFO] [stdout] | |_____________^ help: try instead: `self.parse_fn_front_matter()?` [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: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:1368:50 [INFO] [stdout] | [INFO] [stdout] 1368 | let d = self.parse_fn_decl_with_self(|p: &mut Parser<'a>| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] ... | [INFO] [stdout] 1373 | | })?; [INFO] [stdout] | |_____________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1416:39 [INFO] [stdout] | [INFO] [stdout] 1416 | pub fn parse_ret_ty(&mut self) -> PResult<'a, FunctionRetTy> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1428:35 [INFO] [stdout] | [INFO] [stdout] 1428 | pub fn parse_ty(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1437:39 [INFO] [stdout] | [INFO] [stdout] 1437 | fn parse_ty_no_plus(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1441:56 [INFO] [stdout] | [INFO] [stdout] 1441 | fn parse_ty_common(&mut self, allow_plus: bool) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1590:10 [INFO] [stdout] | [INFO] [stdout] 1590 | ) -> PResult<'a, TyKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1600:82 [INFO] [stdout] | [INFO] [stdout] 1600 | fn maybe_recover_from_bad_type_plus(&mut self, allow_plus: bool, ty: &Ty) -> PResult<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/attr.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | while let Some(..) = tokens.peek() { [INFO] [stdout] | ----------^^^^^^^^---------------- help: try: `while tokens.peek().is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1645:45 [INFO] [stdout] | [INFO] [stdout] 1645 | fn parse_borrowed_pointee(&mut self) -> PResult<'a, TyKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:1653:9 [INFO] [stdout] | [INFO] [stdout] 1653 | / return Ok(TyKind::Rptr( [INFO] [stdout] 1654 | | opt_lifetime, [INFO] [stdout] 1655 | | MutTy { [INFO] [stdout] 1656 | | ty: ty, [INFO] [stdout] 1657 | | mutbl: mutbl, [INFO] [stdout] 1658 | | }, [INFO] [stdout] 1659 | | )); [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] 1653 ~ Ok(TyKind::Rptr( [INFO] [stdout] 1654 + opt_lifetime, [INFO] [stdout] 1655 + MutTy { [INFO] [stdout] 1656 + ty: ty, [INFO] [stdout] 1657 + mutbl: mutbl, [INFO] [stdout] 1658 + }, [INFO] [stdout] 1659 ~ )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1662:36 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn parse_ptr(&mut self) -> PResult<'a, MutTy> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `char` [INFO] [stdout] --> src/attr.rs:1341:57 [INFO] [stdout] | [INFO] [stdout] 1341 | let string: String = ch.escape_default().map(Into::::into).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parse/parser.rs:1695:37 [INFO] [stdout] | [INFO] [stdout] 1695 | self.look_ahead(offset, |t| is_ident_or_underscore(t)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `is_ident_or_underscore` [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: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1702:64 [INFO] [stdout] | [INFO] [stdout] 1702 | pub fn parse_arg_general(&mut self, require_name: bool) -> PResult<'a, Arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1738:36 [INFO] [stdout] | [INFO] [stdout] 1738 | pub fn parse_arg(&mut self) -> PResult<'a, Arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1743:45 [INFO] [stdout] | [INFO] [stdout] 1743 | pub fn parse_fn_block_arg(&mut self) -> PResult<'a, Arg> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1761:58 [INFO] [stdout] | [INFO] [stdout] 1761 | pub fn maybe_parse_fixed_length_of_vec(&mut self) -> PResult<'a, Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1770:42 [INFO] [stdout] | [INFO] [stdout] 1770 | pub fn parse_lit_token(&mut self) -> PResult<'a, LitKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1804:36 [INFO] [stdout] | [INFO] [stdout] 1804 | pub fn parse_lit(&mut self) -> PResult<'a, Lit> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1821:56 [INFO] [stdout] | [INFO] [stdout] 1821 | pub fn parse_pat_literal_maybe_minus(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1838:51 [INFO] [stdout] | [INFO] [stdout] 1838 | pub fn parse_path_segment_ident(&mut self) -> PResult<'a, ast::Ident> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1863:64 [INFO] [stdout] | [INFO] [stdout] 1863 | pub fn parse_qualified_path(&mut self, mode: PathStyle) -> PResult<'a, (QSelf, ast::Path)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1899:54 [INFO] [stdout] | [INFO] [stdout] 1899 | pub fn parse_path(&mut self, mode: PathStyle) -> PResult<'a, ast::Path> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1927:68 [INFO] [stdout] | [INFO] [stdout] 1927 | pub fn parse_path_allowing_meta(&mut self, mode: PathStyle) -> PResult<'a, ast::Path> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1949:61 [INFO] [stdout] | [INFO] [stdout] 1949 | pub fn parse_path_segments_without_colons(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:1983:21 [INFO] [stdout] | [INFO] [stdout] 1983 | |p| p.parse_ty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2021:58 [INFO] [stdout] | [INFO] [stdout] 2021 | pub fn parse_path_segments_with_colons(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2063:60 [INFO] [stdout] | [INFO] [stdout] 2063 | pub fn parse_path_segments_without_types(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2112:43 [INFO] [stdout] | [INFO] [stdout] 2112 | pub fn parse_field_name(&mut self) -> PResult<'a, Ident> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2122:38 [INFO] [stdout] | [INFO] [stdout] 2122 | pub fn parse_field(&mut self) -> PResult<'a, Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `util::thin_vec::ThinVec` [INFO] [stdout] --> src/parse/parser.rs:2159:20 [INFO] [stdout] | [INFO] [stdout] 2159 | attrs: attrs.into(), [INFO] [stdout] | ^^^^^^^^^^^^ help: consider removing `.into()`: `attrs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2193:10 [INFO] [stdout] | [INFO] [stdout] 2193 | ) -> PResult<'a, ast::ExprKind> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2240:50 [INFO] [stdout] | [INFO] [stdout] 2240 | fn expect_delimited_token_tree(&mut self) -> PResult<'a, (token::DelimToken, ThinTokenStream)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2257:40 [INFO] [stdout] | [INFO] [stdout] 2257 | fn parse_bottom_expr(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:2505:9 [INFO] [stdout] | [INFO] [stdout] 2505 | return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [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] 2505 - return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [INFO] [stdout] 2505 + Ok(self.mk_expr(lo.to(hi), ex, attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | / return Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 353 | | begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 354 | | end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 355 | | })); [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] 352 ~ Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 353 + begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 354 + end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 355 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok((&src[start_index..end_index]).to_string()); [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] 374 - return Ok((&src[start_index..end_index]).to_string()); [INFO] [stdout] 374 + Ok((&src[start_index..end_index]).to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | / return Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 378 | | filename: local_begin.fm.name.clone(), [INFO] [stdout] 379 | | }); [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] 377 ~ Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 378 + filename: local_begin.fm.name.clone(), [INFO] [stdout] 379 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/codemap.rs:374:31 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok((&src[start_index..end_index]).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `src[start_index..end_index]` [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: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:2336:29 [INFO] [stdout] | [INFO] [stdout] 2336 | ... |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/parse/parser.rs:2336:33 [INFO] [stdout] | [INFO] [stdout] 2336 | ... |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 2336 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2336 + |p| p.parse_expr(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | return a; [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] 478 - return a; [INFO] [stdout] 478 + a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/codemap.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | for &(ref from, ref to) in self.mapping.iter().rev() { [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] 525 - for &(ref from, ref to) in self.mapping.iter().rev() { [INFO] [stdout] 525 + for (from, to) in self.mapping.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2513:10 [INFO] [stdout] | [INFO] [stdout] 2513 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:2555:9 [INFO] [stdout] | [INFO] [stdout] 2555 | return Ok(self.mk_expr(span, ExprKind::Struct(pth, fields, base), attrs)); [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] 2555 - return Ok(self.mk_expr(span, ExprKind::Struct(pth, fields, base), attrs)); [INFO] [stdout] 2555 + Ok(self.mk_expr(span, ExprKind::Struct(pth, fields, base), attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2561:10 [INFO] [stdout] | [INFO] [stdout] 2561 | ) -> PResult<'a, ThinVec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2575:10 [INFO] [stdout] | [INFO] [stdout] 2575 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:2582:9 [INFO] [stdout] | [INFO] [stdout] 2582 | return Ok(self.mk_expr(blk.span, ExprKind::Block(blk), attrs)); [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] 2582 - return Ok(self.mk_expr(blk.span, ExprKind::Block(blk), attrs)); [INFO] [stdout] 2582 + Ok(self.mk_expr(blk.span, ExprKind::Block(blk), attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2589:10 [INFO] [stdout] | [INFO] [stdout] 2589 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2602:10 [INFO] [stdout] | [INFO] [stdout] 2602 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/parse/parser.rs:2612:25 [INFO] [stdout] | [INFO] [stdout] 2612 | / if !expr.attrs.is_empty() { [INFO] [stdout] 2613 | | // Just point to the first attribute in there... [INFO] [stdout] 2614 | | let span = expr.attrs[0].span; [INFO] [stdout] ... | [INFO] [stdout] 2620 | | ); [INFO] [stdout] 2621 | | } [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] 2611 ~ ExprKind::If(..) | ExprKind::IfLet(..) [INFO] [stdout] 2612 ~ if !expr.attrs.is_empty() => { [INFO] [stdout] 2613 | // Just point to the first attribute in there... [INFO] [stdout] ... [INFO] [stdout] 2620 | ); [INFO] [stdout] 2621 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2638:10 [INFO] [stdout] | [INFO] [stdout] 2638 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:2660:21 [INFO] [stdout] | [INFO] [stdout] 2660 | |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/parse/parser.rs:2660:25 [INFO] [stdout] | [INFO] [stdout] 2660 | |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 2660 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2660 + |p| p.parse_expr(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2687:74 [INFO] [stdout] | [INFO] [stdout] 2687 | fn parse_dot_or_call_expr_with_(&mut self, e0: P, lo: Span) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:2801:9 [INFO] [stdout] | [INFO] [stdout] 2801 | return Ok(e); [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] 2801 - return Ok(e); [INFO] [stdout] 2801 + Ok(e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:2780:25 [INFO] [stdout] | [INFO] [stdout] 2780 | |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/parse/parser.rs:2780:29 [INFO] [stdout] | [INFO] [stdout] 2780 | |p| Ok(p.parse_expr()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 2780 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2780 + |p| p.parse_expr(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2853:48 [INFO] [stdout] | [INFO] [stdout] 2853 | pub fn parse_all_token_trees(&mut self) -> PResult<'a, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2876:10 [INFO] [stdout] | [INFO] [stdout] 2876 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:2937:9 [INFO] [stdout] | [INFO] [stdout] 2937 | return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [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] 2937 - return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [INFO] [stdout] 2937 + Ok(self.mk_expr(lo.to(hi), ex, attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/config.rs:91:69 [INFO] [stdout] | [INFO] [stdout] 91 | let (cfg, path, tokens, span) = match attr.parse(self.sess, |parser| { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 92 | | parser.expect(&token::OpenDelim(token::Paren))?; [INFO] [stdout] 93 | | let cfg = parser.parse_meta_item()?; [INFO] [stdout] 94 | | parser.expect(&token::Comma)?; [INFO] [stdout] ... | [INFO] [stdout] 106 | | )) [INFO] [stdout] 107 | | }) { [INFO] [stdout] | |_________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2947:10 [INFO] [stdout] | [INFO] [stdout] 2947 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:2952:79 [INFO] [stdout] | [INFO] [stdout] 2952 | pub fn parse_assoc_expr_with(&mut self, min_prec: usize, lhs: LhsExpr) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:3041:83 [INFO] [stdout] | [INFO] [stdout] 3041 | .with_res(restrictions - Restrictions::RESTRICTION_STMT_EXPR, |this| { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 3042 | | this.parse_assoc_expr_with(op.precedence(), LhsExpr::NotYetParsed) [INFO] [stdout] 3043 | | }), [INFO] [stdout] | |_____________________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:3045:83 [INFO] [stdout] | [INFO] [stdout] 3045 | .with_res(restrictions - Restrictions::RESTRICTION_STMT_EXPR, |this| { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 3046 | | this.parse_assoc_expr_with(op.precedence() + 1, LhsExpr::NotYetParsed) [INFO] [stdout] 3047 | | }), [INFO] [stdout] | |_____________________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:3051:83 [INFO] [stdout] | [INFO] [stdout] 3051 | .with_res(restrictions - Restrictions::RESTRICTION_STMT_EXPR, |this| { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 3052 | | this.parse_assoc_expr_with(op.precedence() + 1, LhsExpr::NotYetParsed) [INFO] [stdout] 3053 | | }), [INFO] [stdout] | |_____________________^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3142:10 [INFO] [stdout] | [INFO] [stdout] 3142 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `map` over `inspect` [INFO] [stdout] --> src/parse/parser.rs:3154:22 [INFO] [stdout] | [INFO] [stdout] 3154 | .map(|x| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect [INFO] [stdout] = note: `#[warn(clippy::manual_inspect)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 3154 ~ .inspect(|x| { [INFO] [stdout] 3155 ~ hi = x.span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/config.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | None => return SmallVector::new(), [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] 352 - None => return SmallVector::new(), [INFO] [stdout] 352 + None => SmallVector::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3187:67 [INFO] [stdout] | [INFO] [stdout] 3187 | pub fn parse_if_expr(&mut self, attrs: ThinVec) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3205:71 [INFO] [stdout] | [INFO] [stdout] 3205 | pub fn parse_if_let_expr(&mut self, attrs: ThinVec) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3227:10 [INFO] [stdout] | [INFO] [stdout] 3227 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3248:42 [INFO] [stdout] | [INFO] [stdout] 3248 | pub fn parse_else_expr(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3250:13 [INFO] [stdout] | [INFO] [stdout] 3250 | return self.parse_if_expr(ThinVec::new()); [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] 3250 - return self.parse_if_expr(ThinVec::new()); [INFO] [stdout] 3250 + self.parse_if_expr(ThinVec::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3253:13 [INFO] [stdout] | [INFO] [stdout] 3253 | return Ok(self.mk_expr(blk.span, ExprKind::Block(blk), ThinVec::new())); [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] 3253 - return Ok(self.mk_expr(blk.span, ExprKind::Block(blk), ThinVec::new())); [INFO] [stdout] 3253 + Ok(self.mk_expr(blk.span, ExprKind::Block(blk), ThinVec::new())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3263:10 [INFO] [stdout] | [INFO] [stdout] 3263 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3286:10 [INFO] [stdout] | [INFO] [stdout] 3286 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3294:9 [INFO] [stdout] | [INFO] [stdout] 3294 | return Ok(self.mk_expr(span, ExprKind::While(cond, body, opt_ident), attrs)); [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] 3294 - return Ok(self.mk_expr(span, ExprKind::While(cond, body, opt_ident), attrs)); [INFO] [stdout] 3294 + Ok(self.mk_expr(span, ExprKind::While(cond, body, opt_ident), attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3303:10 [INFO] [stdout] | [INFO] [stdout] 3303 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3311:9 [INFO] [stdout] | [INFO] [stdout] 3311 | return Ok(self.mk_expr(span, ExprKind::WhileLet(pat, expr, body, opt_ident), attrs)); [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] 3311 - return Ok(self.mk_expr(span, ExprKind::WhileLet(pat, expr, body, opt_ident), attrs)); [INFO] [stdout] 3311 + Ok(self.mk_expr(span, ExprKind::WhileLet(pat, expr, body, opt_ident), attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3320:10 [INFO] [stdout] | [INFO] [stdout] 3320 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3332:10 [INFO] [stdout] | [INFO] [stdout] 3332 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3339:70 [INFO] [stdout] | [INFO] [stdout] 3339 | fn parse_match_expr(&mut self, mut attrs: ThinVec) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3370:9 [INFO] [stdout] | [INFO] [stdout] 3370 | return Ok(self.mk_expr(lo.to(hi), ExprKind::Match(discriminant, arms), attrs)); [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] 3370 - return Ok(self.mk_expr(lo.to(hi), ExprKind::Match(discriminant, arms), attrs)); [INFO] [stdout] 3370 + Ok(self.mk_expr(lo.to(hi), ExprKind::Match(discriminant, arms), attrs)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3373:36 [INFO] [stdout] | [INFO] [stdout] 3373 | pub fn parse_arm(&mut self) -> PResult<'a, Arm> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3404:37 [INFO] [stdout] | [INFO] [stdout] 3404 | pub fn parse_expr(&mut self) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:3419:9 [INFO] [stdout] | [INFO] [stdout] 3419 | return r; [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] 3419 - return r; [INFO] [stdout] 3419 + r [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3427:10 [INFO] [stdout] | [INFO] [stdout] 3427 | ) -> PResult<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this closure is very large [INFO] [stdout] --> src/parse/parser.rs:3428:26 [INFO] [stdout] | [INFO] [stdout] 3428 | self.with_res(r, |this| this.parse_assoc_expr(already_parsed_attrs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'_>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3432:40 [INFO] [stdout] | [INFO] [stdout] 3432 | fn parse_initializer(&mut self) -> PResult<'a, Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3442:33 [INFO] [stdout] | [INFO] [stdout] 3442 | fn parse_pats(&mut self) -> PResult<'a, Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3457:10 [INFO] [stdout] | [INFO] [stdout] 3457 | ) -> PResult<'a, (Vec>, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3491:10 [INFO] [stdout] | [INFO] [stdout] 3491 | ) -> PResult<'a, (Vec>, Option>, Vec>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `garando_errors::DiagnosticBuilder<'a>`, for example by boxing large elements or replacing it with `Box>` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/parse/parser.rs:3491:10 [INFO] [stdout] | [INFO] [stdout] 3491 | ) -> PResult<'a, (Vec>, Option>, Vec>)> { [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] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/parse/parser.rs:3511:13 [INFO] [stdout] | [INFO] [stdout] 3511 | / if before_slice { [INFO] [stdout] 3512 | | if self.eat(&token::DotDot) { [INFO] [stdout] 3513 | | if self.check(&token::Comma) || self.check(&token::CloseDelim(token::Bracket)) { [INFO] [stdout] 3514 | | slice = Some(P(ast::Pat { [INFO] [stdout] ... | [INFO] [stdout] 3523 | | } [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] 3511 ~ if before_slice [INFO] [stdout] 3512 ~ && self.eat(&token::DotDot) { [INFO] [stdout] 3513 | if self.check(&token::Comma) || self.check(&token::CloseDelim(token::Bracket)) { [INFO] [stdout] ... [INFO] [stdout] 3521 | continue; [INFO] [stdout] 3522 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:3540:39 [INFO] [stdout] | [INFO] [stdout] 3540 | fn parse_pat_fields(&mut self) -> PResult<'a, (Vec>, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes [INFO] [stdout] | [WARN] too many lines in the log, truncating it