[INFO] cloning repository https://github.com/mgattozzi/Rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgattozzi/Rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2FRusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2FRusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e88ba2c18ef1d0a98cf3da578125e31ef00dece [INFO] testing mgattozzi/Rusty against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgattozzi%2FRusty" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgattozzi/Rusty on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgattozzi/Rusty [INFO] finished tweaking git repo https://github.com/mgattozzi/Rusty [INFO] tweaked toml for git repo https://github.com/mgattozzi/Rusty written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate git repo https://github.com/mgattozzi/Rusty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eebab8a0dc9d7df74e5d1d763c5fa59b20c566fa8ac4ccd27ab4076b7a743c08 [INFO] running `Command { std: "docker" "start" "-a" "eebab8a0dc9d7df74e5d1d763c5fa59b20c566fa8ac4ccd27ab4076b7a743c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebab8a0dc9d7df74e5d1d763c5fa59b20c566fa8ac4ccd27ab4076b7a743c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebab8a0dc9d7df74e5d1d763c5fa59b20c566fa8ac4ccd27ab4076b7a743c08", kill_on_drop: false }` [INFO] [stdout] eebab8a0dc9d7df74e5d1d763c5fa59b20c566fa8ac4ccd27ab4076b7a743c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ae1059eae676d0c9556ef2987044e4d25f0c4c12162c4d189c03477c3b2a976 [INFO] running `Command { std: "docker" "start" "-a" "7ae1059eae676d0c9556ef2987044e4d25f0c4c12162c4d189c03477c3b2a976", kill_on_drop: false }` [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.1.10 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.16 [INFO] [stderr] Compiling clippy v0.0.12 (https://github.com/manishearth/rust-clippy#d3c53e30) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | declare_lint!(pub BOX_VEC, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | declare_lint!(pub LINKEDLIST, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | lint_array!(BOX_VEC, LINKEDLIST) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | declare_lint!(pub LET_UNIT_VALUE, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lint_array!(LET_UNIT_VALUE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | declare_lint!(pub UNIT_CMP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | lint_array!(UNIT_CMP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | declare_lint!(pub CAST_PRECISION_LOSS, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | declare_lint!(pub CAST_SIGN_LOSS, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | declare_lint!(pub CAST_POSSIBLE_TRUNCATION, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | declare_lint!(pub CAST_POSSIBLE_WRAP, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | lint_array!(CAST_PRECISION_LOSS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | declare_lint!(pub TYPE_COMPLEXITY, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | lint_array!(TYPE_COMPLEXITY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | declare_lint!(pub TOPLEVEL_REF_ARG, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | lint_array!(TOPLEVEL_REF_ARG) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | declare_lint!(pub CMP_NAN, Deny, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | lint_array!(CMP_NAN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | declare_lint!(pub FLOAT_CMP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | lint_array!(FLOAT_CMP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | declare_lint!(pub CMP_OWNED, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | lint_array!(CMP_OWNED) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | declare_lint!(pub MODULO_ONE, Warn, "taking a number modulo 1, which always returns 0"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | lint_array!(MODULO_ONE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | declare_lint!(pub REDUNDANT_PATTERN, Warn, "using `name @ _` in a pattern"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | lint_array!(REDUNDANT_PATTERN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | lint_array!(EQ_OP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lint_array!(BAD_BIT_MASK, INEFFECTIVE_BIT_MASK) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | lint_array!(PTR_ARG) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | lint_array!(NEEDLESS_BOOL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | lint_array!(APPROX_CONSTANT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | declare_lint!(pub REDUNDANT_CLOSURE, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | lint_array!(REDUNDANT_CLOSURE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | declare_lint! { pub IDENTITY_OP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | lint_array!(IDENTITY_OP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | declare_lint!(pub MUT_MUT, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | lint_array!(MUT_MUT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint!(pub LEN_ZERO, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | declare_lint!(pub LEN_WITHOUT_IS_EMPTY, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | lint_array!(LEN_ZERO, LEN_WITHOUT_IS_EMPTY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | declare_lint! { pub INLINE_ALWAYS, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | lint_array!(INLINE_ALWAYS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | lint_array!(COLLAPSIBLE_IF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | declare_lint!{ pub ZERO_WIDTH_SPACE, Deny, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | declare_lint!{ pub NON_ASCII_LITERAL, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | lint_array!(ZERO_WIDTH_SPACE, NON_ASCII_LITERAL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | declare_lint!(pub SHADOW_SAME, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | declare_lint!(pub SHADOW_REUSE, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | declare_lint!(pub SHADOW_UNRELATED, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | lint_array!(SHADOW_SAME, SHADOW_REUSE, SHADOW_UNRELATED) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | lint_array!(STRING_ADD, STRING_ADD_ASSIGN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | declare_lint!(pub OPTION_UNWRAP_USED, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | declare_lint!(pub RESULT_UNWRAP_USED, Allow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | declare_lint!(pub STR_TO_STRING, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | declare_lint!(pub STRING_TO_STRING, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | declare_lint!(pub SHOULD_IMPLEMENT_TRAIT, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | declare_lint!(pub WRONG_SELF_CONVENTION, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(OPTION_UNWRAP_USED, RESULT_UNWRAP_USED, STR_TO_STRING, STRING_TO_STRING, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | declare_lint!(pub NEEDLESS_RETURN, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint!(pub LET_AND_RETURN, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | lint_array!(NEEDLESS_RETURN, LET_AND_RETURN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | declare_lint!(pub NEEDLESS_LIFETIMES, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | lint_array!(NEEDLESS_LIFETIMES) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | declare_lint!{ pub NEEDLESS_RANGE_LOOP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | declare_lint!{ pub EXPLICIT_ITER_LOOP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | declare_lint!{ pub ITER_NEXT_LOOP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | declare_lint!{ pub WHILE_LET_LOOP, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | declare_lint!{ pub UNUSED_COLLECT, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(NEEDLESS_RANGE_LOOP, EXPLICIT_ITER_LOOP, ITER_NEXT_LOOP, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | lint_array!(RANGE_STEP_BY_ZERO) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | declare_lint!(pub SINGLE_MATCH, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint!(pub MATCH_REF_PATS, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | lint_array!(SINGLE_MATCH, MATCH_REF_PATS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | declare_lint!(pub PRECEDENCE, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | lint_array!(PRECEDENCE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpnFormat` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | ExpnFormat::CompilerExpansion(..) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ExpnFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpnFormat` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ExpnFormat::MacroAttribute(..) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ExpnFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn match_type(cx: &Context, ty: ty::Ty, path: &[&str]) -> bool { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ty::TyEnum(ref adt, _) | ty::TyStruct(ref adt, _) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | ty::TyEnum(ref adt, _) | ty::TyStruct(ref adt, _) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let method_call = ty::MethodCall::expr(expr.id); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | if cx.current_level(lint) != Level::Allow { [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | if cx.current_level(lint) != Level::Allow { [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | if cx.current_level(lint) != Level::Allow { [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn walk_ptrs_ty(ty: ty::Ty) -> ty::Ty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn walk_ptrs_ty(ty: ty::Ty) -> ty::Ty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | ty::TyRef(_, ref tm) | ty::TyRawPtr(ref tm) => walk_ptrs_ty(tm.ty), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | ty::TyRef(_, ref tm) | ty::TyRawPtr(ref tm) => walk_ptrs_ty(tm.ty), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn walk_ptrs_ty_depth(ty: ty::Ty) -> (ty::Ty, usize) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:212:43 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn walk_ptrs_ty_depth(ty: ty::Ty) -> (ty::Ty, usize) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | fn inner(ty: ty::Ty, depth: usize) -> (ty::Ty, usize) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | fn inner(ty: ty::Ty, depth: usize) -> (ty::Ty, usize) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | ty::TyRef(_, ref tm) | ty::TyRawPtr(ref tm) => inner(tm.ty, depth + 1), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | ty::TyRef(_, ref tm) | ty::TyRawPtr(ref tm) => inner(tm.ty, depth + 1), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | UintTy::TyU8 => ::std::u8::MAX as u64, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | UintTy::TyU16 => ::std::u16::MAX as u64, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | UintTy::TyU32 => ::std::u32::MAX as u64, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | UintTy::TyU64 => ::std::u64::MAX, [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UintTy` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | UintTy::TyUs => { return None; } // refuse to guess [INFO] [stdout] | ^^^^^^ use of undeclared type `UintTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | Sign::Plus => Sign::Minus, [INFO] [stdout] | ^^^^ use of undeclared type `Sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | Sign::Plus => Sign::Minus, [INFO] [stdout] | ^^^^ use of undeclared type `Sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | Sign::Minus => Sign::Plus, [INFO] [stdout] | ^^^^ use of undeclared type `Sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | Sign::Minus => Sign::Plus, [INFO] [stdout] | ^^^^ use of undeclared type `Sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `UnDeref` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | UnUniq | UnDeref => Some(o), [INFO] [stdout] | ^^^^^^ ------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `UnDeref` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::UnDeref` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | UnUniq | UnDeref => Some(o), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `UnUniq` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | UnUniq | UnDeref => Some(o), [INFO] [stdout] | ------ ^^^^^^^ pattern doesn't bind `UnUniq` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::UnUniq` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | UnUniq | UnDeref => Some(o), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_ty(&mut self, cx: &Context, ast_ty: &ast::Ty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | if let ty::TyBox(ref inner) = ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | if *bindtype == ty::TyTuple(vec![]) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | if *sty == ty::TyTuple(vec![]) && is_comparison_binop(op) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiEq` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ---- ^^^^ ^^^^ pattern doesn't bind `BiEq` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiEq` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ^^^^ ^^^^ ---- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiGe` [INFO] [stdout] | pattern doesn't bind `BiGe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiLe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ^^^^ ---- ^^^^ pattern doesn't bind `BiLe` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiLe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiLe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | BiEq | BiLe | BiGe => "true", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | fn int_ty_to_nbits(typ: &ty::TyS) -> usize { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ty::TyInt(i) => 4 << (i as usize), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | ty::TyUint(u) => 4 << (u as usize), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | fn is_isize_or_usize(typ: &ty::TyS) -> bool { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | ty::TyInt(ast::TyIs) | ty::TyUint(ast::TyUs) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | ty::TyInt(ast::TyIs) | ty::TyUint(ast::TyUs) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | ty::TyInt(ast::TyIs) | ty::TyUint(ast::TyUs) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | ty::TyInt(ast::TyIs) | ty::TyUint(ast::TyUs) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:134:68 [INFO] [stdout] | [INFO] [stdout] 134 | fn span_precision_loss_lint(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to_f64: bool) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:153:73 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_truncation_and_wrapping(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to: &ty::TyS) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:153:92 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_truncation_and_wrapping(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to: &ty::TyS) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.16/src/serialize.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | let to_nbits = if let ty::TyFloat(ast::TyF32) = cast_to.sty {32} else {64}; [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | let to_nbits = if let ty::TyFloat(ast::TyF32) = cast_to.sty {32} else {64}; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | if let (&ty::TyFloat(ast::TyF64), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | if let (&ty::TyFloat(ast::TyF64), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | ... &ty::TyFloat(ast::TyF32)) = (&cast_from.sty, &cast_to.sty) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | ... &ty::TyFloat(ast::TyF32)) = (&cast_from.sty, &cast_to.sty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nix v0.3.9 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:323:34 [INFO] [stdout] | [INFO] [stdout] 323 | fn check_type(cx: &Context, ty: &ast::Ty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:346:36 [INFO] [stdout] | [INFO] [stdout] 346 | fn visit_ty(&mut self, ty: &'v ast::Ty) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `TyInfer` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 349 | TyInfer | [INFO] [stdout] | ------- variable not in all patterns [INFO] [stdout] 350 | TyPtr(..) | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `TyInfer` [INFO] [stdout] 351 | TyRptr(..) => (1, 0), [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `TyInfer` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::TyInfer` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | TyInfer | [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnKind` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if let FnKind::Closure = k { [INFO] [stdout] | ^^^^^^ use of undeclared type `FnKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | if let ty::TyFloat(_) = walk_ptrs_ty(cx.tcx.expr_ty(expr)).sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | args.len() == 1 && if let ty::TyStr = [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | if let &Spanned {node: BinOp_::BiRem, ..} = cmp { [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_util` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | ast_util::binop_to_string(op.node))); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ast_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAnd` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ----- ^^^^ pattern doesn't bind `BiAnd` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | variable not in all patterns [INFO] [stdout] | | | | | | pattern doesn't bind `BiAnd` [INFO] [stdout] | | | | | pattern doesn't bind `BiAnd` [INFO] [stdout] | | | | pattern doesn't bind `BiAnd` [INFO] [stdout] | | | pattern doesn't bind `BiAnd` [INFO] [stdout] | | pattern doesn't bind `BiAnd` [INFO] [stdout] | pattern doesn't bind `BiAnd` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiAnd` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiAnd` [INFO] [stdout] | pattern doesn't bind `BiAnd` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiAnd` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitAnd` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | pattern doesn't bind `BiBitAnd` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ -------- ^^^^^^^ pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitAnd` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitOr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | pattern doesn't bind `BiBitOr` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ------- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | pattern doesn't bind `BiBitOr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitOr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitXor` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | pattern doesn't bind `BiBitXor` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | -------- ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitXor` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiEq` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiEq` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiEq` [INFO] [stdout] | | | | | | pattern doesn't bind `BiEq` [INFO] [stdout] | | | | | pattern doesn't bind `BiEq` [INFO] [stdout] | | | | pattern doesn't bind `BiEq` [INFO] [stdout] | | | pattern doesn't bind `BiEq` [INFO] [stdout] | | pattern doesn't bind `BiEq` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiEq` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiEq` [INFO] [stdout] | pattern doesn't bind `BiEq` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiGe` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiGe` [INFO] [stdout] | | | | | | pattern doesn't bind `BiGe` [INFO] [stdout] | | | | | variable not in all patterns [INFO] [stdout] | | | | pattern doesn't bind `BiGe` [INFO] [stdout] | | | pattern doesn't bind `BiGe` [INFO] [stdout] | | pattern doesn't bind `BiGe` [INFO] [stdout] | pattern doesn't bind `BiGe` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiGe` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiGe` [INFO] [stdout] | pattern doesn't bind `BiGe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGt` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiGt` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiGt` [INFO] [stdout] | | | | | | pattern doesn't bind `BiGt` [INFO] [stdout] | | | | | pattern doesn't bind `BiGt` [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `BiGt` [INFO] [stdout] | | pattern doesn't bind `BiGt` [INFO] [stdout] | pattern doesn't bind `BiGt` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiGt` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiGt` [INFO] [stdout] | pattern doesn't bind `BiGt` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiLe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiLe` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiLe` [INFO] [stdout] | | | | | | pattern doesn't bind `BiLe` [INFO] [stdout] | | | | | pattern doesn't bind `BiLe` [INFO] [stdout] | | | | pattern doesn't bind `BiLe` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `BiLe` [INFO] [stdout] | pattern doesn't bind `BiLe` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiLe` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiLe` [INFO] [stdout] | pattern doesn't bind `BiLe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiLe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiLt` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiLt` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiLt` [INFO] [stdout] | | | | | | pattern doesn't bind `BiLt` [INFO] [stdout] | | | | | pattern doesn't bind `BiLt` [INFO] [stdout] | | | | pattern doesn't bind `BiLt` [INFO] [stdout] | | | pattern doesn't bind `BiLt` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiLt` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiLt` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiLt` [INFO] [stdout] | pattern doesn't bind `BiLt` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiLt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiNe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^^ ^^^^ pattern doesn't bind `BiNe` [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiNe` [INFO] [stdout] | | | | | | variable not in all patterns [INFO] [stdout] | | | | | pattern doesn't bind `BiNe` [INFO] [stdout] | | | | pattern doesn't bind `BiNe` [INFO] [stdout] | | | pattern doesn't bind `BiNe` [INFO] [stdout] | | pattern doesn't bind `BiNe` [INFO] [stdout] | pattern doesn't bind `BiNe` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiNe` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiNe` [INFO] [stdout] | pattern doesn't bind `BiNe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiNe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiOr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ---- variable not in all patterns [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | pattern doesn't bind `BiOr` [INFO] [stdout] | | | | | | pattern doesn't bind `BiOr` [INFO] [stdout] | | | | | pattern doesn't bind `BiOr` [INFO] [stdout] | | | | pattern doesn't bind `BiOr` [INFO] [stdout] | | | pattern doesn't bind `BiOr` [INFO] [stdout] | | pattern doesn't bind `BiOr` [INFO] [stdout] | pattern doesn't bind `BiOr` [INFO] [stdout] 92 | BiBitXor | BiBitAnd | BiBitOr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiOr` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiOr` [INFO] [stdout] | pattern doesn't bind `BiOr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiOr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:91:59 [INFO] [stdout] | [INFO] [stdout] 91 | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `TyInfer` is bound more than once in the same pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | (&TyInfer, &TyInfer) => true, [INFO] [stdout] | ^^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiEq` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | BiEq | BiNe => match bit_op { [INFO] [stdout] | ---- ^^^^ pattern doesn't bind `BiEq` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | BiEq | BiNe => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiNe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | BiEq | BiNe => match bit_op { [INFO] [stdout] | ^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `BiNe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiNe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | BiEq | BiNe => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | BiLt | BiGe => match bit_op { [INFO] [stdout] | ^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `BiGe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | BiLt | BiGe => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiLt` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | BiLt | BiGe => match bit_op { [INFO] [stdout] | ---- ^^^^ pattern doesn't bind `BiLt` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiLt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | BiLt | BiGe => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGt` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | BiLe | BiGt => match bit_op { [INFO] [stdout] | ^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `BiGt` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | BiLe | BiGt => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiLe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | BiLe | BiGt => match bit_op { [INFO] [stdout] | ---- ^^^^ pattern doesn't bind `BiLe` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiLe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | BiLe | BiGt => match bit_op { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | if let ty::TyRef(_, ty::TypeAndMut { ty, mutbl: MutImmutable }) = pat_ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | if let ty::TyRef(_, ty::TypeAndMut { ty, mutbl: MutImmutable }) = pat_ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if let ty::TyBareFn(_, fn_ty) = fn_ty.sty { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unsafety` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | if fn_ty.unsafety == Unsafety::Unsafe { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAdd` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^ pattern doesn't bind `BiAdd` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiAdd` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiAdd` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitOr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ^^^^^ ------- ^^^^^^^^ pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiBitOr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitOr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitXor` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ^^^^^ ^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | pattern doesn't bind `BiBitXor` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitXor` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | BiAdd | BiBitOr | BiBitXor => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShl` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ----- ^^^^^ ^^^^^ pattern doesn't bind `BiShl` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiShl` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiShl` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ^^^^^ ----- ^^^^^ pattern doesn't bind `BiShr` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiShr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiShr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiSub` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ^^^^^ ^^^^^ ----- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `BiSub` [INFO] [stdout] | pattern doesn't bind `BiSub` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiSub` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | BiShl | BiShr | BiSub => [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiGt` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), [INFO] [stdout] | ---- ^^^^ pattern doesn't bind `BiGt` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiGt` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiNe` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), [INFO] [stdout] | ^^^^ ---- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `BiNe` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiNe` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | if let ty::MethodTraitItem(ref method) = [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ty::TyTrait(_) => cx.tcx.trait_item_def_ids.borrow().get( [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | ty::TyProjection(_) => ty.ty_to_def_id().map_or(false, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ty::TyEnum(ref id, _) | ty::TyStruct(ref id, _) => [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | ty::TyEnum(ref id, _) | ty::TyStruct(ref id, _) => [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | ty::TyArray(..) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | if obj_ty.sty == ty::TyStr { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | (&RefSelf, &SelfRegion(_, Mutability::MutImmutable, _)) => true, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | (&RefMutSelf, &SelfRegion(_, Mutability::MutMutable, _)) => true, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:173:50 [INFO] [stdout] | [INFO] [stdout] 173 | (&RefSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutImmutable, .. })) => true, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:174:53 [INFO] [stdout] | [INFO] [stdout] 174 | (&RefMutSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutMutable, .. })) => true, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let env = ty::ParameterEnvironment::for_item(cx.tcx, item.id); [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | if cx.current_level(LET_AND_RETURN) != Level::Allow { [INFO] [stdout] | ^^^^^ use of undeclared type `Level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WherePredicate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | WherePredicate::RegionPredicate(..) => return true, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WherePredicate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | WherePredicate::BoundPredicate(ref pred) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WherePredicate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | WherePredicate::EqPredicate(ref pred) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `WherePredicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | MatchSource::Normal | MatchSource::IfLetDesugar{..} => if [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MatchSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | MatchSource::Normal | MatchSource::IfLetDesugar{..} => if [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MatchSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchSource` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | let ExprMatch(_, ref innerarms, MatchSource::ForLoopDesugar) = loopexpr.node, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MatchSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | fn is_array(ty: ty::Ty) -> bool { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | ty::TyArray(..) => true, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | if let ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | if let ExprAddrOf(Mutability::MutImmutable, ref inner) = ex.node { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitAnd` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ -------- ^^^^^^^ ^^^^^ ^^^^^ pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiBitAnd` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitAnd` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitOr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ------- ^^^^^ ^^^^^ pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `BiBitOr` [INFO] [stdout] | pattern doesn't bind `BiBitOr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitOr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitXor` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | -------- ^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^ pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | | pattern doesn't bind `BiBitXor` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiBitXor` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShl` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ----- ^^^^^ pattern doesn't bind `BiShl` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `BiShl` [INFO] [stdout] | | pattern doesn't bind `BiShl` [INFO] [stdout] | pattern doesn't bind `BiShl` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiShl` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShr` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^ ----- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiShr` [INFO] [stdout] | | | pattern doesn't bind `BiShr` [INFO] [stdout] | | pattern doesn't bind `BiShr` [INFO] [stdout] | pattern doesn't bind `BiShr` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiShr` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAdd` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ pattern doesn't bind `BiAdd` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiAdd` [INFO] [stdout] | | | pattern doesn't bind `BiAdd` [INFO] [stdout] | | pattern doesn't bind `BiAdd` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiAdd` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiDiv` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ----- ^^^^^ pattern doesn't bind `BiDiv` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `BiDiv` [INFO] [stdout] | | pattern doesn't bind `BiDiv` [INFO] [stdout] | pattern doesn't bind `BiDiv` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiDiv` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiMul` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ ^^^^^ ----- ^^^^^ ^^^^^ pattern doesn't bind `BiMul` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiMul` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `BiMul` [INFO] [stdout] | pattern doesn't bind `BiMul` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiMul` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiRem` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ----- variable not in all patterns [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiRem` [INFO] [stdout] | | | pattern doesn't bind `BiRem` [INFO] [stdout] | | pattern doesn't bind `BiRem` [INFO] [stdout] | pattern doesn't bind `BiRem` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiRem` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiSub` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ pattern doesn't bind `BiSub` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | pattern doesn't bind `BiSub` [INFO] [stdout] | | | pattern doesn't bind `BiSub` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BiSub` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BiSub` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | BiAdd | BiSub | BiMul | BiDiv | BiRem => true, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn in_macro(cx: &Context, opt_info: Option<&ExpnInfo>) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpnInfo` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn in_macro(cx: &Context, opt_info: Option<&ExpnInfo>) -> bool { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn in_external_macro(cx: &Context, span: Span) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn in_external_macro(cx: &Context, span: Span) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn match_def_path(cx: &Context, def_id: DefId, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn match_def_path(cx: &Context, def_id: DefId, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn match_type(cx: &Context, ty: ty::Ty, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn match_trait_method(cx: &Context, expr: &Expr, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn match_trait_method(cx: &Context, expr: &Expr, path: &[&str]) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn match_path(path: &Path, segments: &[&str]) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn snippet<'a>(cx: &Context, span: Span, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn snippet<'a>(cx: &Context, span: Span, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn snippet_block<'a>(cx: &Context, span: Span, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn snippet_block<'a>(cx: &Context, span: Span, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn expr_block<'a>(cx: &Context, expr: &Expr, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn expr_block<'a>(cx: &Context, expr: &Expr, default: &'a str) -> Cow<'a, str> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let ExprBlock(_) = expr.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_parent_expr<'c>(cx: &'c Context, e: &Expr) -> Option<&'c Expr> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:146:49 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_parent_expr<'c>(cx: &'c Context, e: &Expr) -> Option<&'c Expr> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:146:69 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_parent_expr<'c>(cx: &'c Context, e: &Expr) -> Option<&'c Expr> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let node_id : NodeId = e.id; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let parent_id : NodeId = map.get_parent_node(node_id); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NodeExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | if let NodeExpr(parent) = node { Some(parent) } else { None } ) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn span_lint(cx: &Context, lint: &'static Lint, sp: Span, msg: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn span_lint(cx: &Context, lint: &'static Lint, sp: Span, msg: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn span_lint(cx: &Context, lint: &'static Lint, sp: Span, msg: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn span_help_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:178:56 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn span_help_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:178:68 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn span_help_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn span_note_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:188:56 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn span_note_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:188:68 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn span_note_and_lint(cx: &Context, lint: &'static Lint, span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | msg: &str, note_span: Span, note: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | impl From for FloatWidth { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(ty: FloatTy) -> FloatWidth { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StrStyle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | ConstantStr(String, StrStyle), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | ConstantInt(u64, LitIntType), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StrStyle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Constant { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 35 | /// a String "abc" [INFO] [stdout] 36 | ConstantStr(String, StrStyle), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Constant { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | ConstantInt(u64, LitIntType), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lit_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | fn lit_to_constant(lit: &Lit_) -> Constant { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitStr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | LitStr(ref is, style) => ConstantStr(is.to_string(), style), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | LitBinary(ref blob) => ConstantBinary(blob.clone()), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitByte` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | LitByte(b) => ConstantByte(b), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitChar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | LitChar(c) => ConstantChar(c), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | LitInt(value, ty) => ConstantInt(value, ty), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | LitFloat(ref is, ty) => ConstantFloat(is.to_string(), ty.into()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloatUnsuffixed` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | LitFloatUnsuffixed(ref is) => ConstantFloat(is.to_string(), FwAny), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitBool` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | LitBool(b) => ConstantBool(b), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | SignedIntLit(ity, Plus) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | (value + 1, SignedIntLit(ity, Minus)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:174:51 [INFO] [stdout] | [INFO] [stdout] 174 | (value + 1, SignedIntLit(ity, Minus)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | SignedIntLit(ity, Minus) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | (1, SignedIntLit(ity, Minus)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | (value - 1, SignedIntLit(ity, Plus)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:180:55 [INFO] [stdout] | [INFO] [stdout] 180 | (value - 1, SignedIntLit(ity, Plus)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | UnsignedIntLit(ity) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | (!value & mask, UnsignedIntLit(ity)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | UnsuffixedIntLit(_) => { return None; } // refuse to guess [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | SignedIntLit(ity, sign) => [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | SignedIntLit(ity, neg_sign(sign)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | UnsuffixedIntLit(sign) => UnsuffixedIntLit(neg_sign(sign)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | UnsuffixedIntLit(sign) => UnsuffixedIntLit(neg_sign(sign)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | fn neg_sign(s: Sign) -> Sign { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | fn neg_sign(s: Sign) -> Sign { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn is_negative(ty: LitIntType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | SignedIntLit(_, sign) | UnsuffixedIntLit(sign) => sign == Minus, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | SignedIntLit(_, sign) | UnsuffixedIntLit(sign) => sign == Minus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:240:67 [INFO] [stdout] | [INFO] [stdout] 240 | SignedIntLit(_, sign) | UnsuffixedIntLit(sign) => sign == Minus, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | UnsignedIntLit(_) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | fn unify_int_type(l: LitIntType, r: LitIntType, s: Sign) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:245:37 [INFO] [stdout] | [INFO] [stdout] 245 | fn unify_int_type(l: LitIntType, r: LitIntType, s: Sign) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:245:52 [INFO] [stdout] | [INFO] [stdout] 245 | fn unify_int_type(l: LitIntType, r: LitIntType, s: Sign) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:245:68 [INFO] [stdout] | [INFO] [stdout] 245 | fn unify_int_type(l: LitIntType, r: LitIntType, s: Sign) -> Option { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | (SignedIntLit(lty, _), SignedIntLit(rty, _)) => if lty == rty { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | (SignedIntLit(lty, _), SignedIntLit(rty, _)) => if lty == rty { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | Some(SignedIntLit(lty, s)) } else { None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | (UnsignedIntLit(lty), UnsignedIntLit(rty)) => [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | (UnsignedIntLit(lty), UnsignedIntLit(rty)) => [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | if s == Plus && lty == rty { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | Some(UnsignedIntLit(lty)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | (UnsuffixedIntLit(_), UnsuffixedIntLit(_)) => Some(UnsuffixedIntLit(s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | (UnsuffixedIntLit(_), UnsuffixedIntLit(_)) => Some(UnsuffixedIntLit(s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:253:60 [INFO] [stdout] | [INFO] [stdout] 253 | (UnsuffixedIntLit(_), UnsuffixedIntLit(_)) => Some(UnsuffixedIntLit(s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | (SignedIntLit(lty, _), UnsuffixedIntLit(_)) => Some(SignedIntLit(lty, s)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:254:32 [INFO] [stdout] | [INFO] [stdout] 254 | (SignedIntLit(lty, _), UnsuffixedIntLit(_)) => Some(SignedIntLit(lty, s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:254:61 [INFO] [stdout] | [INFO] [stdout] 254 | (SignedIntLit(lty, _), UnsuffixedIntLit(_)) => Some(SignedIntLit(lty, s)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | (UnsignedIntLit(lty), UnsuffixedIntLit(rs)) => if rs == Plus { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | (UnsignedIntLit(lty), UnsuffixedIntLit(rs)) => if rs == Plus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:255:65 [INFO] [stdout] | [INFO] [stdout] 255 | (UnsignedIntLit(lty), UnsuffixedIntLit(rs)) => if rs == Plus { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | Some(UnsignedIntLit(lty)) } else { None }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | (UnsuffixedIntLit(_), SignedIntLit(rty, _)) => Some(SignedIntLit(rty, s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 257 | (UnsuffixedIntLit(_), SignedIntLit(rty, _)) => Some(SignedIntLit(rty, s)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:257:61 [INFO] [stdout] | [INFO] [stdout] 257 | (UnsuffixedIntLit(_), SignedIntLit(rty, _)) => Some(SignedIntLit(rty, s)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsuffixedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | (UnsuffixedIntLit(ls), UnsignedIntLit(rty)) => if ls == Plus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | (UnsuffixedIntLit(ls), UnsignedIntLit(rty)) => if ls == Plus { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:258:65 [INFO] [stdout] | [INFO] [stdout] 258 | (UnsuffixedIntLit(ls), UnsignedIntLit(rty)) => if ls == Plus { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsignedIntLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | Some(UnsignedIntLit(rty)) } else { None }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | fn add_neg_int(pos: u64, pty: LitIntType, neg: u64, nty: LitIntType) -> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | fn add_neg_int(pos: u64, pty: LitIntType, neg: u64, nty: LitIntType) -> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | unify_int_type(nty, pty, Minus).map(|ty| ConstantInt(neg - pos, ty)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | unify_int_type(nty, pty, Plus).map(|ty| ConstantInt(pos - neg, ty)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | fn sub_int(l: u64, lty: LitIntType, r: u64, rty: LitIntType, neg: bool) -> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitIntType` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | fn sub_int(l: u64, lty: LitIntType, r: u64, rty: LitIntType, neg: bool) -> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:275:40 [INFO] [stdout] | [INFO] [stdout] 275 | unify_int_type(lty, rty, if neg { Minus } else { Plus }).and_then( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:275:55 [INFO] [stdout] | [INFO] [stdout] 275 | unify_int_type(lty, rty, if neg { Minus } else { Plus }).and_then( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn constant(lcx: &Context, e: &Expr) -> Option<(Constant, bool)> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn constant(lcx: &Context, e: &Expr) -> Option<(Constant, bool)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn constant_simple(e: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | lcx: Option<&'c Context<'c, 'cc>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | fn expr(&mut self, e: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | ExprParen(ref inner) => self.expr(inner), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | ExprPath(_, _) => self.fetch_path(e), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | ExprBlock(ref block) => self.block(block), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | ExprIf(ref cond, ref then, ref otherwise) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | ExprLit(ref lit) => Some(lit_to_constant(&lit.node)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | ExprVec(ref vec) => self.multi(vec).map(ConstantVec), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | ExprTup(ref tup) => self.multi(tup).map(ConstantTuple), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRepeat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | ExprRepeat(ref value, ref number) => [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | ExprUnary(op, ref operand) => self.expr(operand).and_then( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | ExprBinary(op, ref left, ref right) => [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn multi + Sized>(&mut self, vec: &[E]) -> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:333:34 [INFO] [stdout] | [INFO] [stdout] 333 | fn fetch_path(&mut self, e: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PathResolution` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:336:26 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(&PathResolution { base_def: DefConst(id), ..}) = [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DefConst` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | if let Some(&PathResolution { base_def: DefConst(id), ..}) = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_const_by_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:342:43 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(const_expr) = lookup_const_by_id(lcx.tcx, id, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | fn block(&mut self, block: &Block) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | fn ifthenelse(&mut self, cond: &Expr, then: &Block, otherwise: &Option>) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:361:50 [INFO] [stdout] | [INFO] [stdout] 361 | fn ifthenelse(&mut self, cond: &Expr, then: &Block, otherwise: &Option>) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:361:76 [INFO] [stdout] | [INFO] [stdout] 361 | fn ifthenelse(&mut self, cond: &Expr, then: &Block, otherwise: &Option>) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:361:78 [INFO] [stdout] | [INFO] [stdout] 295 | impl<'c, 'cc> ConstEvalContext<'c, 'cc> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Expr` [INFO] [stdout] ... [INFO] [stdout] 361 | fn ifthenelse(&mut self, cond: &Expr, then: &Block, otherwise: &Option>) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | fn binop(&mut self, op: BinOp, left: &Expr, right: &Expr) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:372:43 [INFO] [stdout] | [INFO] [stdout] 372 | fn binop(&mut self, op: BinOp, left: &Expr, right: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:372:57 [INFO] [stdout] | [INFO] [stdout] 372 | fn binop(&mut self, op: BinOp, left: &Expr, right: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:381:62 [INFO] [stdout] | [INFO] [stdout] 381 | ... unify_int_type(lty, rty, if ln { Minus } else { Plus }) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:381:77 [INFO] [stdout] | [INFO] [stdout] 381 | ... unify_int_type(lty, rty, if ln { Minus } else { Plus }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:403:71 [INFO] [stdout] | [INFO] [stdout] 403 | ... (true, false) => unify_int_type(lty, rty, Minus) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:406:71 [INFO] [stdout] | [INFO] [stdout] 406 | ... (false, true) => unify_int_type(lty, rty, Plus) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | fn divmul(&mut self, left: &Expr, right: &Expr, f: F) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:434:50 [INFO] [stdout] | [INFO] [stdout] 434 | fn divmul(&mut self, left: &Expr, right: &Expr, f: F) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:441:52 [INFO] [stdout] | [INFO] [stdout] 441 | ... is_negative(rty) { Plus } else { Minus }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Minus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:441:66 [INFO] [stdout] | [INFO] [stdout] 441 | ... is_negative(rty) { Plus } else { Minus }) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:448:35 [INFO] [stdout] | [INFO] [stdout] 448 | fn bitop(&mut self, left: &Expr, right: &Expr, f: F) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:448:49 [INFO] [stdout] | [INFO] [stdout] 448 | fn bitop(&mut self, left: &Expr, right: &Expr, f: F) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Plus` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | unify_int_type(lty, rty, Plus).map(|ty| ConstantInt(f(l, r), ty)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:461:30 [INFO] [stdout] | [INFO] [stdout] 461 | fn cmp(&mut self, left: &Expr, right: &Expr, ordering: Ordering, b: bool) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:461:44 [INFO] [stdout] | [INFO] [stdout] 461 | fn cmp(&mut self, left: &Expr, right: &Expr, ordering: Ordering, b: bool) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:466:41 [INFO] [stdout] | [INFO] [stdout] 466 | fn binop_apply(&mut self, left: &Expr, right: &Expr, op: F) -> Option [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:466:55 [INFO] [stdout] | [INFO] [stdout] 466 | fn binop_apply(&mut self, left: &Expr, right: &Expr, op: F) -> Option [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:473:40 [INFO] [stdout] | [INFO] [stdout] 473 | fn short_circuit(&mut self, left: &Expr, right: &Expr, b: bool) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/consts.rs:473:54 [INFO] [stdout] | [INFO] [stdout] 473 | fn short_circuit(&mut self, left: &Expr, right: &Expr, b: bool) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl LintPass for TypePass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_ty(&mut self, cx: &Context, ast_ty: &ast::Ty) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOX_VEC` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | cx, BOX_VEC, ast_ty.span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LINKEDLIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | cx, LINKEDLIST, ast_ty.span, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn check_let_unit(cx: &Context, decl: &Decl) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn check_let_unit(cx: &Context, decl: &Decl) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DeclLocal` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | if let DeclLocal(ref local) = decl.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LET_UNIT_VALUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | span_lint(cx, LET_UNIT_VALUE, decl.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | impl LintPass for LetPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | fn check_decl(&mut self, cx: &Context, decl: &Decl) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | fn check_decl(&mut self, cx: &Context, decl: &Decl) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl LintPass for UnitCmp { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if let ExprBinary(ref cmp, ref left, _) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_comparison_binop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | if *sty == ty::TyTuple(vec![]) && is_comparison_binop(op) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNIT_CMP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | span_lint(cx, UNIT_CMP, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `binop_to_string` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | binop_to_string(op), result)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BITS` in module `std::usize` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | if n == 4 { ::std::usize::BITS } else { n } [INFO] [stdout] | ^^^^ not found in `std::usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nix-0.3.9/src/sched.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | ffi::clone(mem::transmute(callback), ptr as *mut c_void, flags, &mut cb) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: for<'r> extern "C" fn(*mut Box<(dyn FnMut() -> isize + 'r)>) -> i32 {callback} [INFO] [stdout] = note: target type: *const for<'r> extern "C" fn(*const Box<(dyn FnMut() -> isize + 'r)>) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0591`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | fn span_precision_loss_lint(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to_f64: bool) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:134:50 [INFO] [stdout] | [INFO] [stdout] 134 | fn span_precision_loss_lint(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to_f64: bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_PRECISION_LOSS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | span_lint(cx, CAST_PRECISION_LOSS, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_truncation_and_wrapping(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to: &ty::TyS) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | fn check_truncation_and_wrapping(cx: &Context, expr: &Expr, cast_from: &ty::TyS, cast_to: &ty::TyS) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_POSSIBLE_TRUNCATION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | span_lint(cx, CAST_POSSIBLE_TRUNCATION, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_POSSIBLE_WRAP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | span_lint(cx, CAST_POSSIBLE_WRAP, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | impl LintPass for CastPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:207:51 [INFO] [stdout] | [INFO] [stdout] 207 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCast` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | if let ExprCast(ref ex, _) = expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_POSSIBLE_TRUNCATION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:220:39 [INFO] [stdout] | [INFO] [stdout] 220 | span_lint(cx, CAST_POSSIBLE_TRUNCATION, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_SIGN_LOSS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:224:43 [INFO] [stdout] | [INFO] [stdout] 224 | ... span_lint(cx, CAST_SIGN_LOSS, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_SIGN_LOSS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | ... span_lint(cx, CAST_SIGN_LOSS, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CAST_POSSIBLE_TRUNCATION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:240:43 [INFO] [stdout] | [INFO] [stdout] 240 | ... span_lint(cx, CAST_POSSIBLE_TRUNCATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | impl LintPass for TypeComplexityPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:45 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:60 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:72 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:82 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:262:91 [INFO] [stdout] | [INFO] [stdout] 262 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:266:43 [INFO] [stdout] | [INFO] [stdout] 266 | fn check_struct_field(&mut self, cx: &Context, field: &StructField) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:266:60 [INFO] [stdout] | [INFO] [stdout] 266 | fn check_struct_field(&mut self, cx: &Context, field: &StructField) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:270:38 [INFO] [stdout] | [INFO] [stdout] 270 | fn check_variant(&mut self, cx: &Context, var: &Variant, _: &Generics) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:270:53 [INFO] [stdout] | [INFO] [stdout] 270 | fn check_variant(&mut self, cx: &Context, var: &Variant, _: &Generics) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:270:66 [INFO] [stdout] | [INFO] [stdout] 270 | fn check_variant(&mut self, cx: &Context, var: &Variant, _: &Generics) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TupleVariantKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | if let TupleVariantKind(ref args) = var.node.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:279:51 [INFO] [stdout] | [INFO] [stdout] 279 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemStatic` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | ItemStatic(ref ty, _, _) | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemConst` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | ItemConst(ref ty, _) => check_type(cx, ty), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:288:57 [INFO] [stdout] | [INFO] [stdout] 288 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ConstTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | ConstTraitItem(ref ty, _) | [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | TypeTraitItem(_, Some(ref ty)) => check_type(cx, ty), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | MethodTraitItem(MethodSig { ref decl, .. }, None) => check_fndecl(cx, decl), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MethodSig` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | MethodTraitItem(MethodSig { ref decl, .. }, None) => check_fndecl(cx, decl), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:298:56 [INFO] [stdout] | [INFO] [stdout] 298 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ConstImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | ConstImplItem(ref ty, _) | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | TypeImplItem(ref ty) => check_type(cx, ty), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | fn check_local(&mut self, cx: &Context, local: &Local) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:307:53 [INFO] [stdout] | [INFO] [stdout] 307 | fn check_local(&mut self, cx: &Context, local: &Local) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | fn check_fndecl(cx: &Context, decl: &FnDecl) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | fn check_fndecl(cx: &Context, decl: &FnDecl) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | if let Return(ref ty) = decl.output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | fn check_type(cx: &Context, ty: &ast::Ty) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TYPE_COMPLEXITY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | span_lint(cx, TYPE_COMPLEXITY, ty.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | impl<'v> Visitor<'v> for TypeComplexityVisitor { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPtr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | TyPtr(..) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | TyRptr(..) => (1, 0), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | TyPath(..) | [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | TyVec(..) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | TyTup(..) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyFixedLengthVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | TyFixedLengthVec(..) => (10 * self.nest, 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyObjectSum` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | TyObjectSum(..) => (20 * self.nest, 0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyBareFn` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | TyBareFn(..) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPolyTraitRef` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | TyPolyTraitRef(..) => (50 * self.nest, 1), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/types.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | walk_ty(self, ty); [INFO] [stdout] | ^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `walk_ty` as a method: `self.walk_ty(ty)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl LintPass for TopLevelRefPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:72 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:82 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_fn(&mut self, cx: &Context, k: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | if let PatIdent(BindByRef(_), _, _) = arg.pat.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BindByRef` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | if let PatIdent(BindByRef(_), _, _) = arg.pat.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOPLEVEL_REF_ARG` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | TOPLEVEL_REF_ARG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl LintPass for CmpNan { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let ExprBinary(ref cmp, ref left, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_comparison_binop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if is_comparison_binop(cmp.node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | if let &ExprPath(_, ref path) = &left.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | if let &ExprPath(_, ref path) = &right.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_nan(cx: &Context, path: &Path, span: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_nan(cx: &Context, path: &Path, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_nan(cx: &Context, path: &Path, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CMP_NAN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | span_lint(cx, CMP_NAN, span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl LintPass for FloatCmp { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if let ExprBinary(ref cmp, ref left, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiEq` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiNe` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NodeItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | Some(NodeItem(&Item{ ref ident, .. })) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | Some(NodeItem(&Item{ ref ident, .. })) | [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NodeTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | Some(NodeTraitItem(&TraitItem{ id: _, ref ident, .. })) | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | Some(NodeTraitItem(&TraitItem{ id: _, ref ident, .. })) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NodeImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | Some(NodeImplItem(&ImplItem{ id: _, ref ident, .. })) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | Some(NodeImplItem(&ImplItem{ id: _, ref ident, .. })) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FLOAT_CMP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | span_lint(cx, FLOAT_CMP, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `binop_to_string` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | binop_to_string(op), snippet(cx, left.span, ".."), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_float(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_float(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | impl LintPass for CmpOwned { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if let ExprBinary(ref cmp, ref left, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_comparison_binop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if is_comparison_binop(cmp.node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | fn check_to_owned(cx: &Context, expr: &Expr, other_span: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | fn check_to_owned(cx: &Context, expr: &Expr, other_span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | fn check_to_owned(cx: &Context, expr: &Expr, other_span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | ExprMethodCall(Spanned{node: ref ident, ..}, _, ref args) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | ExprMethodCall(Spanned{node: ref ident, ..}, _, ref args) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CMP_OWNED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | span_lint(cx, CMP_OWNED, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | ExprCall(ref path, _) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | if let &ExprPath(None, ref path) = &path.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CMP_OWNED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | span_lint(cx, CMP_OWNED, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | fn is_str_arg(cx: &Context, args: &[P]) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | fn is_str_arg(cx: &Context, args: &[P]) -> bool { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn is_str_arg(cx: &Context, args: &[P]) -> bool { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | impl LintPass for ModuloOne { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:187:51 [INFO] [stdout] | [INFO] [stdout] 187 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | if let ExprBinary(ref cmp, _, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | if let &Spanned {node: BinOp_::BiRem, ..} = cmp { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MODULO_ONE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | cx.span_lint(MODULO_ONE, expr.span, "any number modulo 1 will be 0"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | fn is_lit_one(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | if let ExprLit(ref spanned) = expr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | if let LitInt(1, _) = spanned.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:212:6 [INFO] [stdout] | [INFO] [stdout] 212 | impl LintPass for PatternPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | fn check_pat(&mut self, cx: &Context, pat: &Pat) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | fn check_pat(&mut self, cx: &Context, pat: &Pat) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let PatIdent(_, ref ident, Some(ref right)) = pat.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PatWild` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | if right.node == PatWild(PatWildSingle) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PatWildSingle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | if right.node == PatWild(PatWildSingle) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REDUNDANT_PATTERN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/misc.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | cx.span_lint(REDUNDANT_PATTERN, pat.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl LintPass for EqOp { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | if let ExprBinary(ref op, ref left, ref right) = e.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EQ_OP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | span_lint(cx, EQ_OP, e.span, &format!( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_exp_equal(cx: &Context, left : &Expr, right : &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_exp_equal(cx: &Context, left : &Expr, right : &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_exp_equal(cx: &Context, left : &Expr, right : &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | (&ExprField(ref lfexp, ref lfident), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | &ExprField(ref rfexp, ref rfident)) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | (&ExprParen(ref lparen), _) => is_exp_equal(cx, lparen, right), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nix` due to 2 previous errors [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | (_, &ExprParen(ref rparen)) => is_exp_equal(cx, left, rparen), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | (&ExprPath(ref lqself, ref lsubpath), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` due to 2 previous errors [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | &ExprPath(ref rqself, ref rsubpath)) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | (&ExprTup(ref ltup), &ExprTup(ref rtup)) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | (&ExprTup(ref ltup), &ExprTup(ref rtup)) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | (&ExprVec(ref l), &ExprVec(ref r)) => is_exps_equal(cx, l, r), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | (&ExprVec(ref l), &ExprVec(ref r)) => is_exps_equal(cx, l, r), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCast` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | (&ExprCast(ref lx, ref lt), &ExprCast(ref rx, ref rt)) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCast` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | (&ExprCast(ref lx, ref lt), &ExprCast(ref rx, ref rt)) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_exps_equal(cx: &Context, left : &[P], right : &[P]) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_exps_equal(cx: &Context, left : &[P], right : &[P]) -> bool { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_exps_equal(cx: &Context, left : &[P], right : &[P]) -> bool { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_exps_equal(cx: &Context, left : &[P], right : &[P]) -> bool { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_exps_equal(cx: &Context, left : &[P], right : &[P]) -> bool { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_path_equal(left : &Path, right : &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_path_equal(left : &Path, right : &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | fn is_qself_equal(left : &QSelf, right : &QSelf) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QSelf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | fn is_qself_equal(left : &QSelf, right : &QSelf) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | fn is_cmp_or_bit(op : &BinOp) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | fn is_cast_ty_equal(left: &Ty, right: &Ty) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn is_cast_ty_equal(left: &Ty, right: &Ty) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | (&TyVec(ref lvec), &TyVec(ref rvec)) => is_cast_ty_equal(lvec, rvec), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | (&TyVec(ref lvec), &TyVec(ref rvec)) => is_cast_ty_equal(lvec, rvec), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPtr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | (&TyPtr(ref lmut), &TyPtr(ref rmut)) => [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPtr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | (&TyPtr(ref lmut), &TyPtr(ref rmut)) => [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | (&TyRptr(_, ref lrmut), &TyRptr(_, ref rrmut)) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | (&TyRptr(_, ref lrmut), &TyRptr(_, ref rrmut)) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | (&TyPath(ref lq, ref lpath), &TyPath(ref rq, ref rpath)) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | (&TyPath(ref lq, ref lpath), &TyPath(ref rq, ref rpath)) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | (&TyParen(ref lty), &TyParen(ref rty)) => is_cast_ty_equal(lty, rty), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eq_op.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | (&TyParen(ref lty), &TyParen(ref rty)) => is_cast_ty_equal(lty, rty), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl LintPass for BitMask { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let ExprBinary(ref cmp, ref left, ref right) = e.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_comparison_binop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if is_comparison_binop(cmp.node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | fn invert_cmp(cmp : BinOp_) -> BinOp_ { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn invert_cmp(cmp : BinOp_) -> BinOp_ { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiGt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | BiLt => BiGt, [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `BiLt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiLt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | BiGt => BiLt, [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `BiGt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiGe` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | BiLe => BiGe, [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `BiLe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiLe` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | BiGe => BiLe, [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `BiGe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiOr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | _ => BiOr // Dummy [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:84:86 [INFO] [stdout] | [INFO] [stdout] 84 | fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | ExprParen(ref subexp) => check_compare(cx, subexp, cmp_op, cmp_value, span), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | ExprBinary(ref op, ref left, ref right) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiBitAnd` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | if op.node != BiBitAnd && op.node != BiBitOr { return; } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiBitOr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:88:50 [INFO] [stdout] | [INFO] [stdout] 88 | if op.node != BiBitAnd && op.node != BiBitOr { return; } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 97 | fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | mask_value: u64, cmp_value: u64, span: &Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | span_lint(cx, BAD_BIT_MASK, *span, "&-masking with zero"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | span_lint(cx, BAD_BIT_MASK, *span, "&-masking with zero"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:130:31 [INFO] [stdout] | [INFO] [stdout] 130 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | span_lint(cx, BAD_BIT_MASK, *span, "&-masking with zero"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAD_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | span_lint(cx, BAD_BIT_MASK, *span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | fn check_ineffective_lt(cx: &Context, span: Span, m: u64, c: u64, op: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | fn check_ineffective_lt(cx: &Context, span: Span, m: u64, c: u64, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INEFFECTIVE_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | span_lint(cx, INEFFECTIVE_BIT_MASK, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | fn check_ineffective_gt(cx: &Context, span: Span, m: u64, c: u64, op: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | fn check_ineffective_gt(cx: &Context, span: Span, m: u64, c: u64, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INEFFECTIVE_BIT_MASK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | span_lint(cx, INEFFECTIVE_BIT_MASK, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | fn fetch_int_literal(cx: &Context, lit : &Expr) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | fn fetch_int_literal(cx: &Context, lit : &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | ExprLit(ref lit_ptr) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | if let &LitInt(value, _) = &lit_ptr.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | ExprPath(_, _) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PathResolution` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:193:23 [INFO] [stdout] | [INFO] [stdout] 193 | Some(&PathResolution { base_def: DefConst(def_id), ..}) => Some(def_id), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DefConst` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | Some(&PathResolution { base_def: DefConst(def_id), ..}) => Some(def_id), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_const_by_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/bit_mask.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | .and_then(|def_id| lookup_const_by_id(cx.tcx, def_id, Option::None)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl LintPass for PtrArg { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | if let &ItemFn(ref decl, _, _, _, _, _) = &item.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if let &MethodImplItem(ref sig, _) = &item.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | if let &MethodTraitItem(ref sig, _) = &item.node { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_fn(cx: &Context, decl: &FnDecl) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_fn(cx: &Context, decl: &FnDecl) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTR_ARG` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | span_lint(cx, PTR_ARG, arg.ty.span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PTR_ARG` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ptr_arg.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | span_lint(cx, PTR_ARG, arg.ty.span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl LintPass for NeedlessBool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if let ExprIf(ref pred, ref then_block, Some(ref else_expr)) = e.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | span_lint(cx, NEEDLESS_BOOL, e.span, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | span_lint(cx, NEEDLESS_BOOL, e.span, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | span_lint(cx, NEEDLESS_BOOL, e.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | span_lint(cx, NEEDLESS_BOOL, e.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn fetch_bool_block(block: &Block) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | fn fetch_bool_expr(expr: &Expr) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | ExprBlock(ref block) => fetch_bool_block(block), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ExprLit(ref lit_ptr) => if let LitBool(value) = lit_ptr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitBool` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/needless_bool.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | ExprLit(ref lit_ptr) => if let LitBool(value) = lit_ptr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl LintPass for ApproxConstant { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | if let &ExprLit(ref lit) = &e.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_lit(cx: &Context, lit: &Lit, span: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_lit(cx: &Context, lit: &Lit, span: Span) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | fn check_lit(cx: &Context, lit: &Lit, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | LitFloat(ref str, TyF32) => check_known_consts(cx, span, str, "f32"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | LitFloat(ref str, TyF64) => check_known_consts(cx, span, str, "f64"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloatUnsuffixed` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | LitFloatUnsuffixed(ref str) => [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn check_known_consts(cx: &Context, span: Span, str: &str, module: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | fn check_known_consts(cx: &Context, span: Span, str: &str, module: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APPROX_CONSTANT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/approx_const.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | span_lint(cx, APPROX_CONSTANT, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl LintPass for EtaPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | ExprCall(_, ref args) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | ExprMethodCall(_, _, ref args) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_adjusted(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_adjusted(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn check_closure(cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | fn check_closure(cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprClosure` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let ExprClosure(_, ref decl, ref blk) = expr.node { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | if let ExprCall(ref caller, ref args) = ex.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let PatIdent(_, ident, _) = a1.pat.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | if let ExprPath(None, ref p) = a2.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REDUNDANT_CLOSURE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/eta_reduction.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | span_lint(cx, REDUNDANT_CLOSURE, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl LintPass for IdentityOp { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if let ExprBinary(ref cmp, ref left, ref right) = e.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn check(cx: &Context, e: &Expr, m: i8, span: Span, arg: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn check(cx: &Context, e: &Expr, m: i8, span: Span, arg: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | fn check(cx: &Context, e: &Expr, m: i8, span: Span, arg: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | fn check(cx: &Context, e: &Expr, m: i8, span: Span, arg: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDENTITY_OP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/identity_op.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | span_lint(cx, IDENTITY_OP, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl LintPass for MutMut { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_ty(&mut self, cx: &Context, ty: &Ty) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_ty(&mut self, cx: &Context, ty: &Ty) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MUT_MUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:26:74 [INFO] [stdout] | [INFO] [stdout] 26 | unwrap_mut(ty).and_then(unwrap_mut).map_or((), |_| span_lint(cx, MUT_MUT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_expr_expd(cx: &Context, expr: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_expr_expd(cx: &Context, expr: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpnInfo` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_expr_expd(cx: &Context, expr: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | fn unwrap_addr(expr : &Expr) -> Option<&Expr> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | fn unwrap_addr(expr : &Expr) -> Option<&Expr> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | ExprAddrOf(MutMutable, ref e) => Option::Some(e), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MUT_MUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | span_lint(cx, MUT_MUT, expr.span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRef` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | if let TyRef(_, TypeAndMut{ty: _, mutbl: MutMutable}) = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TypeAndMut` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | if let TyRef(_, TypeAndMut{ty: _, mutbl: MutMutable}) = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MUT_MUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | span_lint(cx, MUT_MUT, expr.span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | fn unwrap_mut(ty : &Ty) -> Option<&Ty> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn unwrap_mut(ty : &Ty) -> Option<&Ty> { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPtr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | TyPtr(MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | TyPtr(MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | TyRptr(_, MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/mut_mut.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | TyRptr(_, MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl LintPass for LenZero { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemTrait` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ItemTrait(_, _, _, ref trait_items) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemImpl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | ItemImpl(_, _, _, None, _, ref impl_items) => // only non-trait [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | if let &ExprBinary(Spanned{node: cmp, ..}, ref left, ref right) = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | if let &ExprBinary(Spanned{node: cmp, ..}, ref left, ref right) = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_trait_items(cx: &Context, item: &Item, trait_items: &[P]) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_trait_items(cx: &Context, item: &Item, trait_items: &[P]) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_trait_items(cx: &Context, item: &Item, trait_items: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | fn check_trait_items(cx: &Context, item: &Item, trait_items: &[P]) { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn is_named_self(item: &TraitItem, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | item.ident.name == name && if let MethodTraitItem(ref sig, _) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEN_WITHOUT_IS_EMPTY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | span_lint(cx, LEN_WITHOUT_IS_EMPTY, i.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn check_impl_items(cx: &Context, item: &Item, impl_items: &[P]) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | fn check_impl_items(cx: &Context, item: &Item, impl_items: &[P]) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | fn check_impl_items(cx: &Context, item: &Item, impl_items: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:66:64 [INFO] [stdout] | [INFO] [stdout] 66 | fn check_impl_items(cx: &Context, item: &Item, impl_items: &[P]) { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | fn is_named_self(item: &ImplItem, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | item.ident.name == name && if let MethodImplItem(ref sig, _) = [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEN_WITHOUT_IS_EMPTY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | span_lint(cx, LEN_WITHOUT_IS_EMPTY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | Span{ lo: s.lo, hi: s.lo, expn_id: s.expn_id }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MethodSig` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | fn is_self_sig(sig: &MethodSig) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_cmp(cx: &Context, span: Span, left: &Expr, right: &Expr, op: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_cmp(cx: &Context, span: Span, left: &Expr, right: &Expr, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_cmp(cx: &Context, span: Span, left: &Expr, right: &Expr, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_cmp(cx: &Context, span: Span, left: &Expr, right: &Expr, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | (&ExprLit(ref lit), &ExprMethodCall(ref method, _, ref args)) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | (&ExprLit(ref lit), &ExprMethodCall(ref method, _, ref args)) => [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | (&ExprMethodCall(ref method, _, ref args), &ExprLit(ref lit)) => [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | (&ExprMethodCall(ref method, _, ref args), &ExprLit(ref lit)) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_len_zero(cx: &Context, span: Span, method: &SpannedIdent, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_len_zero(cx: &Context, span: Span, method: &SpannedIdent, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SpannedIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_len_zero(cx: &Context, span: Span, method: &SpannedIdent, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | args: &[P], lit: &Lit, op: &str) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_len_zero(cx: &Context, span: Span, method: &SpannedIdent, [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 103 | args: &[P], lit: &Lit, op: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | args: &[P], lit: &Lit, op: &str) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | if let Spanned{node: LitInt(0, _), ..} = *lit { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | if let Spanned{node: LitInt(0, _), ..} = *lit { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEN_ZERO` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | span_lint(cx, LEN_ZERO, span, &format!( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | fn has_is_empty(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:115:38 [INFO] [stdout] | [INFO] [stdout] 115 | fn has_is_empty(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_is_empty(cx: &Context, id: &ImplOrTraitItemId) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplOrTraitItemId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_is_empty(cx: &Context, id: &ImplOrTraitItemId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItemId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if let &MethodTraitItemId(def_id) = id { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | fn has_is_empty_impl(cx: &Context, id: &DefId) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DefId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/len_zero.rs:128:45 [INFO] [stdout] | [INFO] [stdout] 128 | fn has_is_empty_impl(cx: &Context, id: &DefId) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl LintPass for AttrPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_relevant_item(item: &Item) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | if let &ItemFn(_, _, _, _, _, ref block) = &item.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_relevant_impl(item: &ImplItem) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | MethodImplItem(_, ref block) => is_relevant_block(block), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_relevant_trait(item: &TraitItem) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | MethodTraitItem(_, None) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | MethodTraitItem(_, Some(ref block)) => is_relevant_block(block), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_relevant_block(block: &Block) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | StmtDecl(_, _) => return true, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | fn is_relevant_expr(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | ExprBlock(ref block) => is_relevant_block(block), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ExprRet(Some(ref e)) | ExprParen(ref e) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | ExprRet(Some(ref e)) | ExprParen(ref e) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBreak` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMac` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | ExprCall(ref path_expr, _) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if let ExprPath(_, ref path) = path_expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_attrs(cx: &Context, info: Option<&ExpnInfo>, ident: &Ident, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpnInfo` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_attrs(cx: &Context, info: Option<&ExpnInfo>, ident: &Ident, [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:92:63 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_attrs(cx: &Context, info: Option<&ExpnInfo>, ident: &Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | attrs: &[Attribute]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MetaList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | if let MetaList(ref inline, ref values) = attr.node.value.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MetaWord` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let MetaWord(ref always) = values[0].node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INLINE_ALWAYS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/attrs.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | span_lint(cx, INLINE_ALWAYS, attr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl LintPass for CollapsibleIf { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | fn check_expr_expd(cx: &Context, e: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | fn check_expr_expd(cx: &Context, e: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpnInfo` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | fn check_expr_expd(cx: &Context, e: &Expr, info: Option<&ExpnInfo>) { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let ExprIf(ref check, ref then, None) = e.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(&Expr{ node: ExprIf(ref check_inner, ref content, None), span: sp, ..}) = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(&Expr{ node: ExprIf(ref check_inner, ref content, None), span: sp, ..}) = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLLAPSIBLE_IF` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | span_help_and_lint(cx, COLLAPSIBLE_IF, e.span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | fn requires_brackets(e: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ExprBinary(Spanned {node: n, ..}, _, _) if n == BiEq => false, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | ExprBinary(Spanned {node: n, ..}, _, _) if n == BiEq => false, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BiEq` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | ExprBinary(Spanned {node: n, ..}, _, _) if n == BiEq => false, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_to_string(cx: &Context, e: &Expr) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_to_string(cx: &Context, e: &Expr) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn single_stmt_of_block(block: &Block) -> Option<&Expr> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | fn single_stmt_of_block(block: &Block) -> Option<&Expr> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if let StmtExpr(ref expr, _) = block.stmts[0].node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | fn single_stmt_of_expr(expr: &Expr) -> Option<&Expr> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | fn single_stmt_of_expr(expr: &Expr) -> Option<&Expr> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/collapsible_if.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if let ExprBlock(ref block) = expr.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl LintPass for Unicode { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | if let ExprLit(ref lit) = expr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitStr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if let LitStr(ref string, _) = lit.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn check_str(cx: &Context, string: &str, span: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn check_str(cx: &Context, string: &str, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ZERO_WIDTH_SPACE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | str_pos_lint(cx, ZERO_WIDTH_SPACE, span, i, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NON_ASCII_LITERAL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | str_pos_lint(cx, NON_ASCII_LITERAL, span, i, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | fn str_pos_lint(cx: &Context, lint: &'static Lint, span: Span, index: usize, msg: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | fn str_pos_lint(cx: &Context, lint: &'static Lint, span: Span, index: usize, msg: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | fn str_pos_lint(cx: &Context, lint: &'static Lint, span: Span, index: usize, msg: &str) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | span_lint(cx, lint, Span { lo: span.lo + BytePos((1 + index) as u32), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | span_lint(cx, lint, Span { lo: span.lo + BytePos((1 + index) as u32), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/unicode.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | ... hi: span.lo + BytePos((1 + index) as u32), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl LintPass for ShadowPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_fn(cx: &Context, decl: &FnDecl, block: &Block) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_fn(cx: &Context, decl: &FnDecl, block: &Block) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_fn(cx: &Context, decl: &FnDecl, block: &Block) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if let PatIdent(_, ident, _) = arg.pat.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn check_block(cx: &Context, block: &Block, bindings: &mut Vec) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn check_block(cx: &Context, block: &Block, bindings: &mut Vec) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:44:64 [INFO] [stdout] | [INFO] [stdout] 44 | fn check_block(cx: &Context, block: &Block, bindings: &mut Vec) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | StmtDecl(ref decl, _) => check_decl(cx, decl, bindings), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn check_decl(cx: &Context, decl: &Decl, bindings: &mut Vec) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | fn check_decl(cx: &Context, decl: &Decl, bindings: &mut Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:58:61 [INFO] [stdout] | [INFO] [stdout] 58 | fn check_decl(cx: &Context, decl: &Decl, bindings: &mut Vec) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DeclLocal` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let DeclLocal(ref local) = decl.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Local` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let Local{ ref pat, ref ty, ref init, id: _, span } = **local; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn is_binding(cx: &Context, pat: &Pat) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn is_binding(cx: &Context, pat: &Pat) -> bool { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DefVariant` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | Some(DefVariant(..)) | Some(DefStruct(..)) => false, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DefStruct` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | Some(DefVariant(..)) | Some(DefStruct(..)) => false, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_pat(cx: &Context, pat: &Pat, init: &Option<&Expr>, span: Span, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_pat(cx: &Context, pat: &Pat, init: &Option<&Expr>, span: Span, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_pat(cx: &Context, pat: &Pat, init: &Option<&Expr>, span: Span, [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:79:67 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_pat(cx: &Context, pat: &Pat, init: &Option<&Expr>, span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_pat(cx: &Context, pat: &Pat, init: &Option<&Expr>, span: Span, [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 80 | bindings: &mut Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | PatIdent(_, ref ident, ref inner) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatStruct` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | PatStruct(_, ref pfields, _) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprStruct` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | if let ExprStruct(_, ref efields, _) = init_struct.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | PatTup(ref inner) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | if let ExprTup(ref tup) = init_tup.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | PatBox(ref inner) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | if let ExprBox(_, ref inner_init) = initp.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | PatRegion(ref inner, _) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | &Option) where T: Deref { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | fn lint_shadow(cx: &Context, name: Name, span: Span, lspan: Span, init: [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | fn lint_shadow(cx: &Context, name: Name, span: Span, lspan: Span, init: [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | fn lint_shadow(cx: &Context, name: Name, span: Span, lspan: Span, init: [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:150:64 [INFO] [stdout] | [INFO] [stdout] 150 | fn lint_shadow(cx: &Context, name: Name, span: Span, lspan: Span, init: [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHADOW_SAME` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | span_lint(cx, SHADOW_SAME, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHADOW_REUSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | span_note_and_lint(cx, SHADOW_REUSE, lspan, &format!( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHADOW_UNRELATED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | span_note_and_lint(cx, SHADOW_UNRELATED, lspan, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHADOW_UNRELATED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | span_lint(cx, SHADOW_UNRELATED, span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | fn check_expr(cx: &Context, expr: &Expr, bindings: &mut Vec) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | fn check_expr(cx: &Context, expr: &Expr, bindings: &mut Vec) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:179:61 [INFO] [stdout] | [INFO] [stdout] 179 | fn check_expr(cx: &Context, expr: &Expr, bindings: &mut Vec) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:182:50 [INFO] [stdout] | [INFO] [stdout] 182 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTupField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(None, ref e) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(None, ref e) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:183:57 [INFO] [stdout] | [INFO] [stdout] 183 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(None, ref e) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | ExprBox(Some(ref place), ref e) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | ExprBlock(ref block) | ExprLoop(ref block, _) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLoop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | ExprBlock(ref block) | ExprLoop(ref block, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | ExprVec(ref v) | ExprTup(ref v) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | ExprVec(ref v) | ExprTup(ref v) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | ExprIf(ref cond, ref then, ref otherwise) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprWhile` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | ExprWhile(ref cond, ref block, _) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | ExprMatch(ref init, ref arms, _) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | fn check_ty(cx: &Context, ty: &Ty, bindings: &mut Vec) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | fn check_ty(cx: &Context, ty: &Ty, bindings: &mut Vec) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:221:55 [INFO] [stdout] | [INFO] [stdout] 221 | fn check_ty(cx: &Context, ty: &Ty, bindings: &mut Vec) { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | TyParen(ref sty) | TyObjectSum(ref sty, _) | [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyObjectSum` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | TyParen(ref sty) | TyObjectSum(ref sty, _) | [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | TyVec(ref sty) => check_ty(cx, sty, bindings), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyFixedLengthVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | TyFixedLengthVec(ref fty, ref expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPtr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | TyPtr(MutTy{ ty: ref mty, .. }) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | TyPtr(MutTy{ ty: ref mty, .. }) | [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | TyRptr(_, MutTy{ ty: ref mty, .. }) => check_ty(cx, mty, bindings), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | TyRptr(_, MutTy{ ty: ref mty, .. }) => check_ty(cx, mty, bindings), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | TyTup(ref tup) => { for ref t in tup { check_ty(cx, t, bindings) } }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyTypeof` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | TyTypeof(ref expr) => check_expr(cx, expr, bindings), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | fn is_self_shadow(name: Name, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | fn is_self_shadow(name: Name, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ExprBox(_, ref inner) | [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | ExprParen(ref inner) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | ExprAddrOf(_, ref inner) => is_self_shadow(name, inner), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | ExprBlock(ref block) => block.stmts.is_empty() && block.expr.as_ref(). [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | ExprUnary(op, ref inner) => (UnUniq == op || UnDeref == op) && [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UnUniq` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:244:38 [INFO] [stdout] | [INFO] [stdout] 244 | ExprUnary(op, ref inner) => (UnUniq == op || UnDeref == op) && [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UnDeref` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | ExprUnary(op, ref inner) => (UnUniq == op || UnDeref == op) && [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ExprPath(_, ref path) => path_eq_name(name, path), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:251:23 [INFO] [stdout] | [INFO] [stdout] 251 | fn path_eq_name(name: Name, path: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:251:36 [INFO] [stdout] | [INFO] [stdout] 251 | fn path_eq_name(name: Name, path: &Path) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | fn contains_self(name: Name, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | fn contains_self(name: Name, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | ExprPath(_, ref path) => path_eq_name(name, path), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | ExprLit(_) => false, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:263:50 [INFO] [stdout] | [INFO] [stdout] 263 | ExprUnary(_, ref e) | ExprParen(ref e) | ExprField(ref e, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTupField` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(_, ref e) | [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(_, ref e) | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:264:57 [INFO] [stdout] | [INFO] [stdout] 264 | ExprTupField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(_, ref e) | [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCast` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | ExprCast(ref e, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | ExprBinary(_, ref l, ref r) | ExprIndex(ref l, ref r) | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIndex` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | ExprBinary(_, ref l, ref r) | ExprIndex(ref l, ref r) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | ExprAssign(ref l, ref r) | ExprAssignOp(_, ref l, ref r) | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssignOp` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | ExprAssign(ref l, ref r) | ExprAssignOp(_, ref l, ref r) | [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRepeat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | ExprRepeat(ref l, ref r) => [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | ExprRet(ref oe) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRange` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | ExprRange(ref ol, ref or) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | ExprBlock(ref block) | ExprLoop(ref block, _) | [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLoop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | ExprBlock(ref block) | ExprLoop(ref block, _) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprClosure` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | ExprClosure(_, _, ref block) => [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | ExprMethodCall(_, _, ref v) | ExprVec(ref v) | ExprTup(ref v) => [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:284:39 [INFO] [stdout] | [INFO] [stdout] 284 | ExprMethodCall(_, _, ref v) | ExprVec(ref v) | ExprTup(ref v) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:284:56 [INFO] [stdout] | [INFO] [stdout] 284 | ExprMethodCall(_, _, ref v) | ExprVec(ref v) | ExprTup(ref v) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | ExprCall(ref fun, ref args) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | ExprIf(ref cond, ref then, ref otherwise) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprWhile` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | ExprWhile(ref e, ref block, _) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | ExprMatch(ref e, ref arms, _) => [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprStruct` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | ExprStruct(_, ref fields, ref other) => [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | fn contains_block_self(name: Name, block: &Block) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:310:44 [INFO] [stdout] | [INFO] [stdout] 310 | fn contains_block_self(name: Name, block: &Block) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | StmtDecl(ref decl, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DeclLocal` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | if let DeclLocal(ref local) = decl.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | fn contains_pat_self(name: Name, pat: &Pat) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:330:40 [INFO] [stdout] | [INFO] [stdout] 330 | fn contains_pat_self(name: Name, pat: &Pat) -> bool { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | PatIdent(_, ref ident, ref inner) => name == ident.node.name || [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatEnum` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | PatEnum(_, ref opats) => opats.as_ref().map_or(false, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatQPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | PatQPath(_, ref path) => path_eq_name(name, path), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatStruct` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | PatStruct(_, ref fieldpats, _) => fieldpats.iter().any( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | PatTup(ref ps) => ps.iter().any(|ref p| contains_pat_self(name, p)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatBox` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | PatBox(ref p) | [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | PatRegion(ref p, _) => contains_pat_self(name, p), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatRange` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | PatRange(ref from, ref until) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatVec` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/shadow.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | PatVec(ref pre, ref opt, ref post) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl LintPass for StringAdd { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_expr(&mut self, cx: &Context, e: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | if let &ExprBinary(Spanned{ node: BiAdd, .. }, ref left, _) = &e.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | if let &ExprBinary(Spanned{ node: BiAdd, .. }, ref left, _) = &e.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRING_ADD_ASSIGN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | if let Allow = cx.current_level(STRING_ADD_ASSIGN) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | if let &ExprAssign(ref target, _) = &p.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRING_ADD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | span_lint(cx, STRING_ADD, e.span, [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `STRING_PATH` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/utils.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const STRING_PATH: [&'static str; 3] = ["collections", "string", "String"]; [INFO] [stdout] | ------------------------------------------------------------------------------- similarly named constant `STRING_PATH` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssign` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | } else if let &ExprAssign(ref target, ref src) = &e.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRING_ADD_ASSIGN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | span_lint(cx, STRING_ADD_ASSIGN, e.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_string(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_string(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | fn is_add(cx: &Context, src: &Expr, target: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | fn is_add(cx: &Context, src: &Expr, target: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | fn is_add(cx: &Context, src: &Expr, target: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ExprBinary(Spanned{ node: BiAdd, .. }, ref left, _) => [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | ExprBinary(Spanned{ node: BiAdd, .. }, ref left, _) => [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ExprBlock(ref block) => block.stmts.is_empty() && [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/strings.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | ExprParen(ref expr) => is_add(cx, expr, target), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl LintPass for MethodsPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if let ExprMethodCall(ref ident, _, ref args) = expr.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPTION_UNWRAP_USED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | span_lint(cx, OPTION_UNWRAP_USED, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESULT_UNWRAP_USED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | span_lint(cx, RESULT_UNWRAP_USED, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STR_TO_STRING` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | span_lint(cx, STR_TO_STRING, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRING_TO_STRING` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | span_lint(cx, STRING_TO_STRING, expr.span, "`String.to_string()` is a no-op; use \ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemImpl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | if let ItemImpl(_, _, _, None, ref ty, ref items) = item.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | if let MethodImplItem(ref sig, _) = implitem.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHOULD_IMPLEMENT_TRAIT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 84 | ... span_lint(cx, SHOULD_IMPLEMENT_TRAIT, implitem.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WRONG_SELF_CONVENTION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | ... span_lint(cx, WRONG_SELF_CONVENTION, sig.explicit_self.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExplicitSelf_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | fn matches(&self, slf: &ExplicitSelf_, allow_value_for_ref: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfValue` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | (&ValueSelf, &SelfValue(_)) => true, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | (&RefSelf, &SelfRegion(_, Mutability::MutImmutable, _)) => true, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | (&RefMutSelf, &SelfRegion(_, Mutability::MutMutable, _)) => true, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfValue` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | (&RefSelf, &SelfValue(_)) => allow_value_for_ref, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfValue` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | (&RefMutSelf, &SelfValue(_)) => allow_value_for_ref, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfExplicit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | (_, &SelfExplicit(ref ty, _)) => self.matches_explicit_type(ty, allow_value_for_ref), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | fn matches_explicit_type(&self, ty: &Ty, allow_value_for_ref: bool) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | (&ValueSelf, &TyPath(..)) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | (&RefSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutImmutable, .. })) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | (&RefSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutImmutable, .. })) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | (&RefMutSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutMutable, .. })) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MutTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | (&RefMutSelf, &TyRptr(_, MutTy { mutbl: Mutability::MutMutable, .. })) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | (&RefSelf, &TyPath(..)) => allow_value_for_ref, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | (&RefMutSelf, &TyPath(..)) => allow_value_for_ref, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionRetTy` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | fn matches(&self, ty: &FunctionRetTy) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DefaultReturn` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | (&UnitType, &DefaultReturn(_)) => true, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | (&UnitType, &Return(ref ty)) if ty.node == TyTup(vec![]) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TyTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:203:56 [INFO] [stdout] | [INFO] [stdout] 203 | (&UnitType, &Return(ref ty)) if ty.node == TyTup(vec![]) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | (&BoolType, &Return(ref ty)) if is_bool(ty) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | (&AnyType, &Return(ref ty)) if ty.node != TyTup(vec![]) => true, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TyTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:205:55 [INFO] [stdout] | [INFO] [stdout] 205 | (&AnyType, &Return(ref ty)) if ty.node != TyTup(vec![]) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | (&RefType, &Return(ref ty)) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyRptr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | if let TyRptr(_, _) = ty.node { true } else { false } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | fn is_bool(ty: &Ty) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TyPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | if let TyPath(None, ref p) = ty.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | fn is_copy(cx: &Context, ast_ty: &Ty, item: &Item) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:223:35 [INFO] [stdout] | [INFO] [stdout] 223 | fn is_copy(cx: &Context, ast_ty: &Ty, item: &Item) -> bool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/methods.rs:223:46 [INFO] [stdout] | [INFO] [stdout] 223 | fn is_copy(cx: &Context, ast_ty: &Ty, item: &Item) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_block_return(&mut self, cx: &Context, block: &Block) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_block_return(&mut self, cx: &Context, block: &Block) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | if let StmtSemi(ref expr, _) = stmt.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | if let ExprRet(Some(ref inner)) = expr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_final_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 32 | fn check_final_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | ExprRet(Some(ref inner)) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ExprBlock(ref block) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | ExprIf(_, ref ifblock, Some(ref elsexpr)) | [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIfLet` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | ExprIfLet(_, _, ref ifblock, Some(ref elsexpr)) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ExprMatch(_, ref arms, _) => { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | fn emit_return_lint(&mut self, cx: &Context, spans: (Span, Span)) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:60:58 [INFO] [stdout] | [INFO] [stdout] 60 | fn emit_return_lint(&mut self, cx: &Context, spans: (Span, Span)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | fn emit_return_lint(&mut self, cx: &Context, spans: (Span, Span)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_RETURN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | span_lint(cx, NEEDLESS_RETURN, spans.0, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | fn check_let_return(&mut self, cx: &Context, block: &Block) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | fn check_let_return(&mut self, cx: &Context, block: &Block) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let StmtDecl(ref decl, _) = stmt.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `DeclLocal` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let DeclLocal(ref local) = decl.node, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let PatIdent(_, Spanned { node: id, .. }, _) = local.pat.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let PatIdent(_, Spanned { node: id, .. }, _) = local.pat.node, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let ExprPath(_, ref path) = retexpr.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | fn emit_let_lint(&mut self, cx: &Context, lint_span: Span, note_span: Span) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | fn emit_let_lint(&mut self, cx: &Context, lint_span: Span, note_span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:87:75 [INFO] [stdout] | [INFO] [stdout] 87 | fn emit_let_lint(&mut self, cx: &Context, lint_span: Span, note_span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LET_AND_RETURN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | span_lint(cx, LET_AND_RETURN, lint_span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LET_AND_RETURN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | if cx.current_level(LET_AND_RETURN) != Level::Allow { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | impl LintPass for ReturnPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | fn check_fn(&mut self, cx: &Context, _: FnKind, _: &FnDecl, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | fn check_fn(&mut self, cx: &Context, _: FnKind, _: &FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:104:57 [INFO] [stdout] | [INFO] [stdout] 104 | fn check_fn(&mut self, cx: &Context, _: FnKind, _: &FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/returns.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | block: &Block, _: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl LintPass for LifetimePass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | fn check_item(&mut self, cx: &Context, item: &Item) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | if let ItemFn(ref decl, _, _, _, ref generics, _) = item.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodImplItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if let MethodImplItem(ref sig, _) = item.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodTraitItem` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let MethodTraitItem(ref sig, _) = item.node { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | Named(Name), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 44 | enum RefLt { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | Named(Name), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_fn_inner(cx: &Context, decl: &FnDecl, slf: Option<&ExplicitSelf>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_fn_inner(cx: &Context, decl: &FnDecl, slf: Option<&ExplicitSelf>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExplicitSelf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_fn_inner(cx: &Context, decl: &FnDecl, slf: Option<&ExplicitSelf>, [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | generics: &Generics, span: Span) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | generics: &Generics, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_LIFETIMES` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | span_lint(cx, NEEDLESS_LIFETIMES, span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | fn could_use_elision(func: &FnDecl, slf: Option<&ExplicitSelf>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExplicitSelf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | fn could_use_elision(func: &FnDecl, slf: Option<&ExplicitSelf>, [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LifetimeDef` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | named_lts: &[LifetimeDef]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | SelfRegion(ref opt_lt, _, _) => input_visitor.record(opt_lt), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SelfExplicit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | SelfExplicit(ref ty, _) => walk_ty(&mut input_visitor, ty), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | SelfExplicit(ref ty, _) => walk_ty(&mut input_visitor, ty), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | walk_ty(&mut input_visitor, &arg.ty); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Return` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Return(ref ty) = func.output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | walk_ty(&mut output_visitor, ty); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LifetimeDef` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn allowed_lts_from(named_lts: &[LifetimeDef]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 158 | impl RefVisitor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 159 | fn record(&mut self, lifetime: &Option) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | impl<'v> Visitor<'v> for RefVisitor { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn visit_opt_lifetime_ref(&mut self, _: Span, lifetime: &'v Option) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:178:72 [INFO] [stdout] | [INFO] [stdout] 176 | impl<'v> Visitor<'v> for RefVisitor { [INFO] [stdout] | - help: you might be missing a type parameter: `, Lifetime` [INFO] [stdout] 177 | // for lifetimes of references [INFO] [stdout] 178 | fn visit_opt_lifetime_ref(&mut self, _: Span, lifetime: &'v Option) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | fn visit_lifetime_ref(&mut self, lifetime: &'v Lifetime) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn visit_lifetime_bound(&mut self, _: &'v Lifetime) { } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhereClause` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:193:39 [INFO] [stdout] | [INFO] [stdout] 193 | fn has_where_lifetimes(where_clause: &WhereClause) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | walk_ty(&mut visitor, &pred.bounded_ty); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty_param_bound` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | walk_ty_param_bound(&mut visitor, bound); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_ty` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lifetimes.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | walk_ty(&mut visitor, &pred.ty); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl LintPass for LoopsPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRange` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | if let ExprRange(Some(ref l), _) = arg.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | if let ExprLit(ref lit) = l.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if let LitInt(0, _) = lit.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatIdent` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | if let PatIdent(_, ref ident, _) = pat.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | ... walk_expr(&mut visitor, body); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_RANGE_LOOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | ... span_lint(cx, NEEDLESS_RANGE_LOOP, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NEEDLESS_RANGE_LOOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | ... span_lint(cx, NEEDLESS_RANGE_LOOP, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let ExprMethodCall(ref method, _, ref args) = arg.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXPLICIT_ITER_LOOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | ... span_lint(cx, EXPLICIT_ITER_LOOP, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ITER_NEXT_LOOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | ... span_lint(cx, ITER_NEXT_LOOP, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLoop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if let ExprLoop(ref block, _) = expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | if let ExprMatch(ref matchexpr, ref arms, ref source) = inner.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHILE_LET_LOOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | ... span_help_and_lint(cx, WHILE_LET_LOOP, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn check_stmt(&mut self, cx: &Context, stmt: &Stmt) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | fn check_stmt(&mut self, cx: &Context, stmt: &Stmt) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | if let StmtSemi(ref expr, _) = stmt.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | if let ExprMethodCall(ref method, _, ref args) = expr.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNUSED_COLLECT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | span_lint(cx, UNUSED_COLLECT, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | fn recover_for_loop(expr: &Expr) -> Option<(&Pat, &Expr, &Expr)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | fn recover_for_loop(expr: &Expr) -> Option<(&Pat, &Expr, &Expr)> { [INFO] [stdout] | - ^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:143:52 [INFO] [stdout] | [INFO] [stdout] 143 | fn recover_for_loop(expr: &Expr) -> Option<(&Pat, &Expr, &Expr)> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:143:59 [INFO] [stdout] | [INFO] [stdout] 143 | fn recover_for_loop(expr: &Expr) -> Option<(&Pat, &Expr, &Expr)> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let ExprMatch(ref iterexpr, ref arms, _) = expr.node, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | let ExprCall(_, ref iterargs) = iterexpr.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLoop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let ExprLoop(ref block, _) = arms[0].body.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let ExprMatch(_, ref innerarms, MatchSource::ForLoopDesugar) = loopexpr.node, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatEnum` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let PatEnum(_, Some(ref somepats)) = innerarms[0].pats[0].node, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | cx: &'v Context<'v, 't>, // context reference [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | var: Name, // var name to look for as index [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 165 | struct VarVisitor<'v, 't: 'v> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Name` [INFO] [stdout] ... [INFO] [stdout] 168 | indexed: HashSet, // indexed variables [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | impl<'v, 't> Visitor<'v> for VarVisitor<'v, 't> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | fn visit_expr(&mut self, expr: &'v Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | if let ExprPath(None, ref path) = expr.node { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIndex` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | let ExprIndex(ref seqexpr, _) = parexpr.node, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let ExprPath(None, ref seqvar) = seqexpr.node, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | walk_expr(self, expr); [INFO] [stdout] | ^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `walk_expr` as a method: `self.walk_expr(expr)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_ref_iterable_type(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | fn is_ref_iterable_type(cx: &Context, e: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:222:32 [INFO] [stdout] | [INFO] [stdout] 222 | fn extract_single_expr(block: &Block) -> Option<&Expr> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:222:50 [INFO] [stdout] | [INFO] [stdout] 222 | fn extract_single_expr(block: &Block) -> Option<&Expr> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | StmtExpr(ref expr, _) | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | StmtSemi(ref expr, _) => Some(expr), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | fn is_break_expr(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBreak` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | ExprBreak(None) => true, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/loops.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | ExprBlock(ref b) => match extract_single_expr(b) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl LintPass for StepByZero { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | if let ExprMethodCall(Spanned { node: ref ident, .. }, _, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | if let ExprMethodCall(Spanned { node: ref ident, .. }, _, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RANGE_STEP_BY_ZERO` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | cx.span_lint(RANGE_STEP_BY_ZERO, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_range(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_range(cx: &Context, expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_lit_zero(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let ExprLit(ref spanned) = expr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/ranges.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | if let LitInt(0, _) = spanned.node { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl LintPass for MatchPass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | if let ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PatWild` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | arms[1].pats[0].node == PatWild(PatWildSingle) && [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PatWildSingle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | arms[1].pats[0].node == PatWild(PatWildSingle) && [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SINGLE_MATCH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | span_help_and_lint(cx, SINGLE_MATCH, expr.span, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | if let ExprAddrOf(Mutability::MutImmutable, ref inner) = ex.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MATCH_REF_PATS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | span_lint(cx, MATCH_REF_PATS, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MATCH_REF_PATS` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | span_lint(cx, MATCH_REF_PATS, expr.span, &format!( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_unit_expr(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | ExprTup(ref v) if v.is_empty() => true, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | ExprBlock(ref b) if b.stmts.is_empty() && b.expr.is_none() => true, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | fn has_only_ref_pats(arms: &[Arm]) -> bool { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatRegion` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | PatRegion(..) => true, // &-patterns [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `PatWild` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/matches.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | PatWild(..) => true, // an "anything" wildcard is also fine [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl LintPass for Precedence { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn check_expr(&mut self, cx: &Context, expr: &Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | if let ExprBinary(Spanned { node: op, ..}, ref left, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | if let ExprBinary(Spanned { node: op, ..}, ref left, ref right) = expr.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRECEDENCE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Precedence; [INFO] [stdout] | ---------------------- similarly named unit struct `Precedence` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | span_lint(cx, PRECEDENCE, expr.span, [INFO] [stdout] | ^^^^^^^^^^ help: a unit struct with a similar name exists: `Precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if let ExprUnary(UnNeg, ref rhs) = expr.node { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | if let ExprMethodCall(_, _, ref args) = rhs.node { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | if let ExprLit(ref lit) = slf.node { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitInt` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | ... LitInt(..) | LitFloat(..) | LitFloatUnsuffixed(..) => [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloat` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | ... LitInt(..) | LitFloat(..) | LitFloatUnsuffixed(..) => [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `LitFloatUnsuffixed` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | ... LitInt(..) | LitFloat(..) | LitFloatUnsuffixed(..) => [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRECEDENCE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Precedence; [INFO] [stdout] | ---------------------- similarly named unit struct `Precedence` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | span_lint(cx, PRECEDENCE, expr.span, [INFO] [stdout] | ^^^^^^^^^^ help: a unit struct with a similar name exists: `Precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn is_arith_expr(expr : &Expr) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(op), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(op), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | fn is_bit_op(op : BinOp_) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp_` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/precedence.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_arith_op(op : BinOp_) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | reg.register_lint_pass(box types::TypePass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | reg.register_lint_pass(box misc::TopLevelRefPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | reg.register_lint_pass(box misc::CmpNan as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | reg.register_lint_pass(box eq_op::EqOp as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | reg.register_lint_pass(box bit_mask::BitMask as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | reg.register_lint_pass(box ptr_arg::PtrArg as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:53:63 [INFO] [stdout] | [INFO] [stdout] 53 | reg.register_lint_pass(box needless_bool::NeedlessBool as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | reg.register_lint_pass(box approx_const::ApproxConstant as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | reg.register_lint_pass(box misc::FloatCmp as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | reg.register_lint_pass(box precedence::Precedence as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | reg.register_lint_pass(box eta_reduction::EtaPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | reg.register_lint_pass(box identity_op::IdentityOp as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:59:51 [INFO] [stdout] | [INFO] [stdout] 59 | reg.register_lint_pass(box mut_mut::MutMut as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | reg.register_lint_pass(box len_zero::LenZero as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:61:50 [INFO] [stdout] | [INFO] [stdout] 61 | reg.register_lint_pass(box misc::CmpOwned as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | reg.register_lint_pass(box attrs::AttrPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:63:65 [INFO] [stdout] | [INFO] [stdout] 63 | reg.register_lint_pass(box collapsible_if::CollapsibleIf as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | reg.register_lint_pass(box misc::ModuloOne as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 65 | reg.register_lint_pass(box unicode::Unicode as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | reg.register_lint_pass(box strings::StringAdd as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | reg.register_lint_pass(box returns::ReturnPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | reg.register_lint_pass(box methods::MethodsPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | reg.register_lint_pass(box shadow::ShadowPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | reg.register_lint_pass(box types::LetPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | reg.register_lint_pass(box types::UnitCmp as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 72 | reg.register_lint_pass(box loops::LoopsPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | reg.register_lint_pass(box lifetimes::LifetimePass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:74:54 [INFO] [stdout] | [INFO] [stdout] 74 | reg.register_lint_pass(box ranges::StepByZero as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | reg.register_lint_pass(box types::CastPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:76:61 [INFO] [stdout] | [INFO] [stdout] 76 | reg.register_lint_pass(box types::TypeComplexityPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | reg.register_lint_pass(box matches::MatchPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintPassObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | reg.register_lint_pass(box misc::PatternPass as LintPassObject); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPTION_UNWRAP_USED` in module `methods` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | methods::OPTION_UNWRAP_USED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RESULT_UNWRAP_USED` in module `methods` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clippy-eb94f5e90699ab2d/d3c53e3/src/lib.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | methods::RESULT_UNWRAP_USED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `methods` [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it