[INFO] fetching crate garando_syntax2 0.1.0... [INFO] linting garando_syntax2-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate garando_syntax2 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate garando_syntax2 0.1.0 [INFO] finished tweaking crates.io crate garando_syntax2 0.1.0 [INFO] tweaked toml for crates.io crate garando_syntax2 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garando_syntax2 0.1.0 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 dirs-sys v0.3.7 [INFO] [stderr] Downloaded garando_errors v0.1.0 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded garando_pos v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8888bfd44858bcd9802735dd0fa0d9da2fc8fd8fcfea646e70a6943b2aab3f3 [INFO] running `Command { std: "docker" "start" "-a" "e8888bfd44858bcd9802735dd0fa0d9da2fc8fd8fcfea646e70a6943b2aab3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8888bfd44858bcd9802735dd0fa0d9da2fc8fd8fcfea646e70a6943b2aab3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8888bfd44858bcd9802735dd0fa0d9da2fc8fd8fcfea646e70a6943b2aab3f3", kill_on_drop: false }` [INFO] [stdout] e8888bfd44858bcd9802735dd0fa0d9da2fc8fd8fcfea646e70a6943b2aab3f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f339aeb6e6c96b07671e4c3ed1eed25de3723872c00a3be69b37937ea3bafeeb [INFO] running `Command { std: "docker" "start" "-a" "f339aeb6e6c96b07671e4c3ed1eed25de3723872c00a3be69b37937ea3bafeeb", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [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_syntax2 v0.1.0 (/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/diagnostics/plugin.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | description: description, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `description` [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: redundant field names in struct initialization [INFO] [stdout] --> src/diagnostics/plugin.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | 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/util/small_vector.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | SmallVector { 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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/util/small_vector.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | 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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | registry: registry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `registry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | dst: dst, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `dst` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | registry: registry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `registry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | def_site_span: def_site_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `def_site_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/json.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | is_primary: is_primary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_primary` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | label: label, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | explanation: explanation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `explanation` [INFO] [stdout] | [INFO] [stdout] = help: 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/abi.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | 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:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | 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: `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/diagnostics/plugin.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | description: description, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `description` [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: redundant field names in struct initialization [INFO] [stdout] --> src/diagnostics/plugin.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | 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/util/small_vector.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | SmallVector { 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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/util/small_vector.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | 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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | registry: registry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `registry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | dst: dst, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `dst` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | registry: registry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `registry` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | def_site_span: def_site_span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `def_site_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/json.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | is_primary: is_primary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `is_primary` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | label: label, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/json.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | explanation: explanation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `explanation` [INFO] [stdout] | [INFO] [stdout] = help: 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/abi.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | 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:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | 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:1466:13 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1474:13 [INFO] [stdout] | [INFO] [stdout] 1474 | 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:1472:17 [INFO] [stdout] | [INFO] [stdout] 1472 | 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:1491:21 [INFO] [stdout] | [INFO] [stdout] 1491 | 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:1488:29 [INFO] [stdout] | [INFO] [stdout] 1488 | ... 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:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | 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:1721:17 [INFO] [stdout] | [INFO] [stdout] 1721 | 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/attr.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | 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:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | 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:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | 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:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | 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:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | 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:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | 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:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:793:33 [INFO] [stdout] | [INFO] [stdout] 793 | ... 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:794:33 [INFO] [stdout] | [INFO] [stdout] 794 | ... 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:868:33 [INFO] [stdout] | [INFO] [stdout] 868 | ... 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:853:37 [INFO] [stdout] | [INFO] [stdout] 853 | ... 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:922:33 [INFO] [stdout] | [INFO] [stdout] 922 | ... 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:921:49 [INFO] [stdout] | [INFO] [stdout] 921 | ... 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:1035:17 [INFO] [stdout] | [INFO] [stdout] 1035 | 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:1036:17 [INFO] [stdout] | [INFO] [stdout] 1036 | 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:1222:13 [INFO] [stdout] | [INFO] [stdout] 1222 | 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:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1224:13 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:1275:29 [INFO] [stdout] | [INFO] [stdout] 1275 | ... 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:1466:13 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1474:13 [INFO] [stdout] | [INFO] [stdout] 1474 | 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:1472:17 [INFO] [stdout] | [INFO] [stdout] 1472 | 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:1331:21 [INFO] [stdout] | [INFO] [stdout] 1331 | 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:1491:21 [INFO] [stdout] | [INFO] [stdout] 1491 | 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:1488:29 [INFO] [stdout] | [INFO] [stdout] 1488 | ... 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/attr.rs:1332:21 [INFO] [stdout] | [INFO] [stdout] 1332 | 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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | file_loader: file_loader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `file_loader` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | 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:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | 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:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | 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:290:54 [INFO] [stdout] | [INFO] [stdout] 290 | 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:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | 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:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | 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:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | 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:448:33 [INFO] [stdout] | [INFO] [stdout] 448 | ... 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:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | 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:596:27 [INFO] [stdout] | [INFO] [stdout] 596 | 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: redundant field names in struct initialization [INFO] [stdout] --> src/ast.rs:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | 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:1721:17 [INFO] [stdout] | [INFO] [stdout] 1721 | 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/feature_gate.rs:1125:9 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1126:9 [INFO] [stdout] | [INFO] [stdout] 1126 | 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: 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:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | 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:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | 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:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | 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:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | 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:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | 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:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | 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:950:43 [INFO] [stdout] | [INFO] [stdout] 950 | 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/attr.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | 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:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | 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:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | 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/fold.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | 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/attr.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | 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:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | 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:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | 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/attr.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | 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:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | 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/attr.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | 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/fold.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:1313:21 [INFO] [stdout] | [INFO] [stdout] 1313 | 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:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1386:13 [INFO] [stdout] | [INFO] [stdout] 1386 | 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:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | 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/attr.rs:793:33 [INFO] [stdout] | [INFO] [stdout] 793 | ... 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/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:859:68 [INFO] [stdout] | [INFO] [stdout] 859 | 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/attr.rs:794:33 [INFO] [stdout] | [INFO] [stdout] 794 | ... 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:868:33 [INFO] [stdout] | [INFO] [stdout] 868 | ... 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/parse/parser.rs:893:50 [INFO] [stdout] | [INFO] [stdout] 893 | 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/attr.rs:853:37 [INFO] [stdout] | [INFO] [stdout] 853 | ... 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/parse/parser.rs:921:53 [INFO] [stdout] | [INFO] [stdout] 921 | 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:926:53 [INFO] [stdout] | [INFO] [stdout] 926 | 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/attr.rs:922:33 [INFO] [stdout] | [INFO] [stdout] 922 | ... 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:921:49 [INFO] [stdout] | [INFO] [stdout] 921 | ... 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/parse/parser.rs:931:53 [INFO] [stdout] | [INFO] [stdout] 931 | 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/attr.rs:1035:17 [INFO] [stdout] | [INFO] [stdout] 1035 | 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:1036:17 [INFO] [stdout] | [INFO] [stdout] 1036 | 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:1222:13 [INFO] [stdout] | [INFO] [stdout] 1222 | 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:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | 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:1287:13 [INFO] [stdout] | [INFO] [stdout] 1287 | 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/attr.rs:1224:13 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | 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:1292:13 [INFO] [stdout] | [INFO] [stdout] 1292 | 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:1293:13 [INFO] [stdout] | [INFO] [stdout] 1293 | 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:1295:13 [INFO] [stdout] | [INFO] [stdout] 1295 | 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/attr.rs:1275:29 [INFO] [stdout] | [INFO] [stdout] 1275 | ... 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:1362:21 [INFO] [stdout] | [INFO] [stdout] 1362 | 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/attr.rs:1331:21 [INFO] [stdout] | [INFO] [stdout] 1331 | 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:1332:21 [INFO] [stdout] | [INFO] [stdout] 1332 | 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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | file_loader: file_loader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `file_loader` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/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:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | 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:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | 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:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | 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:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | 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:290:54 [INFO] [stdout] | [INFO] [stdout] 290 | 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:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | 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:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | 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:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | 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:448:33 [INFO] [stdout] | [INFO] [stdout] 448 | ... 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:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | 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:596:27 [INFO] [stdout] | [INFO] [stdout] 596 | 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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:1384:17 [INFO] [stdout] | [INFO] [stdout] 1384 | 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:1385:17 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1387:17 [INFO] [stdout] | [INFO] [stdout] 1387 | 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:1388:17 [INFO] [stdout] | [INFO] [stdout] 1388 | 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:1416:13 [INFO] [stdout] | [INFO] [stdout] 1416 | 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:1417:13 [INFO] [stdout] | [INFO] [stdout] 1417 | 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:1535:25 [INFO] [stdout] | [INFO] [stdout] 1535 | 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:1536:25 [INFO] [stdout] | [INFO] [stdout] 1536 | 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:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | 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:1581:13 [INFO] [stdout] | [INFO] [stdout] 1581 | 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:1663:17 [INFO] [stdout] | [INFO] [stdout] 1663 | 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:1664:17 [INFO] [stdout] | [INFO] [stdout] 1664 | 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:1686:13 [INFO] [stdout] | [INFO] [stdout] 1686 | 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:1739:13 [INFO] [stdout] | [INFO] [stdout] 1739 | 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:1763:13 [INFO] [stdout] | [INFO] [stdout] 1763 | 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:1877:17 [INFO] [stdout] | [INFO] [stdout] 1877 | 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:1928:13 [INFO] [stdout] | [INFO] [stdout] 1928 | 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:1979:21 [INFO] [stdout] | [INFO] [stdout] 1979 | 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:1980:21 [INFO] [stdout] | [INFO] [stdout] 1980 | 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:1981:21 [INFO] [stdout] | [INFO] [stdout] 1981 | 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:2004:25 [INFO] [stdout] | [INFO] [stdout] 2004 | 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:2014:17 [INFO] [stdout] | [INFO] [stdout] 2014 | 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:2016:17 [INFO] [stdout] | [INFO] [stdout] 2016 | 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:2047:21 [INFO] [stdout] | [INFO] [stdout] 2047 | 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:2050:25 [INFO] [stdout] | [INFO] [stdout] 2050 | 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:2051:25 [INFO] [stdout] | [INFO] [stdout] 2051 | 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:2052:25 [INFO] [stdout] | [INFO] [stdout] 2052 | 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:2101:21 [INFO] [stdout] | [INFO] [stdout] 2101 | 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:2155:13 [INFO] [stdout] | [INFO] [stdout] 2155 | 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:2156:13 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:2164:13 [INFO] [stdout] | [INFO] [stdout] 2164 | 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:2165:13 [INFO] [stdout] | [INFO] [stdout] 2165 | 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:2227:13 [INFO] [stdout] | [INFO] [stdout] 2227 | 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:2228:13 [INFO] [stdout] | [INFO] [stdout] 2228 | 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:2225:17 [INFO] [stdout] | [INFO] [stdout] 2225 | 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:2243:13 [INFO] [stdout] | [INFO] [stdout] 2243 | 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: 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/parse/parser.rs:2479:33 [INFO] [stdout] | [INFO] [stdout] 2479 | ... 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: 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/feature_gate.rs:1125:9 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1126:9 [INFO] [stdout] | [INFO] [stdout] 1126 | 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: 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/parse/parser.rs:3405:13 [INFO] [stdout] | [INFO] [stdout] 3405 | 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:3406:13 [INFO] [stdout] | [INFO] [stdout] 3406 | 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:3407:13 [INFO] [stdout] | [INFO] [stdout] 3407 | 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:3628:21 [INFO] [stdout] | [INFO] [stdout] 3628 | 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:3752:37 [INFO] [stdout] | [INFO] [stdout] 3752 | ... 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:3753:37 [INFO] [stdout] | [INFO] [stdout] 3753 | ... 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:3873:13 [INFO] [stdout] | [INFO] [stdout] 3873 | 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:3874:13 [INFO] [stdout] | [INFO] [stdout] 3874 | 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:3875:13 [INFO] [stdout] | [INFO] [stdout] 3875 | 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:3878:13 [INFO] [stdout] | [INFO] [stdout] 3878 | 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:3895:13 [INFO] [stdout] | [INFO] [stdout] 3895 | 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:3897:13 [INFO] [stdout] | [INFO] [stdout] 3897 | 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:3898:13 [INFO] [stdout] | [INFO] [stdout] 3898 | 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:4107:25 [INFO] [stdout] | [INFO] [stdout] 4107 | 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:4214:25 [INFO] [stdout] | [INFO] [stdout] 4214 | 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:4254:21 [INFO] [stdout] | [INFO] [stdout] 4254 | 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:4273:21 [INFO] [stdout] | [INFO] [stdout] 4273 | 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:4282:37 [INFO] [stdout] | [INFO] [stdout] 4282 | ... 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/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/parse/parser.rs:4424:13 [INFO] [stdout] | [INFO] [stdout] 4424 | 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/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/parse/parser.rs:4580:13 [INFO] [stdout] | [INFO] [stdout] 4580 | 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:4582:13 [INFO] [stdout] | [INFO] [stdout] 4582 | 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:4583:13 [INFO] [stdout] | [INFO] [stdout] 4583 | 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:4584:13 [INFO] [stdout] | [INFO] [stdout] 4584 | 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:4606:21 [INFO] [stdout] | [INFO] [stdout] 4606 | 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:4607:21 [INFO] [stdout] | [INFO] [stdout] 4607 | 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:4654:17 [INFO] [stdout] | [INFO] [stdout] 4654 | 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/fold.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | 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:4692:21 [INFO] [stdout] | [INFO] [stdout] 4692 | 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/fold.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | 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:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | 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/parse/parser.rs:4693:21 [INFO] [stdout] | [INFO] [stdout] 4693 | 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/fold.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | 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:4764:29 [INFO] [stdout] | [INFO] [stdout] 4764 | ... 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:4765:29 [INFO] [stdout] | [INFO] [stdout] 4765 | ... 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:4789:33 [INFO] [stdout] | [INFO] [stdout] 4789 | ... 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:4800:29 [INFO] [stdout] | [INFO] [stdout] 4800 | ... 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:4883:13 [INFO] [stdout] | [INFO] [stdout] 4883 | 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:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | 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:5062:13 [INFO] [stdout] | [INFO] [stdout] 5062 | 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:5083:13 [INFO] [stdout] | [INFO] [stdout] 5083 | 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:5084:13 [INFO] [stdout] | [INFO] [stdout] 5084 | 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:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | 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:5086:13 [INFO] [stdout] | [INFO] [stdout] 5086 | 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:5087:13 [INFO] [stdout] | [INFO] [stdout] 5087 | 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/fold.rs:921:13 [INFO] [stdout] | [INFO] [stdout] 921 | 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:950:43 [INFO] [stdout] | [INFO] [stdout] 950 | 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:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1084:9 [INFO] [stdout] | [INFO] [stdout] 1084 | 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:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | 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:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | 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:1313:21 [INFO] [stdout] | [INFO] [stdout] 1313 | 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:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1386:13 [INFO] [stdout] | [INFO] [stdout] 1386 | 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:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | 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:5088:13 [INFO] [stdout] | [INFO] [stdout] 5088 | 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:5178:13 [INFO] [stdout] | [INFO] [stdout] 5178 | 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:5179:13 [INFO] [stdout] | [INFO] [stdout] 5179 | 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:5180:13 [INFO] [stdout] | [INFO] [stdout] 5180 | 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:5181:13 [INFO] [stdout] | [INFO] [stdout] 5181 | 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:5277:21 [INFO] [stdout] | [INFO] [stdout] 5277 | 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:5298:25 [INFO] [stdout] | [INFO] [stdout] 5298 | 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:5299:25 [INFO] [stdout] | [INFO] [stdout] 5299 | 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:5300:25 [INFO] [stdout] | [INFO] [stdout] 5300 | 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:5301:25 [INFO] [stdout] | [INFO] [stdout] 5301 | 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:5302:25 [INFO] [stdout] | [INFO] [stdout] 5302 | 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:5589:21 [INFO] [stdout] | [INFO] [stdout] 5589 | 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:5592:21 [INFO] [stdout] | [INFO] [stdout] 5592 | 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:5593:21 [INFO] [stdout] | [INFO] [stdout] 5593 | 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:5738:13 [INFO] [stdout] | [INFO] [stdout] 5738 | 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:5871:13 [INFO] [stdout] | [INFO] [stdout] 5871 | 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:5887:17 [INFO] [stdout] | [INFO] [stdout] 5887 | 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:5998:13 [INFO] [stdout] | [INFO] [stdout] 5998 | 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:5999:13 [INFO] [stdout] | [INFO] [stdout] 5999 | 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:6003:13 [INFO] [stdout] | [INFO] [stdout] 6003 | 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:6023:13 [INFO] [stdout] | [INFO] [stdout] 6023 | 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:6024:13 [INFO] [stdout] | [INFO] [stdout] 6024 | 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:6028:13 [INFO] [stdout] | [INFO] [stdout] 6028 | 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:6093:13 [INFO] [stdout] | [INFO] [stdout] 6093 | 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:6150:17 [INFO] [stdout] | [INFO] [stdout] 6150 | 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:6167:27 [INFO] [stdout] | [INFO] [stdout] 6167 | 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:6603:21 [INFO] [stdout] | [INFO] [stdout] 6603 | 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:6645:21 [INFO] [stdout] | [INFO] [stdout] 6645 | 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: 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: 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:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | 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:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | 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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / /// terminated by a semicolon. [INFO] [stdout] 175 | | [INFO] [stdout] | |_^ [INFO] [stdout] 176 | /// matches inner_attrs* [INFO] [stdout] 177 | 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] 175 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parse/attr.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | 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/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/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: redundant field names in struct initialization [INFO] [stdout] --> src/parse/parser.rs:859:68 [INFO] [stdout] | [INFO] [stdout] 859 | 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:893:50 [INFO] [stdout] | [INFO] [stdout] 893 | 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:921:53 [INFO] [stdout] | [INFO] [stdout] 921 | 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:926:53 [INFO] [stdout] | [INFO] [stdout] 926 | 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:931:53 [INFO] [stdout] | [INFO] [stdout] 931 | 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: 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/parser.rs:1287:13 [INFO] [stdout] | [INFO] [stdout] 1287 | 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:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | 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:1292:13 [INFO] [stdout] | [INFO] [stdout] 1292 | 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/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/parser.rs:1293:13 [INFO] [stdout] | [INFO] [stdout] 1293 | 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:1295:13 [INFO] [stdout] | [INFO] [stdout] 1295 | 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:1362:21 [INFO] [stdout] | [INFO] [stdout] 1362 | 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:1384:17 [INFO] [stdout] | [INFO] [stdout] 1384 | 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:1385:17 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1387:17 [INFO] [stdout] | [INFO] [stdout] 1387 | 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:1388:17 [INFO] [stdout] | [INFO] [stdout] 1388 | 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:1416:13 [INFO] [stdout] | [INFO] [stdout] 1416 | 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:1417:13 [INFO] [stdout] | [INFO] [stdout] 1417 | 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/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/parser.rs:1535:25 [INFO] [stdout] | [INFO] [stdout] 1535 | 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:1536:25 [INFO] [stdout] | [INFO] [stdout] 1536 | 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/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/parser.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | 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:1581:13 [INFO] [stdout] | [INFO] [stdout] 1581 | 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/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/parser.rs:1663:17 [INFO] [stdout] | [INFO] [stdout] 1663 | 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:1664:17 [INFO] [stdout] | [INFO] [stdout] 1664 | 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:1686:13 [INFO] [stdout] | [INFO] [stdout] 1686 | 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:1739:13 [INFO] [stdout] | [INFO] [stdout] 1739 | 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:1763:13 [INFO] [stdout] | [INFO] [stdout] 1763 | 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:1877:17 [INFO] [stdout] | [INFO] [stdout] 1877 | 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:1928:13 [INFO] [stdout] | [INFO] [stdout] 1928 | 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:1979:21 [INFO] [stdout] | [INFO] [stdout] 1979 | 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:1980:21 [INFO] [stdout] | [INFO] [stdout] 1980 | 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:1981:21 [INFO] [stdout] | [INFO] [stdout] 1981 | 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:2004:25 [INFO] [stdout] | [INFO] [stdout] 2004 | 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:2014:17 [INFO] [stdout] | [INFO] [stdout] 2014 | 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:2016:17 [INFO] [stdout] | [INFO] [stdout] 2016 | 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:2047:21 [INFO] [stdout] | [INFO] [stdout] 2047 | 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:2050:25 [INFO] [stdout] | [INFO] [stdout] 2050 | 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:2051:25 [INFO] [stdout] | [INFO] [stdout] 2051 | 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:2052:25 [INFO] [stdout] | [INFO] [stdout] 2052 | 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:2101:21 [INFO] [stdout] | [INFO] [stdout] 2101 | 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:2155:13 [INFO] [stdout] | [INFO] [stdout] 2155 | 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:2156:13 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:2164:13 [INFO] [stdout] | [INFO] [stdout] 2164 | 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:2165:13 [INFO] [stdout] | [INFO] [stdout] 2165 | 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:2227:13 [INFO] [stdout] | [INFO] [stdout] 2227 | 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:2228:13 [INFO] [stdout] | [INFO] [stdout] 2228 | 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:2225:17 [INFO] [stdout] | [INFO] [stdout] 2225 | 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:2243:13 [INFO] [stdout] | [INFO] [stdout] 2243 | 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:2479:33 [INFO] [stdout] | [INFO] [stdout] 2479 | ... 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:3405:13 [INFO] [stdout] | [INFO] [stdout] 3405 | 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:3406:13 [INFO] [stdout] | [INFO] [stdout] 3406 | 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:3407:13 [INFO] [stdout] | [INFO] [stdout] 3407 | 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:3628:21 [INFO] [stdout] | [INFO] [stdout] 3628 | 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:3752:37 [INFO] [stdout] | [INFO] [stdout] 3752 | ... 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:3753:37 [INFO] [stdout] | [INFO] [stdout] 3753 | ... 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/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/parse/parser.rs:3873:13 [INFO] [stdout] | [INFO] [stdout] 3873 | 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:3874:13 [INFO] [stdout] | [INFO] [stdout] 3874 | 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:3875:13 [INFO] [stdout] | [INFO] [stdout] 3875 | 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:3878:13 [INFO] [stdout] | [INFO] [stdout] 3878 | 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:3895:13 [INFO] [stdout] | [INFO] [stdout] 3895 | 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:3897:13 [INFO] [stdout] | [INFO] [stdout] 3897 | 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:3898:13 [INFO] [stdout] | [INFO] [stdout] 3898 | 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:4107:25 [INFO] [stdout] | [INFO] [stdout] 4107 | 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:4214:25 [INFO] [stdout] | [INFO] [stdout] 4214 | 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:4254:21 [INFO] [stdout] | [INFO] [stdout] 4254 | 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:4273:21 [INFO] [stdout] | [INFO] [stdout] 4273 | 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:4282:37 [INFO] [stdout] | [INFO] [stdout] 4282 | ... 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:4424:13 [INFO] [stdout] | [INFO] [stdout] 4424 | 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:4580:13 [INFO] [stdout] | [INFO] [stdout] 4580 | 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:4582:13 [INFO] [stdout] | [INFO] [stdout] 4582 | 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:4583:13 [INFO] [stdout] | [INFO] [stdout] 4583 | 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:4584:13 [INFO] [stdout] | [INFO] [stdout] 4584 | 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:4606:21 [INFO] [stdout] | [INFO] [stdout] 4606 | 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/show_span.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | span_diagnostic: span_diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `span_diagnostic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-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:4607:21 [INFO] [stdout] | [INFO] [stdout] 4607 | 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/show_span.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-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:4654:17 [INFO] [stdout] | [INFO] [stdout] 4654 | 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/std_inject.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | 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:4692:21 [INFO] [stdout] | [INFO] [stdout] 4692 | 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/std_inject.rs:73:17 [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/std_inject.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 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:4693:21 [INFO] [stdout] | [INFO] [stdout] 4693 | 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/test.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | ... 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/parse/parser.rs:4764:29 [INFO] [stdout] | [INFO] [stdout] 4764 | ... 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/test.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | ... 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:4765:29 [INFO] [stdout] | [INFO] [stdout] 4765 | ... 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/test.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | ... 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:4789:33 [INFO] [stdout] | [INFO] [stdout] 4789 | ... 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/test.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | ... 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:4800:29 [INFO] [stdout] | [INFO] [stdout] 4800 | ... 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/test.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | ... 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:4883:13 [INFO] [stdout] | [INFO] [stdout] 4883 | 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/test.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | 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/test.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | 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/test.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | reexport_test_harness_main: reexport_test_harness_main, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `reexport_test_harness_main` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/test.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | 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/parse/parser.rs:5062:13 [INFO] [stdout] | [INFO] [stdout] 5062 | 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:5083:13 [INFO] [stdout] | [INFO] [stdout] 5083 | 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:5084:13 [INFO] [stdout] | [INFO] [stdout] 5084 | 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:5086:13 [INFO] [stdout] | [INFO] [stdout] 5086 | 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/test.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | 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:5087:13 [INFO] [stdout] | [INFO] [stdout] 5087 | 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:5088:13 [INFO] [stdout] | [INFO] [stdout] 5088 | 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:5178:13 [INFO] [stdout] | [INFO] [stdout] 5178 | 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:5179:13 [INFO] [stdout] | [INFO] [stdout] 5179 | 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:5180:13 [INFO] [stdout] | [INFO] [stdout] 5180 | 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:5181:13 [INFO] [stdout] | [INFO] [stdout] 5181 | 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:5277:21 [INFO] [stdout] | [INFO] [stdout] 5277 | 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:5298:25 [INFO] [stdout] | [INFO] [stdout] 5298 | 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:5299:25 [INFO] [stdout] | [INFO] [stdout] 5299 | 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/test.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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:5300:25 [INFO] [stdout] | [INFO] [stdout] 5300 | 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:5301:25 [INFO] [stdout] | [INFO] [stdout] 5301 | 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:5302:25 [INFO] [stdout] | [INFO] [stdout] 5302 | 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:5589:21 [INFO] [stdout] | [INFO] [stdout] 5589 | 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:5592:21 [INFO] [stdout] | [INFO] [stdout] 5592 | 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:5593:21 [INFO] [stdout] | [INFO] [stdout] 5593 | 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/tokenstream.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | 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/parse/parser.rs:5738:13 [INFO] [stdout] | [INFO] [stdout] 5738 | 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:5871:13 [INFO] [stdout] | [INFO] [stdout] 5871 | 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:5887:17 [INFO] [stdout] | [INFO] [stdout] 5887 | 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:5998:13 [INFO] [stdout] | [INFO] [stdout] 5998 | 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:5999:13 [INFO] [stdout] | [INFO] [stdout] 5999 | 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:6003:13 [INFO] [stdout] | [INFO] [stdout] 6003 | 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:6023:13 [INFO] [stdout] | [INFO] [stdout] 6023 | 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:6024:13 [INFO] [stdout] | [INFO] [stdout] 6024 | 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:6028:13 [INFO] [stdout] | [INFO] [stdout] 6028 | 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:6093:13 [INFO] [stdout] | [INFO] [stdout] 6093 | 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:6150:17 [INFO] [stdout] | [INFO] [stdout] 6150 | 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:6167:27 [INFO] [stdout] | [INFO] [stdout] 6167 | 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:6603:21 [INFO] [stdout] | [INFO] [stdout] 6603 | 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/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/parse/parser.rs:6645:21 [INFO] [stdout] | [INFO] [stdout] 6645 | 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: 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: 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/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/parse/attr.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | 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:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | 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:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | 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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / /// terminated by a semicolon. [INFO] [stdout] 175 | | [INFO] [stdout] | |_^ [INFO] [stdout] 176 | /// matches inner_attrs* [INFO] [stdout] 177 | 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] 175 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/print/pprust.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 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:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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/parse/attr.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | 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/ext/base.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | 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:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | 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:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | 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/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/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:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | 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/show_span.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | span_diagnostic: span_diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `span_diagnostic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/show_span.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/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 | 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/std_inject.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | 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/std_inject.rs:73:17 [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/expand.rs:962:21 [INFO] [stdout] | [INFO] [stdout] 962 | 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/std_inject.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | 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:1010:33 [INFO] [stdout] | [INFO] [stdout] 1010 | ... 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/test.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | ... 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:1177:13 [INFO] [stdout] | [INFO] [stdout] 1177 | 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/test.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | ... 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/test.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | ... 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/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/test.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | ... 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/test.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | ... 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/test.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | 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/test.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | 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/test.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | reexport_test_harness_main: reexport_test_harness_main, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `reexport_test_harness_main` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/test.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | 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/test.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | 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/test.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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: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/tokenstream.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | 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/ext/source_util.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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/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/ext/tt/macro_rules.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | 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:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | 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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | 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/print/pprust.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | 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:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | 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:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 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:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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/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:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | 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/base.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | 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:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | 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:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | 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:960:21 [INFO] [stdout] | [INFO] [stdout] 960 | 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:961:21 [INFO] [stdout] | [INFO] [stdout] 961 | 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:962:21 [INFO] [stdout] | [INFO] [stdout] 962 | 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:1010:33 [INFO] [stdout] | [INFO] [stdout] 1010 | ... 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:1177:13 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | 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:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | 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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | 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:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | 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: 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: importing legacy numeric constants [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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: 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:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | static REGISTERED_DIAGNOSTICS: RefCell = { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 25 | | RefCell::new(BTreeMap::new()) [INFO] [stdout] 26 | | } [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:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | 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:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | 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: accessing first element with `token_tree.get(0)` [INFO] [stdout] --> src/diagnostics/plugin.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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] [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/diagnostics/plugin.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / description.map(|raw_msg| { [INFO] [stdout] 106 | | let msg = raw_msg.as_str(); [INFO] [stdout] 107 | | if !msg.starts_with("\n") || !msg.ends_with("\n") { [INFO] [stdout] 108 | | ecx.span_err( [INFO] [stdout] ... | [INFO] [stdout] 134 | | }); [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] 105 - description.map(|raw_msg| { [INFO] [stdout] 106 - let msg = raw_msg.as_str(); [INFO] [stdout] 107 - if !msg.starts_with("\n") || !msg.ends_with("\n") { [INFO] [stdout] 108 - ecx.span_err( [INFO] [stdout] 109 - span, [INFO] [stdout] 110 - &format!( [INFO] [stdout] 111 - "description for error code {} doesn't start and end with a newline", [INFO] [stdout] 112 - code [INFO] [stdout] 113 - ), [INFO] [stdout] 114 - ); [INFO] [stdout] 115 - } [INFO] [stdout] 116 - [INFO] [stdout] 117 - // URLs can be unavoidably longer than the line limit, so we allow them. [INFO] [stdout] 118 - // Allowed format is: `[name]: https://www.rust-lang.org/` [INFO] [stdout] 119 - let is_url = |l: &str| l.starts_with("[") && l.contains("]:") && l.contains("http"); [INFO] [stdout] 120 - [INFO] [stdout] 121 - if msg [INFO] [stdout] 122 - .lines() [INFO] [stdout] 123 - .any(|line| line.len() > MAX_DESCRIPTION_WIDTH && !is_url(line)) [INFO] [stdout] 124 - { [INFO] [stdout] 125 - ecx.span_err( [INFO] [stdout] 126 - span, [INFO] [stdout] 127 - &format!( [INFO] [stdout] 128 - "description for error code {} contains a line longer than {} characters.\n\ [INFO] [stdout] 129 - if you're inserting a long URL use the footnote style to bypass this check.", [INFO] [stdout] 130 - code, MAX_DESCRIPTION_WIDTH [INFO] [stdout] 131 - ), [INFO] [stdout] 132 - ); [INFO] [stdout] 133 - } [INFO] [stdout] 134 - }); [INFO] [stdout] 105 + if let Some(raw_msg) = description { ... } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: immediately dereferencing a reference [INFO] [stdout] --> src/diagnostics/plugin.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | ) => (*&crate_name, name), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `crate_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof [INFO] [stdout] = note: `#[warn(clippy::deref_addrof)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/diagnostics/plugin.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | e.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: unused "map closure" when calling `Option::map_or_else` value [INFO] [stdout] --> src/util/lev_distance.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let max_dist = dist.map_or_else(|| cmp::max(lookup.len(), 3) / 3, |d| d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `unwrap_or_else`: `dist.unwrap_or_else(|| cmp::max(lookup.len(), 3) / 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_option_map_or_else [INFO] [stdout] = note: `#[warn(clippy::unnecessary_option_map_or_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `NodeCounter` [INFO] [stdout] --> src/util/node_count.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / pub fn new() -> NodeCounter { [INFO] [stdout] 13 | | NodeCounter { count: 0 } [INFO] [stdout] 14 | | } [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] 11 + impl Default for NodeCounter { [INFO] [stdout] 12 + fn default() -> Self { [INFO] [stdout] 13 + Self::new() [INFO] [stdout] 14 + } [INFO] [stdout] 15 + } [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:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / enum IntoIterRepr { [INFO] [stdout] 206 | | ZeroIterator, [INFO] [stdout] 207 | | OneIterator(T), [INFO] [stdout] 208 | | ManyIterator(vec::IntoIter), [INFO] [stdout] 209 | | } [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] 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:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] [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:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 173 ~ impl From for Option> { [INFO] [stdout] 174 ~ fn from(val: AngleBracketedParameterData) -> Self { [INFO] [stdout] 175 ~ let empty = val.lifetimes.is_empty() && val.types.is_empty() && val.bindings.is_empty(); [INFO] [stdout] 176 | if empty { [INFO] [stdout] 177 | None [INFO] [stdout] 178 | } else { [INFO] [stdout] 179 ~ 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:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | / match *self { [INFO] [stdout] 636 | | BinOpKind::And | BinOpKind::Or => true, [INFO] [stdout] 637 | | _ => false, [INFO] [stdout] 638 | | } [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] 635 - match *self { [INFO] [stdout] 636 - BinOpKind::And | BinOpKind::Or => true, [INFO] [stdout] 637 - _ => false, [INFO] [stdout] 638 - } [INFO] [stdout] 635 + matches!(*self, BinOpKind::And | BinOpKind::Or) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | / match *self { [INFO] [stdout] 643 | | BinOpKind::Shl | BinOpKind::Shr => true, [INFO] [stdout] 644 | | _ => false, [INFO] [stdout] 645 | | } [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] 642 - match *self { [INFO] [stdout] 643 - BinOpKind::Shl | BinOpKind::Shr => true, [INFO] [stdout] 644 - _ => false, [INFO] [stdout] 645 - } [INFO] [stdout] 642 + matches!(*self, BinOpKind::Shl | BinOpKind::Shr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | / match u { [INFO] [stdout] 676 | | UnOp::Neg | UnOp::Not => true, [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] 675 - match u { [INFO] [stdout] 676 - UnOp::Neg | UnOp::Not => true, [INFO] [stdout] 677 - _ => false, [INFO] [stdout] 678 - } [INFO] [stdout] 675 + matches!(u, UnOp::Neg | UnOp::Not) [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:716:20 [INFO] [stdout] | [INFO] [stdout] 716 | 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] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | / match *self { [INFO] [stdout] 1072 | | LitKind::Str(..) => true, [INFO] [stdout] 1073 | | _ => false, [INFO] [stdout] 1074 | | } [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] 1071 - match *self { [INFO] [stdout] 1072 - LitKind::Str(..) => true, [INFO] [stdout] 1073 - _ => false, [INFO] [stdout] 1074 - } [INFO] [stdout] 1071 + matches!(*self, LitKind::Str(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.inputs.get(0)` [INFO] [stdout] --> src/ast.rs:1510:9 [INFO] [stdout] | [INFO] [stdout] 1510 | self.inputs.get(0).and_then(Arg::to_self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `self.inputs.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `self.inputs.get(0)` [INFO] [stdout] --> src/ast.rs:1513:9 [INFO] [stdout] | [INFO] [stdout] 1513 | self.inputs.get(0).map(Arg::is_self).unwrap_or(false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `self.inputs.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1790:9 [INFO] [stdout] | [INFO] [stdout] 1790 | / if let VariantData::Struct(..) = *self { [INFO] [stdout] 1791 | | true [INFO] [stdout] 1792 | | } else { [INFO] [stdout] 1793 | | false [INFO] [stdout] 1794 | | } [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] 1790 - if let VariantData::Struct(..) = *self { [INFO] [stdout] 1791 - true [INFO] [stdout] 1792 - } else { [INFO] [stdout] 1793 - false [INFO] [stdout] 1794 - } [INFO] [stdout] 1790 + 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:1797:9 [INFO] [stdout] | [INFO] [stdout] 1797 | / if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1798 | | true [INFO] [stdout] 1799 | | } else { [INFO] [stdout] 1800 | | false [INFO] [stdout] 1801 | | } [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] 1797 - if let VariantData::Tuple(..) = *self { [INFO] [stdout] 1798 - true [INFO] [stdout] 1799 - } else { [INFO] [stdout] 1800 - false [INFO] [stdout] 1801 - } [INFO] [stdout] 1797 + matches!(*self, VariantData::Tuple(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/ast.rs:1804:9 [INFO] [stdout] | [INFO] [stdout] 1804 | / if let VariantData::Unit(..) = *self { [INFO] [stdout] 1805 | | true [INFO] [stdout] 1806 | | } else { [INFO] [stdout] 1807 | | false [INFO] [stdout] 1808 | | } [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] 1804 - if let VariantData::Unit(..) = *self { [INFO] [stdout] 1805 - true [INFO] [stdout] 1806 - } else { [INFO] [stdout] 1807 - false [INFO] [stdout] 1808 - } [INFO] [stdout] 1804 + matches!(*self, VariantData::Unit(..)) [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:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | / match self.node { [INFO] [stdout] 283 | | MetaItemKind::Word => true, [INFO] [stdout] 284 | | _ => false, [INFO] [stdout] 285 | | } [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] 282 - match self.node { [INFO] [stdout] 283 - MetaItemKind::Word => true, [INFO] [stdout] 284 - _ => false, [INFO] [stdout] 285 - } [INFO] [stdout] 282 + 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:326:69 [INFO] [stdout] | [INFO] [stdout] 326 | 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:338:74 [INFO] [stdout] | [INFO] [stdout] 338 | 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:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | self.parse(sess, |parser| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 346 | | parser.expect(&token::OpenDelim(token::Paren))?; [INFO] [stdout] 347 | | let mut list = Vec::new(); [INFO] [stdout] 348 | | while !parser.eat(&token::CloseDelim(token::Paren)) { [INFO] [stdout] ... | [INFO] [stdout] 355 | | Ok(list) [INFO] [stdout] 356 | | }) [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:359:58 [INFO] [stdout] | [INFO] [stdout] 359 | 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:367:36 [INFO] [stdout] | [INFO] [stdout] 367 | 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:445:52 [INFO] [stdout] | [INFO] [stdout] 445 | 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:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | / diagnostic.map(|d| { [INFO] [stdout] 578 | | span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 579 | | }); [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] 577 - diagnostic.map(|d| { [INFO] [stdout] 578 - span_err!(d, attr.span, E0534, "expected one argument"); [INFO] [stdout] 579 - }); [INFO] [stdout] 577 + 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:586:21 [INFO] [stdout] | [INFO] [stdout] 586 | / diagnostic.map(|d| { [INFO] [stdout] 587 | | span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 588 | | }); [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] 586 - diagnostic.map(|d| { [INFO] [stdout] 587 - span_err!(d, items[0].span, E0535, "invalid argument"); [INFO] [stdout] 588 - }); [INFO] [stdout] 586 + 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:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | / if let Unstable { .. } = *self { [INFO] [stdout] 695 | | true [INFO] [stdout] 696 | | } else { [INFO] [stdout] 697 | | false [INFO] [stdout] 698 | | } [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] 694 - if let Unstable { .. } = *self { [INFO] [stdout] 695 - true [INFO] [stdout] 696 - } else { [INFO] [stdout] 697 - false [INFO] [stdout] 698 - } [INFO] [stdout] 694 + 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:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | / if let Stable { .. } = *self { [INFO] [stdout] 702 | | true [INFO] [stdout] 703 | | } else { [INFO] [stdout] 704 | | false [INFO] [stdout] 705 | | } [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] 701 - if let Stable { .. } = *self { [INFO] [stdout] 702 - true [INFO] [stdout] 703 - } else { [INFO] [stdout] 704 - false [INFO] [stdout] 705 - } [INFO] [stdout] 701 + matches!(*self, Stable { .. }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/attr.rs:1093:30 [INFO] [stdout] | [INFO] [stdout] 1093 | _ => match int_type_of_word(word) { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 1094 | | Some(ity) => Some(ReprInt(ity)), [INFO] [stdout] 1095 | | None => None, [INFO] [stdout] 1096 | | }, [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:1291:19 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1378:57 [INFO] [stdout] | [INFO] [stdout] 1378 | 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:9 [INFO] [stdout] | [INFO] [stdout] 352 | / return (format!( [INFO] [stdout] 353 | | "{}:{}:{}: {}:{}", [INFO] [stdout] 354 | | lo.filename, [INFO] [stdout] 355 | | lo.line, [INFO] [stdout] ... | [INFO] [stdout] 359 | | )) [INFO] [stdout] 360 | | .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] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 352 ~ (format!( [INFO] [stdout] 353 + "{}:{}:{}: {}:{}", [INFO] [stdout] 354 + lo.filename, [INFO] [stdout] 355 + lo.line, [INFO] [stdout] 356 + lo.col.to_usize() + 1, [INFO] [stdout] 357 + hi.line, [INFO] [stdout] 358 + hi.col.to_usize() + 1 [INFO] [stdout] 359 + )) [INFO] [stdout] 360 ~ .to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | / return Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 434 | | begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 435 | | end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 436 | | })); [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] 433 ~ Err(SpanSnippetError::DistinctSources(DistinctSources { [INFO] [stdout] 434 + begin: (local_begin.fm.name.clone(), local_begin.fm.start_pos), [INFO] [stdout] 435 + end: (local_end.fm.name.clone(), local_end.fm.start_pos), [INFO] [stdout] 436 ~ })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/codemap.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | 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] 455 - return Ok((&src[start_index..end_index]).to_string()); [INFO] [stdout] 455 + 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:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | / return Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 459 | | filename: local_begin.fm.name.clone(), [INFO] [stdout] 460 | | }); [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] 458 ~ Err(SpanSnippetError::SourceNotAvailable { [INFO] [stdout] 459 + filename: local_begin.fm.name.clone(), [INFO] [stdout] 460 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/codemap.rs:455:31 [INFO] [stdout] | [INFO] [stdout] 455 | 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:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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] 559 - return a; [INFO] [stdout] 559 + 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:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | 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] 606 - for &(ref from, ref to) in self.mapping.iter().rev() { [INFO] [stdout] 606 + 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: this `if` statement can be collapsed [INFO] [stdout] --> src/config.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | / if !self [INFO] [stdout] 291 | | .features [INFO] [stdout] 292 | | .map(|features| features.struct_field_attributes) [INFO] [stdout] 293 | | .unwrap_or(true) [INFO] [stdout] ... | [INFO] [stdout] 305 | | } [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] 293 ~ .unwrap_or(true) [INFO] [stdout] 294 ~ && !field.attrs.is_empty() { [INFO] [stdout] 295 | let mut err = feature_err( [INFO] [stdout] ... [INFO] [stdout] 302 | err.emit(); [INFO] [stdout] 303 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/config.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 373 | 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] 373 - None => return SmallVector::new(), [INFO] [stdout] 373 + None => SmallVector::new(), [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:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | trait CodeMapExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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: 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: 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: 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: 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: 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: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/diagnostics/plugin.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | static REGISTERED_DIAGNOSTICS: RefCell = { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 25 | | RefCell::new(BTreeMap::new()) [INFO] [stdout] 26 | | } [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:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | 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:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | 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: accessing first element with `token_tree.get(0)` [INFO] [stdout] --> src/diagnostics/plugin.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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] [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/diagnostics/plugin.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / description.map(|raw_msg| { [INFO] [stdout] 106 | | let msg = raw_msg.as_str(); [INFO] [stdout] 107 | | if !msg.starts_with("\n") || !msg.ends_with("\n") { [INFO] [stdout] 108 | | ecx.span_err( [INFO] [stdout] ... | [INFO] [stdout] 134 | | }); [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] 105 - description.map(|raw_msg| { [INFO] [stdout] 106 - let msg = raw_msg.as_str(); [INFO] [stdout] 107 - if !msg.starts_with("\n") || !msg.ends_with("\n") { [INFO] [stdout] 108 - ecx.span_err( [INFO] [stdout] 109 - span, [INFO] [stdout] 110 - &format!( [INFO] [stdout] 111 - "description for error code {} doesn't start and end with a newline", [INFO] [stdout] 112 - code [INFO] [stdout] 113 - ), [INFO] [stdout] 114 - ); [INFO] [stdout] 115 - } [INFO] [stdout] 116 - [INFO] [stdout] 117 - // URLs can be unavoidably longer than the line limit, so we allow them. [INFO] [stdout] 118 - // Allowed format is: `[name]: https://www.rust-lang.org/` [INFO] [stdout] 119 - let is_url = |l: &str| l.starts_with("[") && l.contains("]:") && l.contains("http"); [INFO] [stdout] 120 - [INFO] [stdout] 121 - if msg [INFO] [stdout] 122 - .lines() [INFO] [stdout] 123 - .any(|line| line.len() > MAX_DESCRIPTION_WIDTH && !is_url(line)) [INFO] [stdout] 124 - { [INFO] [stdout] 125 - ecx.span_err( [INFO] [stdout] 126 - span, [INFO] [stdout] 127 - &format!( [INFO] [stdout] 128 - "description for error code {} contains a line longer than {} characters.\n\ [INFO] [stdout] 129 - if you're inserting a long URL use the footnote style to bypass this check.", [INFO] [stdout] 130 - code, MAX_DESCRIPTION_WIDTH [INFO] [stdout] 131 - ), [INFO] [stdout] 132 - ); [INFO] [stdout] 133 - } [INFO] [stdout] 134 - }); [INFO] [stdout] 105 + if let Some(raw_msg) = description { ... } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: immediately dereferencing a reference [INFO] [stdout] --> src/diagnostics/plugin.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | ) => (*&crate_name, name), [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `crate_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof [INFO] [stdout] = note: `#[warn(clippy::deref_addrof)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `format!` args [INFO] [stdout] --> src/diagnostics/plugin.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | e.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: 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: unused "map closure" when calling `Option::map_or_else` value [INFO] [stdout] --> src/util/lev_distance.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let max_dist = dist.map_or_else(|| cmp::max(lookup.len(), 3) / 3, |d| d); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `unwrap_or_else`: `dist.unwrap_or_else(|| cmp::max(lookup.len(), 3) / 3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_option_map_or_else [INFO] [stdout] = note: `#[warn(clippy::unnecessary_option_map_or_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/util/lev_distance.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | .filter_map(|i| from_u32(i)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `from_u32` [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: you should consider adding a `Default` implementation for `NodeCounter` [INFO] [stdout] --> src/util/node_count.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / pub fn new() -> NodeCounter { [INFO] [stdout] 13 | | NodeCounter { count: 0 } [INFO] [stdout] 14 | | } [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] 11 + impl Default for NodeCounter { [INFO] [stdout] 12 + fn default() -> Self { [INFO] [stdout] 13 + Self::new() [INFO] [stdout] 14 + } [INFO] [stdout] 15 + } [INFO] [stdout] | [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: 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: 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:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / enum IntoIterRepr { [INFO] [stdout] 206 | | ZeroIterator, [INFO] [stdout] 207 | | OneIterator(T), [INFO] [stdout] 208 | | ManyIterator(vec::IntoIter), [INFO] [stdout] 209 | | } [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] 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: 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:790:64 [INFO] [stdout] | [INFO] [stdout] 790 | 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:848:33 [INFO] [stdout] | [INFO] [stdout] 848 | 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: importing legacy numeric constants [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 859 | 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] 859 ~ self.bump_with(token::BinOp(token::And), Span { lo: lo, ..span }); [INFO] [stdout] 860 + 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:900:32 [INFO] [stdout] | [INFO] [stdout] 900 | 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:911:36 [INFO] [stdout] | [INFO] [stdout] 911 | 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:921:17 [INFO] [stdout] | [INFO] [stdout] 921 | 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] 921 ~ self.bump_with(token::Gt, Span { lo: lo, ..span }); [INFO] [stdout] 922 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:926:17 [INFO] [stdout] | [INFO] [stdout] 926 | 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] 926 ~ self.bump_with(token::Ge, Span { lo: lo, ..span }); [INFO] [stdout] 927 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: passing a unit value to a function [INFO] [stdout] --> src/parse/parser.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | 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] 931 ~ self.bump_with(token::Eq, Span { lo: lo, ..span }); [INFO] [stdout] 932 + 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:941:10 [INFO] [stdout] | [INFO] [stdout] 941 | ) -> 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:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | 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] 972 - return Ok((v, false)); [INFO] [stdout] 972 + 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:981:10 [INFO] [stdout] | [INFO] [stdout] 981 | ) -> 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:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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] 987 - return Ok(result); [INFO] [stdout] 987 + 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:985:77 [INFO] [stdout] | [INFO] [stdout] 985 | 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:990:81 [INFO] [stdout] | [INFO] [stdout] 990 | 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:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | 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] 996 - return Ok(v); [INFO] [stdout] 996 + 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:1003:10 [INFO] [stdout] | [INFO] [stdout] 1003 | ) -> 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:1011:9 [INFO] [stdout] | [INFO] [stdout] 1011 | 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] 1011 - return Ok((v, returned)); [INFO] [stdout] 1011 + Ok((v, returned)) [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:1022:13 [INFO] [stdout] | [INFO] [stdout] 1022 | |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:1035:10 [INFO] [stdout] | [INFO] [stdout] 1035 | ) -> 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:1108:10 [INFO] [stdout] | [INFO] [stdout] 1108 | ) -> 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:1128:10 [INFO] [stdout] | [INFO] [stdout] 1128 | ) -> 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:1263:76 [INFO] [stdout] | [INFO] [stdout] 1263 | 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:1299:41 [INFO] [stdout] | [INFO] [stdout] 1299 | 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:1301:13 [INFO] [stdout] | [INFO] [stdout] 1301 | 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] 1301 - return Ok(Unsafety::Unsafe); [INFO] [stdout] 1301 + Ok(Unsafety::Unsafe) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/parse/parser.rs:1303:13 [INFO] [stdout] | [INFO] [stdout] 1303 | 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] 1303 - return Ok(Unsafety::Normal); [INFO] [stdout] 1303 + 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:1308:62 [INFO] [stdout] | [INFO] [stdout] 1308 | 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: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/parse/parser.rs:1367:46 [INFO] [stdout] | [INFO] [stdout] 1367 | let (constness, unsafety, abi) = match self.parse_fn_front_matter() { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 1368 | | Ok(cua) => cua, [INFO] [stdout] 1369 | | Err(e) => return Err(e), [INFO] [stdout] 1370 | | }; [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:1375:50 [INFO] [stdout] | [INFO] [stdout] 1375 | let d = self.parse_fn_decl_with_self(|p: &mut Parser<'a>| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] ... | [INFO] [stdout] 1380 | | })?; [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:1423:39 [INFO] [stdout] | [INFO] [stdout] 1423 | 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:1435:35 [INFO] [stdout] | [INFO] [stdout] 1435 | 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:1444:39 [INFO] [stdout] | [INFO] [stdout] 1444 | 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:1448:56 [INFO] [stdout] | [INFO] [stdout] 1448 | 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:1597:10 [INFO] [stdout] | [INFO] [stdout] 1597 | ) -> 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:1607:82 [INFO] [stdout] | [INFO] [stdout] 1607 | 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: the `Err`-variant returned from this function is very large [INFO] [stdout] --> src/parse/parser.rs:1652:45 [INFO] [stdout] | [INFO] [stdout] 1652 | 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:1660:9 [INFO] [stdout] | [INFO] [stdout] 1660 | / return Ok(TyKind::Rptr( [INFO] [stdout] 1661 | | opt_lifetime, [INFO] [stdout] 1662 | | MutTy { [INFO] [stdout] 1663 | | ty: ty, [INFO] [stdout] 1664 | | mutbl: mutbl, [INFO] [stdout] 1665 | | }, [INFO] [stdout] 1666 | | )); [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] 1660 ~ Ok(TyKind::Rptr( [INFO] [stdout] 1661 + opt_lifetime, [INFO] [stdout] 1662 + MutTy { [INFO] [stdout] 1663 + ty: ty, [INFO] [stdout] 1664 + mutbl: mutbl, [INFO] [stdout] 1665 + }, [INFO] [stdout] 1666 ~ )) [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:1669:36 [INFO] [stdout] | [INFO] [stdout] 1669 | 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: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/ast.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 173 ~ impl From for Option> { [INFO] [stdout] 174 ~ fn from(val: AngleBracketedParameterData) -> Self { [INFO] [stdout] 175 ~ let empty = val.lifetimes.is_empty() && val.types.is_empty() && val.bindings.is_empty(); [INFO] [stdout] 176 | if empty { [INFO] [stdout] 177 | None [INFO] [stdout] 178 | } else { [INFO] [stdout] 179 ~ Some(P(PathParameters::AngleBracketed(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parse/parser.rs:1702:37 [INFO] [stdout] | [INFO] [stdout] 1702 | 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:1709:64 [INFO] [stdout] | [INFO] [stdout] 1709 | 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:1745:36 [INFO] [stdout] | [INFO] [stdout] 1745 | 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:1750:45 [INFO] [stdout] | [INFO] [stdout] 1750 | 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:1768:58 [INFO] [stdout] | [INFO] [stdout] 1768 | 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:1777:42 [INFO] [stdout] | [INFO] [stdout] 1777 | 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:1811:36 [INFO] [stdout] | [INFO] [stdout] 1811 | 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:1828:56 [INFO] [stdout] | [INFO] [stdout] 1828 | 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:1845:51 [INFO] [stdout] | [INFO] [stdout] 1845 | 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:1870:64 [INFO] [stdout] | [INFO] [stdout] 1870 | 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:1906:54 [INFO] [stdout] | [INFO] [stdout] 1906 | 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:1934:68 [INFO] [stdout] | [INFO] [stdout] 1934 | 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:1956:61 [INFO] [stdout] | [INFO] [stdout] 1956 | 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:1990:21 [INFO] [stdout] | [INFO] [stdout] 1990 | |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:2028:58 [INFO] [stdout] | [INFO] [stdout] 2028 | 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:2070:60 [INFO] [stdout] | [INFO] [stdout] 2070 | 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:2119:43 [INFO] [stdout] | [INFO] [stdout] 2119 | 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:2129:38 [INFO] [stdout] | [INFO] [stdout] 2129 | 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:2166:20 [INFO] [stdout] | [INFO] [stdout] 2166 | 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:2200:10 [INFO] [stdout] | [INFO] [stdout] 2200 | ) -> 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:2247:50 [INFO] [stdout] | [INFO] [stdout] 2247 | 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:2264:40 [INFO] [stdout] | [INFO] [stdout] 2264 | 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:2514:9 [INFO] [stdout] | [INFO] [stdout] 2514 | 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] 2514 - return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [INFO] [stdout] 2514 + 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/parse/parser.rs:2343:29 [INFO] [stdout] | [INFO] [stdout] 2343 | ... |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:2343:33 [INFO] [stdout] | [INFO] [stdout] 2343 | ... |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] 2343 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2343 + |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:2522:10 [INFO] [stdout] | [INFO] [stdout] 2522 | ) -> 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:2564:9 [INFO] [stdout] | [INFO] [stdout] 2564 | 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] 2564 - return Ok(self.mk_expr(span, ExprKind::Struct(pth, fields, base), attrs)); [INFO] [stdout] 2564 + 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:2570:10 [INFO] [stdout] | [INFO] [stdout] 2570 | ) -> 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:2584:10 [INFO] [stdout] | [INFO] [stdout] 2584 | ) -> 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:2591:9 [INFO] [stdout] | [INFO] [stdout] 2591 | 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] 2591 - return Ok(self.mk_expr(blk.span, ExprKind::Block(blk), attrs)); [INFO] [stdout] 2591 + 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:2598:10 [INFO] [stdout] | [INFO] [stdout] 2598 | ) -> 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:2611:10 [INFO] [stdout] | [INFO] [stdout] 2611 | ) -> 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:2621:25 [INFO] [stdout] | [INFO] [stdout] 2621 | / if !expr.attrs.is_empty() { [INFO] [stdout] 2622 | | // Just point to the first attribute in there... [INFO] [stdout] 2623 | | let span = expr.attrs[0].span; [INFO] [stdout] ... | [INFO] [stdout] 2629 | | ); [INFO] [stdout] 2630 | | } [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] 2620 ~ ExprKind::If(..) | ExprKind::IfLet(..) [INFO] [stdout] 2621 ~ if !expr.attrs.is_empty() => { [INFO] [stdout] 2622 | // Just point to the first attribute in there... [INFO] [stdout] ... [INFO] [stdout] 2629 | ); [INFO] [stdout] 2630 ~ } [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:2647:10 [INFO] [stdout] | [INFO] [stdout] 2647 | ) -> 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:2669:21 [INFO] [stdout] | [INFO] [stdout] 2669 | |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:2669:25 [INFO] [stdout] | [INFO] [stdout] 2669 | |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] 2669 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2669 + |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:2696:74 [INFO] [stdout] | [INFO] [stdout] 2696 | 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:2810:9 [INFO] [stdout] | [INFO] [stdout] 2810 | 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] 2810 - return Ok(e); [INFO] [stdout] 2810 + 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:2789:25 [INFO] [stdout] | [INFO] [stdout] 2789 | |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:2789:29 [INFO] [stdout] | [INFO] [stdout] 2789 | |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] 2789 - |p| Ok(p.parse_expr()?), [INFO] [stdout] 2789 + |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:2862:48 [INFO] [stdout] | [INFO] [stdout] 2862 | 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:2885:10 [INFO] [stdout] | [INFO] [stdout] 2885 | ) -> 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:2946:9 [INFO] [stdout] | [INFO] [stdout] 2946 | 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] 2946 - return Ok(self.mk_expr(lo.to(hi), ex, attrs)); [INFO] [stdout] 2946 + Ok(self.mk_expr(lo.to(hi), ex, 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:2956:10 [INFO] [stdout] | [INFO] [stdout] 2956 | ) -> 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:2961:79 [WARN] too many lines in the log, truncating it