[INFO] fetching crate clippy_lints 0.0.212... [INFO] testing clippy_lints-0.0.212 against 1.60.0 for beta-1.61-1 [INFO] extracting crate clippy_lints 0.0.212 into /workspace/builds/worker-79/source [INFO] validating manifest of crates.io crate clippy_lints 0.0.212 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clippy_lints 0.0.212 [INFO] finished tweaking crates.io crate clippy_lints 0.0.212 [INFO] tweaked toml for crates.io crate clippy_lints 0.0.212 written to /workspace/builds/worker-79/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [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-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b007d6add08181d8c20c1bba33b616ed1a2d0a961a583f5117d37cc3b8b87df8 [INFO] running `Command { std: "docker" "start" "-a" "b007d6add08181d8c20c1bba33b616ed1a2d0a961a583f5117d37cc3b8b87df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b007d6add08181d8c20c1bba33b616ed1a2d0a961a583f5117d37cc3b8b87df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b007d6add08181d8c20c1bba33b616ed1a2d0a961a583f5117d37cc3b8b87df8", kill_on_drop: false }` [INFO] [stdout] b007d6add08181d8c20c1bba33b616ed1a2d0a961a583f5117d37cc3b8b87df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc94ea004beb3f1feff1c3a09d5ed26312cabb4c422aae0bd85cb39befd84e0c [INFO] running `Command { std: "docker" "start" "-a" "fc94ea004beb3f1feff1c3a09d5ed26312cabb4c422aae0bd85cb39befd84e0c", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quine-mc_cluskey v0.2.4 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling clippy_lints v0.0.212 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(rust_2018_preview)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/consts.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `float_cmp` [INFO] [stdout] --> src/consts.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #![allow(float_cmp)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `missing_docs_in_private_items` [INFO] [stdout] --> src/utils/comparisons.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs_in_private_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `missing_docs_in_private_items` [INFO] [stdout] --> src/utils/conf.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs_in_private_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `missing_docs_in_private_items` [INFO] [stdout] --> src/utils/constants.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs_in_private_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `many_single_char_names` [INFO] [stdout] --> src/utils/hir_utils.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | #[allow(many_single_char_names)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `missing_docs_in_private_items` [INFO] [stdout] --> src/utils/sugg.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(missing_docs_in_private_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `use_self` [INFO] [stdout] --> src/utils/sugg.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(use_self)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `wrong_self_convention` [INFO] [stdout] --> src/utils/sugg.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(wrong_self_convention)] // ok, because of the function `as_ty` method [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `print_stdout` [INFO] [stdout] --> src/utils/inspector.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(print_stdout, use_debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `use_debug` [INFO] [stdout] --> src/utils/inspector.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(print_stdout, use_debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `print_stdout` [INFO] [stdout] --> src/utils/author.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(print_stdout, use_debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `use_debug` [INFO] [stdout] --> src/utils/author.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #![allow(print_stdout, use_debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `missing_docs_in_private_items` [INFO] [stdout] --> src/utils/higher.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(missing_docs_in_private_items)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/assign_ops.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | #[allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/booleans.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/booleans.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/booleans.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/cyclomatic_complexity.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/cyclomatic_complexity.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/doc.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/enum_clike.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/enum_clike.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | #[allow(cast_possible_truncation, cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `while_let_on_iterator` [INFO] [stdout] --> src/enum_variants.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | #[allow(while_let_on_iterator)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `match_same_arms` [INFO] [stdout] --> src/eq_op.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | #[allow(match_same_arms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_wrap` [INFO] [stdout] --> src/identity_op.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | #[allow(cast_possible_wrap)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/int_plus_one.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cyclomatic_complexity` [INFO] [stdout] --> src/methods.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | #[allow(cyclomatic_complexity)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/methods.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `match_same_arms` [INFO] [stdout] --> src/neg_multiply.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | #[allow(match_same_arms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_sign_loss` [INFO] [stdout] --> src/types.rs:1526:13 [INFO] [stdout] | [INFO] [stdout] 1526 | #[allow(cast_sign_loss)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `cast_possible_truncation` [INFO] [stdout] --> src/types.rs:1745:13 [INFO] [stdout] | [INFO] [stdout] 1745 | #[allow(cast_possible_truncation)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/lib.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | crate use syntax::ast::{Name, NodeId}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_plugin` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^ no external crate `rustc_plugin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/utils/conf.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::{ast, codemap}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax::codemap::{CharPos, Span}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use syntax::parse::token; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use syntax::print::pprust::token_to_string; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use syntax::util::parser::AssocOp; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_errors` [INFO] [stdout] --> src/utils/sugg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^ no external crate `rustc_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/utils/sugg.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use syntax::ast::RangeLimits; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | use syntax::util::parser::AssocOp::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | use syntax::ast::BinOpKind::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_pos` [INFO] [stdout] --> src/utils/sugg.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use syntax_pos::{BytePos, Pos}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/const_static_lifetime.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/double_parens.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/utils/higher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/consts.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use syntax::ast::{FloatTy, LitKind}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/consts.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/consts.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ast::FloatTy`, `syntax::ast::LitKind`, `syntax::ptr::P`, `syntax::ast::*` [INFO] [stdout] --> src/consts.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use syntax::ast::{FloatTy, LitKind}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 15 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mutex_atomic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_errors` [INFO] [stdout] --> src/utils/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rustc_errors::{Applicability, CodeSuggestion, Substitution, SubstitutionPart}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use syntax::ast::{self, LitKind}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ast::LitKind` [INFO] [stdout] --> src/utils/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use syntax::ast::{self, LitKind}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use syntax::codemap::{CompilerDesugaringKind, ExpnFormat, ExpnInfo, Span, DUMMY_SP}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use syntax::symbol::keywords; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/hir_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::Name; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/hir_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | use syntax::parse::token::BinOpToken::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/sugg.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | use syntax::parse::token::BinOpToken; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/inspector.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::Attribute; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/internal_lints.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/internal_lints.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::{Crate as AstCrate, ItemKind, Name, NodeId}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/internal_lints.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/author.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::{Attribute, LitKind, DUMMY_NODE_ID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/ptr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::Name; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/ptr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/usage.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/utils/usage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::CompilerDesugaringKind`, `syntax::codemap::ExpnFormat`, `syntax::codemap::ExpnInfo`, `syntax::codemap::Span`, `syntax::codemap::DUMMY_SP`, `syntax::errors::DiagnosticBuilder`, `syntax::ptr::P`, `syntax::symbol::keywords`, `syntax::ast::Name`, `syntax::ptr::P`, `crate::utils::differing_macro_contexts`, `crate::utils::higher`, `crate::utils::snippet`, `crate::utils::snippet_opt`, `syntax::parse::token::BinOpToken::*`, `syntax::parse::token::BinOpToken`, `syntax::ast::Attribute`, `crate::utils::get_attr`, `crate::utils::match_qpath`, `crate::utils::paths`, `crate::utils::span_lint`, `syntax::symbol::LocalInternedString`, `syntax::ast::Crate`, `syntax::ast::ItemKind`, `syntax::ast::Name`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::ast::Attribute`, `syntax::ast::LitKind`, `syntax::ast::DUMMY_NODE_ID`, `crate::utils::get_attr`, `syntax::ast::Name`, `syntax::codemap::Span`, `crate::utils::get_pat_name`, `crate::utils::match_var`, `crate::utils::snippet`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `crate::utils::is_expn_of`, `crate::utils::match_def_path`, `crate::utils::match_qpath`, `crate::utils::opt_def_id`, `crate::utils::paths`, `crate::utils::resolve_node` [INFO] [stdout] --> src/utils/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use syntax::attr; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 20 | use syntax::codemap::{CompilerDesugaringKind, ExpnFormat, ExpnInfo, Span, DUMMY_SP}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 21 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | use syntax::symbol::keywords; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/hir_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::utils::differing_macro_contexts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/sugg.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::utils::{higher, snippet, snippet_opt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | use syntax::parse::token::BinOpToken::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | use syntax::parse::token::BinOpToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/inspector.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::utils::get_attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/internal_lints.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::{match_qpath, paths, span_lint}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use syntax::ast::{Crate as AstCrate, ItemKind, Name, NodeId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/author.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::{Attribute, LitKind, DUMMY_NODE_ID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] 12 | use crate::utils::get_attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/ptr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use crate::utils::{get_pat_name, match_var, snippet}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/usage.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/higher.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::{is_expn_of, match_def_path, match_qpath, opt_def_id, paths, resolve_node}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/approx_const.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::{FloatTy, Lit, LitKind}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ast::FloatTy`, `syntax::ast::Lit`, `syntax::ast::LitKind` [INFO] [stdout] --> src/utils/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use syntax::symbol; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/approx_const.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::{FloatTy, Lit, LitKind}; [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/arithmetic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span` [INFO] [stdout] --> src/approx_const.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::symbol; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/arithmetic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/attrs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax::ast::{AttrStyle, Attribute, Lit, LitKind, MetaItemKind, NestedMetaItem, NestedMetaItemKind}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/attrs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/bit_mask.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/bit_mask.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/booleans.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::{LitKind, NodeId, DUMMY_NODE_ID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/booleans.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::{dummy_spanned, Span, DUMMY_SP}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/booleans.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::util::ThinVec; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/bytecount.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::{Name, UintTy}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ast::AttrStyle`, `syntax::ast::Attribute`, `syntax::ast::Lit`, `syntax::ast::LitKind`, `syntax::ast::MetaItemKind`, `syntax::ast::NestedMetaItem`, `syntax::ast::NestedMetaItemKind`, `syntax::codemap::Span`, `syntax::ast::LitKind`, `syntax::codemap::Span`, `syntax::ast::LitKind`, `syntax::ast::NodeId`, `syntax::ast::DUMMY_NODE_ID`, `syntax::codemap::dummy_spanned`, `syntax::codemap::Span`, `syntax::codemap::DUMMY_SP`, `syntax::util::ThinVec`, `syntax::ast::Name`, `syntax::ast::UintTy` [INFO] [stdout] --> src/assign_ops.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/attrs.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax::ast::{AttrStyle, Attribute, Lit, LitKind, MetaItemKind, NestedMetaItem, NestedMetaItemKind}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bit_mask.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/booleans.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::{LitKind, NodeId, DUMMY_NODE_ID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 5 | use syntax::codemap::{dummy_spanned, Span, DUMMY_SP}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 6 | use syntax::util::ThinVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bytecount.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::{Name, UintTy}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/copies.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/copies.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::util::small_vector::SmallVector; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/cyclomatic_complexity.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::{Attribute, NodeId}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/cyclomatic_complexity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::symbol::LocalInternedString`, `syntax::util::small_vector::SmallVector`, `syntax::ast::Attribute`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::codemap::Span`, `pulldown_cmark` [INFO] [stdout] --> src/collapsible_if.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/copies.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use syntax::util::small_vector::SmallVector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cyclomatic_complexity.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::{Attribute, NodeId}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/derive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/doc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pulldown_cmark; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/doc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::{BytePos, Span}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::BytePos`, `syntax::codemap::Span` [INFO] [stdout] --> src/doc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 5 | use syntax::codemap::{BytePos, Span}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/double_comparison.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/duration_subsec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/else_if_without_else.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/entry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_clike.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::{IntTy, UintTy}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_glob_use.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_glob_use.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_variants.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_variants.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/enum_variants.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/erasing_op.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/escape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/escape.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::codemap::Span`, `syntax::codemap::Spanned`, `syntax::ast::*`, `syntax::codemap::Span`, `syntax::ast::IntTy`, `syntax::ast::UintTy`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::ast::*`, `syntax::codemap::Span`, `syntax::symbol::LocalInternedString`, `syntax::codemap::Span`, `syntax::ast::NodeId`, `syntax::codemap::Span` [INFO] [stdout] --> src/doc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax_pos::Pos; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/double_comparison.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/duration_subsec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/else_if_without_else.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/entry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_clike.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast::{IntTy, UintTy}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_glob_use.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_variants.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/erasing_op.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/escape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/excessive_precision.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax_pos` [INFO] [stdout] --> src/excessive_precision.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax_pos::symbol::Symbol; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ast::*`, `syntax_pos::symbol::Symbol` [INFO] [stdout] --> src/eval_order_dependence.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/excessive_precision.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use syntax_pos::symbol::Symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::ast::LitKind` [INFO] [stdout] --> src/fallible_impl_from.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_pos` [INFO] [stdout] --> src/format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/formatting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::ptr::P` [INFO] [stdout] --> src/formatting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 3 | use crate::utils::{differing_macro_contexts, in_macro, snippet_opt, span_note_and_lint}; [INFO] [stdout] 4 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_target` [INFO] [stdout] --> src/functions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/identity_conversion.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/identity_op.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/if_not_else.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/indexing_slicing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::RangeLimits; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `rustc_target::spec::abi::Abi`, `syntax::codemap::Span`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::ast::*`, `syntax::ast::RangeLimits` [INFO] [stdout] --> src/functions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 8 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/identity_conversion.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/identity_op.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/if_not_else.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/indexing_slicing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::RangeLimits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/inline_fn_without_body.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::{Attribute, Name}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/int_plus_one.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/items_after_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/len_zero.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::{Lit, LitKind, Name}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/len_zero.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::ast::Attribute`, `syntax::ast::Name`, `syntax::ast::*`, `syntax::ast::*`, `syntax::ast::Lit`, `syntax::ast::LitKind`, `syntax::ast::Name`, `syntax::codemap::Span`, `syntax::codemap::Spanned` [INFO] [stdout] --> src/inherent_impl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/inline_fn_without_body.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::{Attribute, Name}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/int_plus_one.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/items_after_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/len_zero.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::{Lit, LitKind, Name}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 7 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/lifetimes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/lifetimes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::symbol::keywords; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/literal_representation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span`, `syntax::symbol::keywords`, `syntax::ast::*` [INFO] [stdout] --> src/let_if_seq.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/lifetimes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use crate::utils::{in_external_macro, last_path_segment, span_lint}; [INFO] [stdout] 9 | use syntax::symbol::keywords; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/literal_representation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_pos` [INFO] [stdout] --> src/literal_representation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax_pos; [INFO] [stdout] | ^^^^^^^^^^ no external crate `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/loops.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span` [INFO] [stdout] --> src/loops.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 19 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/map_clone.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/map_unit_fn.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/matches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/matches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rustc_errors`, `syntax::codemap::Span`, `syntax::ast::LitKind`, `syntax::codemap::Span` [INFO] [stdout] --> src/map_unit_fn.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustc_errors::{Applicability}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_errors` [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/methods.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::codemap::{Span, BytePos}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/misc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::{ExpnFormat, Span}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/misc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax::ast::{LitKind, CRATE_NODE_ID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/misc_early.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/misc_early.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/misc_early.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::visit::FnKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span`, `syntax::codemap::BytePos`, `syntax::codemap::ExpnFormat`, `syntax::codemap::Span`, `syntax::ast::LitKind`, `syntax::ast::CRATE_NODE_ID`, `syntax::ast::*`, `syntax::codemap::Span`, `syntax::visit::FnKind` [INFO] [stdout] --> src/methods.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 9 | use syntax::codemap::{Span, BytePos}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::{ExpnFormat, Span}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use syntax::ast::{LitKind, CRATE_NODE_ID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use syntax::visit::FnKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/missing_doc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/missing_doc.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span` [INFO] [stdout] --> src/missing_doc.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use syntax::attr; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 26 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/missing_inline.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/multiple_crate_versions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/needless_bool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/needless_bool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span`, `syntax::ast::*`, `cargo_metadata`, `syntax::ast::LitKind`, `syntax::codemap::Spanned` [INFO] [stdout] --> src/missing_inline.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 15 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/multiple_crate_versions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use cargo_metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_bool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/needless_continue.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use syntax::codemap::{original_sp, DUMMY_SP}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_target` [INFO] [stdout] --> src/needless_pass_by_value.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/needless_pass_by_value.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::original_sp`, `syntax::codemap::DUMMY_SP`, `rustc_target::spec::abi::Abi`, `syntax::ast::NodeId` [INFO] [stdout] --> src/needless_continue.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 32 | use syntax::codemap::{original_sp, DUMMY_SP}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_pass_by_value.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/needless_pass_by_value.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/neg_multiply.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/new_without_default.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::errors::DiagnosticBuilder`, `syntax::codemap::Span`, `syntax::codemap::Spanned`, `syntax::codemap::Span` [INFO] [stdout] --> src/needless_pass_by_value.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] 12 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/neg_multiply.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/new_without_default.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_errors` [INFO] [stdout] --> src/non_copy_const.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rustc_errors::Applicability; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_typeck` [INFO] [stdout] --> src/non_copy_const.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rustc_typeck::hir_ty_to_ty; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_typeck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/non_expressive_names.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/non_expressive_names.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/non_expressive_names.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::codemap::Span`, `syntax::symbol::LocalInternedString`, `syntax::ast::*` [INFO] [stdout] --> src/non_copy_const.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax_pos::{DUMMY_SP, Span}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/non_expressive_names.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/non_expressive_names.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::visit::{walk_block, walk_expr, walk_pat, Visitor}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/open_options.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/open_options.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/panic_unimplemented.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/panic_unimplemented.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/panic_unimplemented.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ext::quote::rt::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/precedence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/precedence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/precedence.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use syntax::ast::BinOpKind::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/precedence.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use syntax::ast::BinOpKind::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/ptr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/ptr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::visit::walk_block`, `syntax::visit::walk_expr`, `syntax::visit::walk_pat`, `syntax::visit::Visitor`, `syntax::ast::LitKind`, `syntax::codemap::Span`, `syntax::codemap::Spanned`, `syntax::ast::LitKind`, `syntax::ptr::P`, `syntax::ext::quote::rt::Span`, `syntax::ast::*`, `syntax::codemap::Spanned`, `syntax::ast::BinOpKind::*`, `syntax::ast::BinOpKind::*`, `syntax::ast::NodeId`, `syntax::codemap::Span` [INFO] [stdout] --> src/non_expressive_names.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::attr; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 6 | use syntax::visit::{walk_block, walk_expr, walk_pat, Visitor}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/open_options.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::codemap::{Span, Spanned}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_unimplemented.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use syntax::ext::quote::rt::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/precedence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | use syntax::ast::BinOpKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | use syntax::ast::BinOpKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ptr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/question_mark.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/ranges.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::RangeLimits; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/ranges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/reference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::ast::{Expr, ExprKind, UnOp}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/regex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::{LitKind, NodeId, StrStyle}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/regex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::{BytePos, Span}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::ptr::P`, `syntax::ast::RangeLimits`, `syntax::codemap::Spanned`, `syntax::ast::Expr`, `syntax::ast::ExprKind`, `syntax::ast::UnOp`, `regex_syntax`, `syntax::ast::LitKind`, `syntax::ast::NodeId`, `syntax::ast::StrStyle`, `syntax::codemap::BytePos`, `syntax::codemap::Span` [INFO] [stdout] --> src/ptr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax_pos::MultiSpan; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/question_mark.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ptr::P; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ranges.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::RangeLimits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/reference.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::ast::{Expr, ExprKind, UnOp}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/regex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex_syntax; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use syntax::ast::{LitKind, NodeId, StrStyle}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] 6 | use syntax::codemap::{BytePos, Span}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/returns.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/returns.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::visit::FnKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/shadow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/strings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/strings.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span`, `syntax::visit::FnKind`, `syntax::codemap::Span`, `syntax::codemap::Spanned`, `syntax::ast::LitKind` [INFO] [stdout] --> src/returns.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 3 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::visit::FnKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/shadow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/strings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax` [INFO] [stdout] --> src/suspicious_trait_impl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_target` [INFO] [stdout] --> src/trivially_copy_pass_by_ref.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rustc_target` [INFO] [stdout] --> src/trivially_copy_pass_by_ref.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rustc_target::abi::LayoutOf; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/trivially_copy_pass_by_ref.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `rustc_target::spec::abi::Abi`, `rustc_target::abi::LayoutOf`, `syntax::ast::NodeId` [INFO] [stdout] --> src/transmute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] | [INFO] [stdout] ::: src/trivially_copy_pass_by_ref.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rustc_target::spec::abi::Abi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use rustc_target::abi::LayoutOf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_pos` [INFO] [stdout] --> src/trivially_copy_pass_by_ref.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use syntax::ast::{FloatTy, IntTy, UintTy}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax_pos` [INFO] [stdout] --> src/types.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | use syntax_pos::hygiene::CompilerDesugaringKind; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:957:21 [INFO] [stdout] | [INFO] [stdout] 957 | use syntax::ast::{LitIntType, LitKind}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:1290:13 [INFO] [stdout] | [INFO] [stdout] 1290 | use syntax::ast::{LitKind, UintTy}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/types.rs:1564:9 [INFO] [stdout] | [INFO] [stdout] 1564 | use syntax::ast::{IntTy, UintTy}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rustc_typeck`, `syntax::ast::FloatTy`, `syntax::ast::IntTy`, `syntax::ast::UintTy`, `syntax::codemap::Span`, `syntax::errors::DiagnosticBuilder`, `syntax_pos::hygiene::CompilerDesugaringKind`, `syntax::ast::LitIntType`, `syntax::ast::LitKind`, `syntax::ast::LitKind`, `syntax::ast::UintTy`, `syntax::ast::IntTy`, `syntax::ast::UintTy` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rustc_typeck::hir_ty_to_ty; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rustc_typeck` [INFO] [stdout] ... [INFO] [stdout] 12 | use syntax::ast::{FloatTy, IntTy, UintTy}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 13 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use syntax::errors::DiagnosticBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | use syntax_pos::hygiene::CompilerDesugaringKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 957 | use syntax::ast::{LitIntType, LitKind}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1290 | use syntax::ast::{LitKind, UintTy}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1564 | use syntax::ast::{IntTy, UintTy}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unicode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::{LitKind, NodeId}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unicode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unsafe_removed_from_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unsafe_removed_from_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unsafe_removed_from_name.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax_pos`, `syntax::ast::LitKind`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::ast::*`, `syntax::codemap::Span`, `syntax::symbol::LocalInternedString` [INFO] [stdout] --> src/types.rs:1747:13 [INFO] [stdout] | [INFO] [stdout] 1747 | use syntax_pos::BytePos; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] | [INFO] [stdout] ::: src/unicode.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::ast::{LitKind, NodeId}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unsafe_removed_from_name.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unused_label.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unused_label.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unwrap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/unwrap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/use_self.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax_pos` [INFO] [stdout] --> src/use_self.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax_pos::symbol::keywords::SelfType; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/write.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::codemap::Span`, `syntax::symbol::LocalInternedString`, `syntax::ast::NodeId`, `syntax::codemap::Span`, `syntax::ast::NodeId`, `syntax_pos::symbol::keywords::SelfType`, `syntax::codemap::Span`, `syntax::ast::LitKind` [INFO] [stdout] --> src/unused_label.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 6 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unwrap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/use_self.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::NodeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use syntax_pos::symbol::keywords::SelfType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::codemap::Span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use syntax::ast::LitKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syntax` [INFO] [stdout] --> src/write.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syntax`, `syntax::symbol::LocalInternedString` [INFO] [stdout] --> src/write.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syntax::ptr; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `syntax` [INFO] [stdout] 7 | use syntax::symbol::LocalInternedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syntax_pos` [INFO] [stdout] --> src/write.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use syntax_pos::Span; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `syntax_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/consts.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `span_bug` in this scope [INFO] [stdout] --> src/consts.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | _ => span_bug!(e.span, "typeck error"), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/inspector.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / declare_clippy_lint! { [INFO] [stdout] 28 | | pub DEEP_CODE_INSPECTION, [INFO] [stdout] 29 | | internal_warn, [INFO] [stdout] 30 | | "helper to dump info about code" [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/utils/inspector.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | lint_array!(DEEP_CODE_INSPECTION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/internal_lints.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub CLIPPY_LINTS_INTERNAL, [INFO] [stdout] 20 | | internal, [INFO] [stdout] 21 | | "various things that will negatively affect your clippy experience" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/internal_lints.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / declare_clippy_lint! { [INFO] [stdout] 49 | | pub LINT_WITHOUT_LINT_PASS, [INFO] [stdout] 50 | | internal, [INFO] [stdout] 51 | | "declaring a lint without associating it in a LintPass" [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/utils/internal_lints.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | lint_array!(CLIPPY_LINTS_INTERNAL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/utils/internal_lints.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | lint_array!(LINT_WITHOUT_LINT_PASS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils/author.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub LINT_AUTHOR, [INFO] [stdout] 47 | | internal_warn, [INFO] [stdout] 48 | | "helper for writing lints" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/utils/author.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | lint_array!(LINT_AUTHOR) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/approx_const.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / declare_clippy_lint! { [INFO] [stdout] 30 | | pub APPROX_CONSTANT, [INFO] [stdout] 31 | | correctness, [INFO] [stdout] 32 | | "the approximate of a known float constant (in `std::fXX::consts`)" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/approx_const.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | lint_array!(APPROX_CONSTANT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arithmetic.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub INTEGER_ARITHMETIC, [INFO] [stdout] 20 | | restriction, [INFO] [stdout] 21 | | "any integer arithmetic statement" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/arithmetic.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub FLOAT_ARITHMETIC, [INFO] [stdout] 37 | | restriction, [INFO] [stdout] 38 | | "any floating-point arithmetic statement" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/arithmetic.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | lint_array!(INTEGER_ARITHMETIC, FLOAT_ARITHMETIC) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assign_ops.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub ASSIGN_OPS, [INFO] [stdout] 23 | | restriction, [INFO] [stdout] 24 | | "any compound assignment operation" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assign_ops.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / declare_clippy_lint! { [INFO] [stdout] 42 | | pub ASSIGN_OP_PATTERN, [INFO] [stdout] 43 | | style, [INFO] [stdout] 44 | | "assigning the result of an operation on a variable to that same variable" [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assign_ops.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / declare_clippy_lint! { [INFO] [stdout] 62 | | pub MISREFACTORED_ASSIGN_OP, [INFO] [stdout] 63 | | complexity, [INFO] [stdout] 64 | | "having a variable on both sides of an assign op" [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/assign_ops.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | lint_array!(ASSIGN_OPS, ASSIGN_OP_PATTERN, MISREFACTORED_ASSIGN_OP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/attrs.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub INLINE_ALWAYS, [INFO] [stdout] 37 | | pedantic, [INFO] [stdout] 38 | | "use of `#[inline(always)]`" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/attrs.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / declare_clippy_lint! { [INFO] [stdout] 60 | | pub USELESS_ATTRIBUTE, [INFO] [stdout] 61 | | correctness, [INFO] [stdout] 62 | | "use of lint attributes on `extern crate` items" [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/attrs.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / declare_clippy_lint! { [INFO] [stdout] 79 | | pub DEPRECATED_SEMVER, [INFO] [stdout] 80 | | correctness, [INFO] [stdout] 81 | | "use of `#[deprecated(since = \"x\")]` where x is not semver" [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/attrs.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / declare_clippy_lint! { [INFO] [stdout] 114 | | pub EMPTY_LINE_AFTER_OUTER_ATTR, [INFO] [stdout] 115 | | nursery, [INFO] [stdout] 116 | | "empty line after outer attribute" [INFO] [stdout] 117 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/attrs.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bit_mask.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / declare_clippy_lint! { [INFO] [stdout] 40 | | pub BAD_BIT_MASK, [INFO] [stdout] 41 | | correctness, [INFO] [stdout] 42 | | "expressions of the form `_ & mask == select` that will only ever return `true` or `false`" [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bit_mask.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / declare_clippy_lint! { [INFO] [stdout] 68 | | pub INEFFECTIVE_BIT_MASK, [INFO] [stdout] 69 | | correctness, [INFO] [stdout] 70 | | "expressions where a bit mask will be rendered useless by a comparison, e.g. `(x | 1) > 2`" [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bit_mask.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / declare_clippy_lint! { [INFO] [stdout] 86 | | pub VERBOSE_BIT_MASK, [INFO] [stdout] 87 | | style, [INFO] [stdout] 88 | | "expressions where a bit mask is less readable than the corresponding method call" [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/bit_mask.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | lint_array!(BAD_BIT_MASK, INEFFECTIVE_BIT_MASK, VERBOSE_BIT_MASK) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/blacklisted_name.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / declare_clippy_lint! { [INFO] [stdout] 18 | | pub BLACKLISTED_NAME, [INFO] [stdout] 19 | | style, [INFO] [stdout] 20 | | "usage of a blacklisted/placeholder name" [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/blacklisted_name.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | lint_array!(BLACKLISTED_NAME) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/block_in_if_condition.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub BLOCK_IN_IF_CONDITION_EXPR, [INFO] [stdout] 20 | | style, [INFO] [stdout] 21 | | "braces that can be eliminated in conditions, e.g. `if { true } ...`" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/block_in_if_condition.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub BLOCK_IN_IF_CONDITION_STMT, [INFO] [stdout] 39 | | style, [INFO] [stdout] 40 | | "complex blocks in conditions, e.g. `if { let x = true; x } ...`" [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/block_in_if_condition.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | lint_array!(BLOCK_IN_IF_CONDITION_EXPR, BLOCK_IN_IF_CONDITION_STMT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/booleans.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub NONMINIMAL_BOOL, [INFO] [stdout] 25 | | complexity, [INFO] [stdout] 26 | | "boolean expressions that can be written more concisely" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/booleans.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / declare_clippy_lint! { [INFO] [stdout] 42 | | pub LOGIC_BUG, [INFO] [stdout] 43 | | correctness, [INFO] [stdout] 44 | | "boolean expressions that contain terminals which can be eliminated" [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/booleans.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | lint_array!(NONMINIMAL_BOOL, LOGIC_BUG) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bytecount.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub NAIVE_BYTECOUNT, [INFO] [stdout] 25 | | perf, [INFO] [stdout] 26 | | "use of naive `.filter(|&x| x == y).count()` to count byte values" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/bytecount.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(NAIVE_BYTECOUNT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/collapsible_if.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / declare_clippy_lint! { [INFO] [stdout] 66 | | pub COLLAPSIBLE_IF, [INFO] [stdout] 67 | | style, [INFO] [stdout] 68 | | "`if`s that can be collapsed (e.g. `if x { if y { ... } }` and `else { if x { ... } }`)" [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/collapsible_if.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | lint_array!(COLLAPSIBLE_IF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/const_static_lifetime.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub CONST_STATIC_LIFETIME, [INFO] [stdout] 23 | | style, [INFO] [stdout] 24 | | "Using explicit `'static` lifetime for constants when elision rules would allow omitting them." [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/const_static_lifetime.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | lint_array!(CONST_STATIC_LIFETIME) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/copies.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / declare_clippy_lint! { [INFO] [stdout] 37 | | pub IFS_SAME_COND, [INFO] [stdout] 38 | | correctness, [INFO] [stdout] 39 | | "consecutive `ifs` with the same condition" [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/copies.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / declare_clippy_lint! { [INFO] [stdout] 58 | | pub IF_SAME_THEN_ELSE, [INFO] [stdout] 59 | | correctness, [INFO] [stdout] 60 | | "if with the same *then* and *else* blocks" [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/copies.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / declare_clippy_lint! { [INFO] [stdout] 99 | | pub MATCH_SAME_ARMS, [INFO] [stdout] 100 | | pedantic, [INFO] [stdout] 101 | | "`match` with identical arm bodies" [INFO] [stdout] 102 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/copies.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | lint_array![IFS_SAME_COND, IF_SAME_THEN_ELSE, MATCH_SAME_ARMS] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cyclomatic_complexity.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / declare_clippy_lint! { [INFO] [stdout] 23 | | pub CYCLOMATIC_COMPLEXITY, [INFO] [stdout] 24 | | complexity, [INFO] [stdout] 25 | | "functions that should be split up into multiple functions" [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/cyclomatic_complexity.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | lint_array!(CYCLOMATIC_COMPLEXITY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/default_trait_access.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub DEFAULT_TRAIT_ACCESS, [INFO] [stdout] 25 | | pedantic, [INFO] [stdout] 26 | | "checks for literal calls to Default::default()" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/default_trait_access.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(DEFAULT_TRAIT_ACCESS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/derive.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / declare_clippy_lint! { [INFO] [stdout] 32 | | pub DERIVE_HASH_XOR_EQ, [INFO] [stdout] 33 | | correctness, [INFO] [stdout] 34 | | "deriving `Hash` but implementing `PartialEq` explicitly" [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/derive.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / declare_clippy_lint! { [INFO] [stdout] 58 | | pub EXPL_IMPL_CLONE_ON_COPY, [INFO] [stdout] 59 | | pedantic, [INFO] [stdout] 60 | | "implementing `Clone` explicitly on `Copy` types" [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/derive.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | lint_array!(EXPL_IMPL_CLONE_ON_COPY, DERIVE_HASH_XOR_EQ) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/doc.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / declare_clippy_lint! { [INFO] [stdout] 29 | | pub DOC_MARKDOWN, [INFO] [stdout] 30 | | pedantic, [INFO] [stdout] 31 | | "presence of `_`, `::` or camel-case outside backticks in documentation" [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/doc.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | lint_array![DOC_MARKDOWN] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/double_comparison.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / declare_clippy_lint! { [INFO] [stdout] 27 | | pub DOUBLE_COMPARISONS, [INFO] [stdout] 28 | | complexity, [INFO] [stdout] 29 | | "unnecessary double comparisons that can be simplified" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/double_comparison.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | lint_array!(DOUBLE_COMPARISONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/double_parens.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / declare_clippy_lint! { [INFO] [stdout] 18 | | pub DOUBLE_PARENS, [INFO] [stdout] 19 | | complexity, [INFO] [stdout] 20 | | "Warn on unnecessary double parentheses" [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/double_parens.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | lint_array!(DOUBLE_PARENS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drop_forget_ref.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub DROP_REF, [INFO] [stdout] 25 | | correctness, [INFO] [stdout] 26 | | "calls to `std::mem::drop` with a reference instead of an owned value" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drop_forget_ref.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / declare_clippy_lint! { [INFO] [stdout] 45 | | pub FORGET_REF, [INFO] [stdout] 46 | | correctness, [INFO] [stdout] 47 | | "calls to `std::mem::forget` with a reference instead of an owned value" [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drop_forget_ref.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / declare_clippy_lint! { [INFO] [stdout] 66 | | pub DROP_COPY, [INFO] [stdout] 67 | | correctness, [INFO] [stdout] 68 | | "calls to `std::mem::drop` with a value that implements Copy" [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/drop_forget_ref.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / declare_clippy_lint! { [INFO] [stdout] 93 | | pub FORGET_COPY, [INFO] [stdout] 94 | | correctness, [INFO] [stdout] 95 | | "calls to `std::mem::forget` with a value that implements Copy" [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/drop_forget_ref.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | lint_array!(DROP_REF, FORGET_REF, DROP_COPY, FORGET_COPY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/duration_subsec.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub DURATION_SUBSEC, [INFO] [stdout] 25 | | complexity, [INFO] [stdout] 26 | | "checks for calculation of subsecond microseconds or milliseconds" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/duration_subsec.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(DURATION_SUBSEC) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/else_if_without_else.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub ELSE_IF_WITHOUT_ELSE, [INFO] [stdout] 37 | | restriction, [INFO] [stdout] 38 | | "if expression with an `else if`, but without a final `else` branch" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/else_if_without_else.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | lint_array!(ELSE_IF_WITHOUT_ELSE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/empty_enum.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub EMPTY_ENUM, [INFO] [stdout] 21 | | pedantic, [INFO] [stdout] 22 | | "enum with no variants" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/empty_enum.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(EMPTY_ENUM) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/entry.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / declare_clippy_lint! { [INFO] [stdout] 28 | | pub MAP_ENTRY, [INFO] [stdout] 29 | | perf, [INFO] [stdout] 30 | | "use of `contains_key` followed by `insert` on a `HashMap` or `BTreeMap`" [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/entry.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | lint_array!(MAP_ENTRY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_clike.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / declare_clippy_lint! { [INFO] [stdout] 31 | | pub ENUM_CLIKE_UNPORTABLE_VARIANT, [INFO] [stdout] 32 | | correctness, [INFO] [stdout] 33 | | "C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`" [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/enum_clike.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | lint_array!(ENUM_CLIKE_UNPORTABLE_VARIANT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_glob_use.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / declare_clippy_lint! { [INFO] [stdout] 23 | | pub ENUM_GLOB_USE, [INFO] [stdout] 24 | | pedantic, [INFO] [stdout] 25 | | "use items that import all variants of an enum" [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/enum_glob_use.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(ENUM_GLOB_USE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_variants.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / declare_clippy_lint! { [INFO] [stdout] 27 | | pub ENUM_VARIANT_NAMES, [INFO] [stdout] 28 | | style, [INFO] [stdout] 29 | | "enums where all variants share a prefix/postfix" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_variants.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / declare_clippy_lint! { [INFO] [stdout] 49 | | pub PUB_ENUM_VARIANT_NAMES, [INFO] [stdout] 50 | | pedantic, [INFO] [stdout] 51 | | "enums where all variants share a prefix/postfix" [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_variants.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / declare_clippy_lint! { [INFO] [stdout] 68 | | pub STUTTER, [INFO] [stdout] 69 | | pedantic, [INFO] [stdout] 70 | | "type names prefixed/postfixed with their containing module's name" [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/enum_variants.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / declare_clippy_lint! { [INFO] [stdout] 98 | | pub MODULE_INCEPTION, [INFO] [stdout] 99 | | style, [INFO] [stdout] 100 | | "modules that have the same name as their parent module" [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/enum_variants.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | lint_array!(ENUM_VARIANT_NAMES, PUB_ENUM_VARIANT_NAMES, STUTTER, MODULE_INCEPTION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/eq_op.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / declare_clippy_lint! { [INFO] [stdout] 21 | | pub EQ_OP, [INFO] [stdout] 22 | | correctness, [INFO] [stdout] 23 | | "equal operands on both sides of a comparison or bitwise combination (e.g. `x == x`)" [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/eq_op.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / declare_clippy_lint! { [INFO] [stdout] 39 | | pub OP_REF, [INFO] [stdout] 40 | | style, [INFO] [stdout] 41 | | "taking a reference to satisfy the type constraints on `==`" [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/eq_op.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | lint_array!(EQ_OP, OP_REF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/erasing_op.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub ERASING_OP, [INFO] [stdout] 21 | | correctness, [INFO] [stdout] 22 | | "using erasing operations, e.g. `x * 0` or `y & 0`" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/erasing_op.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(ERASING_OP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/escape.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub BOXED_LOCAL, [INFO] [stdout] 37 | | perf, [INFO] [stdout] 38 | | "using `Box` where unnecessary" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/escape.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | lint_array!(BOXED_LOCAL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/eta_reduction.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub REDUNDANT_CLOSURE, [INFO] [stdout] 27 | | style, [INFO] [stdout] 28 | | "redundant closures, i.e. `|a| foo(a)` (which can be written as just `foo`)" [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/eta_reduction.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | lint_array!(REDUNDANT_CLOSURE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/eval_order_dependence.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / declare_clippy_lint! { [INFO] [stdout] 25 | | pub EVAL_ORDER_DEPENDENCE, [INFO] [stdout] 26 | | complexity, [INFO] [stdout] 27 | | "whether a variable read occurs before a write depends on sub-expression evaluation order" [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/eval_order_dependence.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / declare_clippy_lint! { [INFO] [stdout] 47 | | pub DIVERGING_SUB_EXPRESSION, [INFO] [stdout] 48 | | complexity, [INFO] [stdout] 49 | | "whether an expression contains a diverging sub expression" [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/eval_order_dependence.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | lint_array!(EVAL_ORDER_DEPENDENCE, DIVERGING_SUB_EXPRESSION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/excessive_precision.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / declare_clippy_lint! { [INFO] [stdout] 30 | | pub EXCESSIVE_PRECISION, [INFO] [stdout] 31 | | style, [INFO] [stdout] 32 | | "excessive precision for float literal" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/excessive_precision.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | lint_array!(EXCESSIVE_PRECISION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/explicit_write.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub EXPLICIT_WRITE, [INFO] [stdout] 20 | | complexity, [INFO] [stdout] 21 | | "using the `write!()` family of functions instead of the `print!()` family \ [INFO] [stdout] 22 | | of functions, when using the latter would work" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/explicit_write.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(EXPLICIT_WRITE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/fallible_impl_from.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub FALLIBLE_IMPL_FROM, [INFO] [stdout] 25 | | nursery, [INFO] [stdout] 26 | | "Warn on impls of `From<..>` that contain `panic!()` or `unwrap()`" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/fallible_impl_from.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | lint_array!(FALLIBLE_IMPL_FROM) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/format.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub USELESS_FORMAT, [INFO] [stdout] 27 | | complexity, [INFO] [stdout] 28 | | "useless use of `format!`" [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/format.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | lint_array![USELESS_FORMAT] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/formatting.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub SUSPICIOUS_ASSIGNMENT_FORMATTING, [INFO] [stdout] 20 | | style, [INFO] [stdout] 21 | | "suspicious formatting of `*=`, `-=` or `!=`" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/formatting.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / declare_clippy_lint! { [INFO] [stdout] 45 | | pub SUSPICIOUS_ELSE_FORMATTING, [INFO] [stdout] 46 | | style, [INFO] [stdout] 47 | | "suspicious formatting of `else if`" [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/formatting.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / declare_clippy_lint! { [INFO] [stdout] 65 | | pub POSSIBLE_MISSING_COMMA, [INFO] [stdout] 66 | | correctness, [INFO] [stdout] 67 | | "possible missing comma in array" [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/formatting.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub TOO_MANY_ARGUMENTS, [INFO] [stdout] 27 | | complexity, [INFO] [stdout] 28 | | "functions with too many arguments" [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/functions.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / declare_clippy_lint! { [INFO] [stdout] 52 | | pub NOT_UNSAFE_PTR_ARG_DEREF, [INFO] [stdout] 53 | | correctness, [INFO] [stdout] 54 | | "public functions dereferencing raw pointer arguments but not marked `unsafe`" [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/functions.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | lint_array!(TOO_MANY_ARGUMENTS, NOT_UNSAFE_PTR_ARG_DEREF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/identity_conversion.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub IDENTITY_CONVERSION, [INFO] [stdout] 20 | | complexity, [INFO] [stdout] 21 | | "using always-identical `Into`/`From` conversions" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/identity_conversion.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | lint_array!(IDENTITY_CONVERSION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/identity_op.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub IDENTITY_OP, [INFO] [stdout] 21 | | complexity, [INFO] [stdout] 22 | | "using identity operations, e.g. `x + 0` or `y / 1`" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/identity_op.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(IDENTITY_OP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/if_let_redundant_pattern_matching.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / declare_clippy_lint! { [INFO] [stdout] 32 | | pub IF_LET_REDUNDANT_PATTERN_MATCHING, [INFO] [stdout] 33 | | style, [INFO] [stdout] 34 | | "use the proper utility function avoiding an `if let`" [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/if_let_redundant_pattern_matching.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | lint_array!(IF_LET_REDUNDANT_PATTERN_MATCHING) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/if_not_else.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / declare_clippy_lint! { [INFO] [stdout] 35 | | pub IF_NOT_ELSE, [INFO] [stdout] 36 | | pedantic, [INFO] [stdout] 37 | | "`if` branches that could be swapped so no negation operation is necessary on the condition" [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/if_not_else.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | lint_array!(IF_NOT_ELSE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/indexing_slicing.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / declare_clippy_lint! { [INFO] [stdout] 32 | | pub OUT_OF_BOUNDS_INDEXING, [INFO] [stdout] 33 | | correctness, [INFO] [stdout] 34 | | "out of bounds constant indexing" [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/indexing_slicing.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / declare_clippy_lint! { [INFO] [stdout] 81 | | pub INDEXING_SLICING, [INFO] [stdout] 82 | | pedantic, [INFO] [stdout] 83 | | "indexing/slicing usage" [INFO] [stdout] 84 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/indexing_slicing.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | lint_array!(INDEXING_SLICING, OUT_OF_BOUNDS_INDEXING) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/infallible_destructuring_match.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / declare_clippy_lint! { [INFO] [stdout] 35 | | pub INFALLIBLE_DESTRUCTURING_MATCH, [INFO] [stdout] 36 | | style, [INFO] [stdout] 37 | | "a match statement with a single infallible arm instead of a `let`" [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/infallible_destructuring_match.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | lint_array!(INFALLIBLE_DESTRUCTURING_MATCH) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/infinite_iter.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / declare_clippy_lint! { [INFO] [stdout] 17 | | pub INFINITE_ITER, [INFO] [stdout] 18 | | correctness, [INFO] [stdout] 19 | | "infinite iteration" [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/infinite_iter.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / declare_clippy_lint! { [INFO] [stdout] 35 | | pub MAYBE_INFINITE_ITER, [INFO] [stdout] 36 | | pedantic, [INFO] [stdout] 37 | | "possible infinite iteration" [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/infinite_iter.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | lint_array!(INFINITE_ITER, MAYBE_INFINITE_ITER) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/inherent_impl.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub MULTIPLE_INHERENT_IMPL, [INFO] [stdout] 37 | | restriction, [INFO] [stdout] 38 | | "Multiple inherent impl that could be grouped" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/inherent_impl.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | lint_array!(MULTIPLE_INHERENT_IMPL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/inline_fn_without_body.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub INLINE_FN_WITHOUT_BODY, [INFO] [stdout] 25 | | correctness, [INFO] [stdout] 26 | | "use of `#[inline]` on trait methods without bodies" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/inline_fn_without_body.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(INLINE_FN_WITHOUT_BODY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/int_plus_one.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub INT_PLUS_ONE, [INFO] [stdout] 27 | | complexity, [INFO] [stdout] 28 | | "instead of using x >= y + 1, use x > y" [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/int_plus_one.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | lint_array!(INT_PLUS_ONE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/invalid_ref.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / declare_clippy_lint! { [INFO] [stdout] 17 | | pub INVALID_REF, [INFO] [stdout] 18 | | correctness, [INFO] [stdout] 19 | | "creation of invalid reference" [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/invalid_ref.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | lint_array!(INVALID_REF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/items_after_statements.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / declare_clippy_lint! { [INFO] [stdout] 30 | | pub ITEMS_AFTER_STATEMENTS, [INFO] [stdout] 31 | | pedantic, [INFO] [stdout] 32 | | "blocks where an item comes after a statement" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/items_after_statements.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | lint_array!(ITEMS_AFTER_STATEMENTS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/large_enum_variant.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / declare_clippy_lint! { [INFO] [stdout] 25 | | pub LARGE_ENUM_VARIANT, [INFO] [stdout] 26 | | perf, [INFO] [stdout] 27 | | "large size difference between variants on an enum" [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/large_enum_variant.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | lint_array!(LARGE_ENUM_VARIANT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/len_zero.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub LEN_ZERO, [INFO] [stdout] 27 | | style, [INFO] [stdout] 28 | | "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` \ [INFO] [stdout] 29 | | could be used instead" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/len_zero.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / declare_clippy_lint! { [INFO] [stdout] 50 | | pub LEN_WITHOUT_IS_EMPTY, [INFO] [stdout] 51 | | style, [INFO] [stdout] 52 | | "traits or impls with a public `len` method but no corresponding `is_empty` method" [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/len_zero.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/let_if_seq.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / declare_clippy_lint! { [INFO] [stdout] 48 | | pub USELESS_LET_IF_SEQ, [INFO] [stdout] 49 | | style, [INFO] [stdout] 50 | | "unidiomatic `let mut` declaration followed by initialization in `if`" [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/let_if_seq.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | lint_array!(USELESS_LET_IF_SEQ) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lifetimes.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub NEEDLESS_LIFETIMES, [INFO] [stdout] 27 | | complexity, [INFO] [stdout] 28 | | "using explicit lifetimes for references in function arguments when elision rules \ [INFO] [stdout] 29 | | would allow omitting them" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lifetimes.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub EXTRA_UNUSED_LIFETIMES, [INFO] [stdout] 47 | | complexity, [INFO] [stdout] 48 | | "unused lifetimes in function definitions" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/lifetimes.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | lint_array!(NEEDLESS_LIFETIMES, EXTRA_UNUSED_LIFETIMES) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/literal_representation.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub UNREADABLE_LITERAL, [INFO] [stdout] 23 | | style, [INFO] [stdout] 24 | | "long integer literal without underscores" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/literal_representation.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / declare_clippy_lint! { [INFO] [stdout] 41 | | pub INCONSISTENT_DIGIT_GROUPING, [INFO] [stdout] 42 | | style, [INFO] [stdout] 43 | | "integer literals with digits grouped inconsistently" [INFO] [stdout] 44 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/literal_representation.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / declare_clippy_lint! { [INFO] [stdout] 60 | | pub LARGE_DIGIT_GROUPS, [INFO] [stdout] 61 | | style, [INFO] [stdout] 62 | | "grouping digits into groups that are too large" [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/literal_representation.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / declare_clippy_lint! { [INFO] [stdout] 78 | | pub DECIMAL_LITERAL_REPRESENTATION, [INFO] [stdout] 79 | | restriction, [INFO] [stdout] 80 | | "using decimal representation when hexadecimal would be better" [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/literal_representation.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/literal_representation.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | lint_array!(DECIMAL_LITERAL_REPRESENTATION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / declare_clippy_lint! { [INFO] [stdout] 43 | | pub MANUAL_MEMCPY, [INFO] [stdout] 44 | | perf, [INFO] [stdout] 45 | | "manually copying items between slices" [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / declare_clippy_lint! { [INFO] [stdout] 63 | | pub NEEDLESS_RANGE_LOOP, [INFO] [stdout] 64 | | style, [INFO] [stdout] 65 | | "for-looping over a range of indices where an iterator over items would do" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / declare_clippy_lint! { [INFO] [stdout] 82 | | pub EXPLICIT_ITER_LOOP, [INFO] [stdout] 83 | | style, [INFO] [stdout] 84 | | "for-looping over `_.iter()` or `_.iter_mut()` when `&_` or `&mut _` would do" [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / declare_clippy_lint! { [INFO] [stdout] 100 | | pub EXPLICIT_INTO_ITER_LOOP, [INFO] [stdout] 101 | | style, [INFO] [stdout] 102 | | "for-looping over `_.into_iter()` when `_` would do" [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / declare_clippy_lint! { [INFO] [stdout] 121 | | pub ITER_NEXT_LOOP, [INFO] [stdout] 122 | | correctness, [INFO] [stdout] 123 | | "for-looping over `_.next()` which is probably not intended" [INFO] [stdout] 124 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / declare_clippy_lint! { [INFO] [stdout] 143 | | pub FOR_LOOP_OVER_OPTION, [INFO] [stdout] 144 | | correctness, [INFO] [stdout] 145 | | "for-looping over an `Option`, which is more clearly expressed as an `if let`" [INFO] [stdout] 146 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / declare_clippy_lint! { [INFO] [stdout] 165 | | pub FOR_LOOP_OVER_RESULT, [INFO] [stdout] 166 | | correctness, [INFO] [stdout] 167 | | "for-looping over a `Result`, which is more clearly expressed as an `if let`" [INFO] [stdout] 168 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / declare_clippy_lint! { [INFO] [stdout] 193 | | pub WHILE_LET_LOOP, [INFO] [stdout] 194 | | complexity, [INFO] [stdout] 195 | | "`loop { if let { ... } else break }`, which can be written as a `while let` loop" [INFO] [stdout] 196 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | / declare_clippy_lint! { [INFO] [stdout] 211 | | pub UNUSED_COLLECT, [INFO] [stdout] 212 | | perf, [INFO] [stdout] 213 | | "`collect()`ing an iterator without using the result; this is usually better \ [INFO] [stdout] 214 | | written as a for loop" [INFO] [stdout] 215 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / declare_clippy_lint! { [INFO] [stdout] 234 | | pub REVERSE_RANGE_LOOP, [INFO] [stdout] 235 | | correctness, [INFO] [stdout] 236 | | "iteration over an empty range, such as `10..0` or `5..5`" [INFO] [stdout] 237 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | / declare_clippy_lint! { [INFO] [stdout] 254 | | pub EXPLICIT_COUNTER_LOOP, [INFO] [stdout] 255 | | complexity, [INFO] [stdout] 256 | | "for-looping with an explicit counter when `_.enumerate()` would do" [INFO] [stdout] 257 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / declare_clippy_lint! { [INFO] [stdout] 272 | | pub EMPTY_LOOP, [INFO] [stdout] 273 | | style, [INFO] [stdout] 274 | | "empty `loop {}`, which should block or sleep" [INFO] [stdout] 275 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | / declare_clippy_lint! { [INFO] [stdout] 289 | | pub WHILE_LET_ON_ITERATOR, [INFO] [stdout] 290 | | style, [INFO] [stdout] 291 | | "using a while-let loop instead of a for loop on an iterator" [INFO] [stdout] 292 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | / declare_clippy_lint! { [INFO] [stdout] 313 | | pub FOR_KV_MAP, [INFO] [stdout] 314 | | style, [INFO] [stdout] 315 | | "looping on a map using `iter` when `keys` or `values` would do" [INFO] [stdout] 316 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | / declare_clippy_lint! { [INFO] [stdout] 331 | | pub NEVER_LOOP, [INFO] [stdout] 332 | | correctness, [INFO] [stdout] 333 | | "any loop that will always `break` or `return`" [INFO] [stdout] 334 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:350:1 [INFO] [stdout] | [INFO] [stdout] 350 | / declare_clippy_lint! { [INFO] [stdout] 351 | | pub MUT_RANGE_BOUND, [INFO] [stdout] 352 | | complexity, [INFO] [stdout] 353 | | "for loop over a range where one of the bounds is a mutable variable" [INFO] [stdout] 354 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/loops.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | / declare_clippy_lint! { [INFO] [stdout] 374 | | pub WHILE_IMMUTABLE_CONDITION, [INFO] [stdout] 375 | | correctness, [INFO] [stdout] 376 | | "variables used within while expression are not mutated in the body" [INFO] [stdout] 377 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/loops.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map_clone.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub MAP_CLONE, [INFO] [stdout] 23 | | style, [INFO] [stdout] 24 | | "using `.map(|x| x.clone())` to clone an iterator or option's contents" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/map_clone.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | lint_array!(MAP_CLONE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map_unit_fn.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / declare_clippy_lint! { [INFO] [stdout] 40 | | pub OPTION_MAP_UNIT_FN, [INFO] [stdout] 41 | | complexity, [INFO] [stdout] 42 | | "using `option.map(f)`, where f is a function or closure that returns ()" [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map_unit_fn.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / declare_clippy_lint! { [INFO] [stdout] 73 | | pub RESULT_MAP_UNIT_FN, [INFO] [stdout] 74 | | complexity, [INFO] [stdout] 75 | | "using `result.map(f)`, where f is a function or closure that returns ()" [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/map_unit_fn.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | lint_array!(OPTION_MAP_UNIT_FN, RESULT_MAP_UNIT_FN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / declare_clippy_lint! { [INFO] [stdout] 29 | | pub SINGLE_MATCH, [INFO] [stdout] 30 | | style, [INFO] [stdout] 31 | | "a match statement with a single nontrivial arm (i.e. where the other arm \ [INFO] [stdout] 32 | | is `_ => {}`) instead of `if let`" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / declare_clippy_lint! { [INFO] [stdout] 50 | | pub SINGLE_MATCH_ELSE, [INFO] [stdout] 51 | | pedantic, [INFO] [stdout] 52 | | "a match statement with a two arms where the second arm's pattern is a wildcard \ [INFO] [stdout] 53 | | instead of `if let`" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / declare_clippy_lint! { [INFO] [stdout] 74 | | pub MATCH_REF_PATS, [INFO] [stdout] 75 | | style, [INFO] [stdout] 76 | | "a match or `if let` with all arms prefixed with `&` instead of deref-ing the match expression" [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / declare_clippy_lint! { [INFO] [stdout] 95 | | pub MATCH_BOOL, [INFO] [stdout] 96 | | style, [INFO] [stdout] 97 | | "a match on a boolean expression instead of an `if..else` block" [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / declare_clippy_lint! { [INFO] [stdout] 117 | | pub MATCH_OVERLAPPING_ARM, [INFO] [stdout] 118 | | style, [INFO] [stdout] 119 | | "a match with overlapping arms" [INFO] [stdout] 120 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / declare_clippy_lint! { [INFO] [stdout] 139 | | pub MATCH_WILD_ERR_ARM, [INFO] [stdout] 140 | | style, [INFO] [stdout] 141 | | "a match with `Err(_)` arm and take drastic actions" [INFO] [stdout] 142 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/matches.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / declare_clippy_lint! { [INFO] [stdout] 160 | | pub MATCH_AS_REF, [INFO] [stdout] 161 | | complexity, [INFO] [stdout] 162 | | "a match on an Option value instead of using `as_ref()` or `as_mut`" [INFO] [stdout] 163 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/matches.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mem_forget.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / declare_clippy_lint! { [INFO] [stdout] 18 | | pub MEM_FORGET, [INFO] [stdout] 19 | | restriction, [INFO] [stdout] 20 | | "`mem::forget` usage on `Drop` types, likely to cause memory leaks" [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/mem_forget.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | lint_array![MEM_FORGET] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / declare_clippy_lint! { [INFO] [stdout] 35 | | pub OPTION_UNWRAP_USED, [INFO] [stdout] 36 | | restriction, [INFO] [stdout] 37 | | "using `Option.unwrap()`, which should at least get a better message using `expect()`" [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / declare_clippy_lint! { [INFO] [stdout] 57 | | pub RESULT_UNWRAP_USED, [INFO] [stdout] 58 | | restriction, [INFO] [stdout] 59 | | "using `Result.unwrap()`, which might be better handled" [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / declare_clippy_lint! { [INFO] [stdout] 83 | | pub SHOULD_IMPLEMENT_TRAIT, [INFO] [stdout] 84 | | style, [INFO] [stdout] 85 | | "defining a method that should be implementing a std trait" [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / declare_clippy_lint! { [INFO] [stdout] 112 | | pub WRONG_SELF_CONVENTION, [INFO] [stdout] 113 | | style, [INFO] [stdout] 114 | | "defining a method named with an established prefix (like \"into_\") that takes \ [INFO] [stdout] 115 | | `self` with the wrong convention" [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / declare_clippy_lint! { [INFO] [stdout] 134 | | pub WRONG_PUB_SELF_CONVENTION, [INFO] [stdout] 135 | | restriction, [INFO] [stdout] 136 | | "defining a public method named with an established prefix (like \"into_\") that takes \ [INFO] [stdout] 137 | | `self` with the wrong convention" [INFO] [stdout] 138 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / declare_clippy_lint! { [INFO] [stdout] 152 | | pub OK_EXPECT, [INFO] [stdout] 153 | | style, [INFO] [stdout] 154 | | "using `ok().expect()`, which gives worse error messages than \ [INFO] [stdout] 155 | | calling `expect` directly on the Result" [INFO] [stdout] 156 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | / declare_clippy_lint! { [INFO] [stdout] 170 | | pub OPTION_MAP_UNWRAP_OR, [INFO] [stdout] 171 | | pedantic, [INFO] [stdout] 172 | | "using `Option.map(f).unwrap_or(a)`, which is more succinctly expressed as \ [INFO] [stdout] 173 | | `map_or(a, f)`" [INFO] [stdout] 174 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | / declare_clippy_lint! { [INFO] [stdout] 188 | | pub OPTION_MAP_UNWRAP_OR_ELSE, [INFO] [stdout] 189 | | pedantic, [INFO] [stdout] 190 | | "using `Option.map(f).unwrap_or_else(g)`, which is more succinctly expressed as \ [INFO] [stdout] 191 | | `map_or_else(g, f)`" [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / declare_clippy_lint! { [INFO] [stdout] 206 | | pub RESULT_MAP_UNWRAP_OR_ELSE, [INFO] [stdout] 207 | | pedantic, [INFO] [stdout] 208 | | "using `Result.map(f).unwrap_or_else(g)`, which is more succinctly expressed as \ [INFO] [stdout] 209 | | `.ok().map_or_else(g, f)`" [INFO] [stdout] 210 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | / declare_clippy_lint! { [INFO] [stdout] 224 | | pub OPTION_MAP_OR_NONE, [INFO] [stdout] 225 | | style, [INFO] [stdout] 226 | | "using `Option.map_or(None, f)`, which is more succinctly expressed as \ [INFO] [stdout] 227 | | `and_then(f)`" [INFO] [stdout] 228 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / declare_clippy_lint! { [INFO] [stdout] 242 | | pub FILTER_NEXT, [INFO] [stdout] 243 | | complexity, [INFO] [stdout] 244 | | "using `filter(p).next()`, which is more succinctly expressed as `.find(p)`" [INFO] [stdout] 245 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | / declare_clippy_lint! { [INFO] [stdout] 261 | | pub FILTER_MAP, [INFO] [stdout] 262 | | pedantic, [INFO] [stdout] 263 | | "using combinations of `filter`, `map`, `filter_map` and `flat_map` which can \ [INFO] [stdout] 264 | | usually be written as a single method call" [INFO] [stdout] 265 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / declare_clippy_lint! { [INFO] [stdout] 280 | | pub SEARCH_IS_SOME, [INFO] [stdout] 281 | | complexity, [INFO] [stdout] 282 | | "using an iterator search followed by `is_some()`, which is more succinctly \ [INFO] [stdout] 283 | | expressed as a call to `any()`" [INFO] [stdout] 284 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | / declare_clippy_lint! { [INFO] [stdout] 299 | | pub CHARS_NEXT_CMP, [INFO] [stdout] 300 | | complexity, [INFO] [stdout] 301 | | "using `.chars().next()` to check if a string starts with a char" [INFO] [stdout] 302 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 326 | / declare_clippy_lint! { [INFO] [stdout] 327 | | pub OR_FUN_CALL, [INFO] [stdout] 328 | | perf, [INFO] [stdout] 329 | | "using any `*or` method with a function call, which suggests `*or_else`" [INFO] [stdout] 330 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 356 | / declare_clippy_lint! { [INFO] [stdout] 357 | | pub EXPECT_FUN_CALL, [INFO] [stdout] 358 | | perf, [INFO] [stdout] 359 | | "using any `expect` method with a function call" [INFO] [stdout] 360 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | / declare_clippy_lint! { [INFO] [stdout] 374 | | pub CLONE_ON_COPY, [INFO] [stdout] 375 | | complexity, [INFO] [stdout] 376 | | "using `clone` on a `Copy` type" [INFO] [stdout] 377 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / declare_clippy_lint! { [INFO] [stdout] 392 | | pub CLONE_ON_REF_PTR, [INFO] [stdout] 393 | | restriction, [INFO] [stdout] 394 | | "using 'clone' on a ref-counted pointer" [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | / declare_clippy_lint! { [INFO] [stdout] 414 | | pub CLONE_DOUBLE_REF, [INFO] [stdout] 415 | | correctness, [INFO] [stdout] 416 | | "using `clone` on `&&T`" [INFO] [stdout] 417 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | / declare_clippy_lint! { [INFO] [stdout] 434 | | pub NEW_RET_NO_SELF, [INFO] [stdout] 435 | | style, [INFO] [stdout] 436 | | "not returning `Self` in a `new` method" [INFO] [stdout] 437 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / declare_clippy_lint! { [INFO] [stdout] 450 | | pub SINGLE_CHAR_PATTERN, [INFO] [stdout] 451 | | perf, [INFO] [stdout] 452 | | "using a single-character str where a char could be used, e.g. \ [INFO] [stdout] 453 | | `_.split(\"x\")`" [INFO] [stdout] 454 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | / declare_clippy_lint! { [INFO] [stdout] 479 | | pub TEMPORARY_CSTRING_AS_PTR, [INFO] [stdout] 480 | | correctness, [INFO] [stdout] 481 | | "getting the inner pointer of a temporary `CString`" [INFO] [stdout] 482 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:504:1 [INFO] [stdout] | [INFO] [stdout] 504 | / declare_clippy_lint! { [INFO] [stdout] 505 | | pub ITER_NTH, [INFO] [stdout] 506 | | perf, [INFO] [stdout] 507 | | "using `.iter().nth()` on a standard library type with O(1) element access" [INFO] [stdout] 508 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:528:1 [INFO] [stdout] | [INFO] [stdout] 528 | / declare_clippy_lint! { [INFO] [stdout] 529 | | pub ITER_SKIP_NEXT, [INFO] [stdout] 530 | | style, [INFO] [stdout] 531 | | "using `.skip(x).next()` on an iterator" [INFO] [stdout] 532 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 554 | / declare_clippy_lint! { [INFO] [stdout] 555 | | pub GET_UNWRAP, [INFO] [stdout] 556 | | style, [INFO] [stdout] 557 | | "using `.get().unwrap()` or `.get_mut().unwrap()` when using `[]` would work instead" [INFO] [stdout] 558 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:583:1 [INFO] [stdout] | [INFO] [stdout] 583 | / declare_clippy_lint! { [INFO] [stdout] 584 | | pub STRING_EXTEND_CHARS, [INFO] [stdout] 585 | | style, [INFO] [stdout] 586 | | "using `x.extend(s.chars())` where s is a `&str` or `String`" [INFO] [stdout] 587 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | / declare_clippy_lint! { [INFO] [stdout] 607 | | pub ITER_CLONED_COLLECT, [INFO] [stdout] 608 | | style, [INFO] [stdout] 609 | | "using `.cloned().collect()` on slice to create a `Vec`" [INFO] [stdout] 610 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | / declare_clippy_lint! { [INFO] [stdout] 625 | | pub CHARS_LAST_CMP, [INFO] [stdout] 626 | | style, [INFO] [stdout] 627 | | "using `.chars().last()` or `.chars().next_back()` to check if a string ends with a char" [INFO] [stdout] 628 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | / declare_clippy_lint! { [INFO] [stdout] 648 | | pub USELESS_ASREF, [INFO] [stdout] 649 | | complexity, [INFO] [stdout] 650 | | "using `as_ref` where the types before and after the call are the same" [INFO] [stdout] 651 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/methods.rs:670:1 [INFO] [stdout] | [INFO] [stdout] 670 | / declare_clippy_lint! { [INFO] [stdout] 671 | | pub UNNECESSARY_FOLD, [INFO] [stdout] 672 | | style, [INFO] [stdout] 673 | | "using `fold` when a more succinct alternative exists" [INFO] [stdout] 674 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/methods.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/minmax.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub MIN_MAX, [INFO] [stdout] 23 | | correctness, [INFO] [stdout] 24 | | "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/minmax.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(MIN_MAX) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / declare_clippy_lint! { [INFO] [stdout] 35 | | pub TOPLEVEL_REF_ARG, [INFO] [stdout] 36 | | style, [INFO] [stdout] 37 | | "an entire binding declared as `ref`, in a function argument or a `let` statement" [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / declare_clippy_lint! { [INFO] [stdout] 52 | | pub CMP_NAN, [INFO] [stdout] 53 | | correctness, [INFO] [stdout] 54 | | "comparisons to NAN, which will always return false, probably not intended" [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / declare_clippy_lint! { [INFO] [stdout] 74 | | pub FLOAT_CMP, [INFO] [stdout] 75 | | correctness, [INFO] [stdout] 76 | | "using `==` or `!=` on float values instead of comparing difference with an epsilon" [INFO] [stdout] 77 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / declare_clippy_lint! { [INFO] [stdout] 93 | | pub CMP_OWNED, [INFO] [stdout] 94 | | perf, [INFO] [stdout] 95 | | "creating owned instances for comparing with others, e.g. `x == \"foo\".to_string()`" [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / declare_clippy_lint! { [INFO] [stdout] 112 | | pub MODULO_ONE, [INFO] [stdout] 113 | | correctness, [INFO] [stdout] 114 | | "taking a number modulo 1, which always returns 0" [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / declare_clippy_lint! { [INFO] [stdout] 132 | | pub REDUNDANT_PATTERN, [INFO] [stdout] 133 | | style, [INFO] [stdout] 134 | | "using `name @ _` in a pattern" [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / declare_clippy_lint! { [INFO] [stdout] 154 | | pub USED_UNDERSCORE_BINDING, [INFO] [stdout] 155 | | pedantic, [INFO] [stdout] 156 | | "using a binding which is prefixed with an underscore" [INFO] [stdout] 157 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / declare_clippy_lint! { [INFO] [stdout] 174 | | pub SHORT_CIRCUIT_STATEMENT, [INFO] [stdout] 175 | | complexity, [INFO] [stdout] 176 | | "using a short circuit boolean condition as a statement" [INFO] [stdout] 177 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / declare_clippy_lint! { [INFO] [stdout] 192 | | pub ZERO_PTR, [INFO] [stdout] 193 | | style, [INFO] [stdout] 194 | | "using 0 as *{const, mut} T" [INFO] [stdout] 195 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / declare_clippy_lint! { [INFO] [stdout] 214 | | pub FLOAT_CMP_CONST, [INFO] [stdout] 215 | | restriction, [INFO] [stdout] 216 | | "using `==` or `!=` on float constants instead of comparing difference with an epsilon" [INFO] [stdout] 217 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/misc.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / declare_clippy_lint! { [INFO] [stdout] 21 | | pub UNNEEDED_FIELD_PATTERN, [INFO] [stdout] 22 | | style, [INFO] [stdout] 23 | | "struct fields bound to a wildcard instead of using `..`" [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub DUPLICATE_UNDERSCORE_ARGUMENT, [INFO] [stdout] 39 | | style, [INFO] [stdout] 40 | | "function arguments having names which only differ by an underscore" [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / declare_clippy_lint! { [INFO] [stdout] 56 | | pub REDUNDANT_CLOSURE_CALL, [INFO] [stdout] 57 | | complexity, [INFO] [stdout] 58 | | "throwaway closures called in the expression they are defined" [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / declare_clippy_lint! { [INFO] [stdout] 73 | | pub DOUBLE_NEG, [INFO] [stdout] 74 | | style, [INFO] [stdout] 75 | | "`--x`, which is a double negation of `x` and not a pre-decrement as in C/C++" [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / declare_clippy_lint! { [INFO] [stdout] 90 | | pub MIXED_CASE_HEX_LITERALS, [INFO] [stdout] 91 | | style, [INFO] [stdout] 92 | | "hex literals whose letter digits are not consistently upper- or lowercased" [INFO] [stdout] 93 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / declare_clippy_lint! { [INFO] [stdout] 107 | | pub UNSEPARATED_LITERAL_SUFFIX, [INFO] [stdout] 108 | | pedantic, [INFO] [stdout] 109 | | "literals whose suffix is not separated by an underscore" [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | / declare_clippy_lint! { [INFO] [stdout] 145 | | pub ZERO_PREFIXED_LITERAL, [INFO] [stdout] 146 | | complexity, [INFO] [stdout] 147 | | "integer literals starting with `0`" [INFO] [stdout] 148 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/misc_early.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / declare_clippy_lint! { [INFO] [stdout] 166 | | pub BUILTIN_TYPE_SHADOW, [INFO] [stdout] 167 | | style, [INFO] [stdout] 168 | | "shadowing a builtin type" [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/misc_early.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/missing_doc.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / declare_clippy_lint! { [INFO] [stdout] 39 | | pub MISSING_DOCS_IN_PRIVATE_ITEMS, [INFO] [stdout] 40 | | restriction, [INFO] [stdout] 41 | | "detects missing documentation for public and private members" [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/missing_doc.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | lint_array![MISSING_DOCS_IN_PRIVATE_ITEMS] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/missing_inline.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / declare_clippy_lint! { [INFO] [stdout] 63 | | pub MISSING_INLINE_IN_PUBLIC_ITEMS, [INFO] [stdout] 64 | | restriction, [INFO] [stdout] 65 | | "detects missing #[inline] attribute for public callables (functions, trait methods, methods...)" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/missing_inline.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | lint_array![MISSING_INLINE_IN_PUBLIC_ITEMS] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/multiple_crate_versions.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / declare_clippy_lint! { [INFO] [stdout] 27 | | pub MULTIPLE_CRATE_VERSIONS, [INFO] [stdout] 28 | | cargo, [INFO] [stdout] 29 | | "multiple versions of the same crate being used" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/multiple_crate_versions.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | lint_array!(MULTIPLE_CRATE_VERSIONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mut_mut.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub MUT_MUT, [INFO] [stdout] 21 | | pedantic, [INFO] [stdout] 22 | | "usage of double-mut refs, e.g. `&mut &mut ...`" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/mut_mut.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(MUT_MUT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mut_reference.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub UNNECESSARY_MUT_PASSED, [INFO] [stdout] 21 | | style, [INFO] [stdout] 22 | | "an argument passed as a mutable reference although the callee only demands an \ [INFO] [stdout] 23 | | immutable reference" [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/mut_reference.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(UNNECESSARY_MUT_PASSED) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mutex_atomic.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / declare_clippy_lint! { [INFO] [stdout] 26 | | pub MUTEX_ATOMIC, [INFO] [stdout] 27 | | perf, [INFO] [stdout] 28 | | "using a mutex where an atomic value could be used instead" [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mutex_atomic.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub MUTEX_INTEGER, [INFO] [stdout] 47 | | nursery, [INFO] [stdout] 48 | | "using a mutex for an integer type" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/mutex_atomic.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | lint_array!(MUTEX_ATOMIC, MUTEX_INTEGER) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_bool.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / declare_clippy_lint! { [INFO] [stdout] 28 | | pub NEEDLESS_BOOL, [INFO] [stdout] 29 | | complexity, [INFO] [stdout] 30 | | "if-statements with plain booleans in the then- and else-clause, e.g. \ [INFO] [stdout] 31 | | `if p { true } else { false }`" [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_bool.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub BOOL_COMPARISON, [INFO] [stdout] 47 | | complexity, [INFO] [stdout] 48 | | "comparing a variable to a boolean, e.g. `if x == true`" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_bool.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | lint_array!(NEEDLESS_BOOL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_bool.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | lint_array!(BOOL_COMPARISON) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_borrow.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub NEEDLESS_BORROW, [INFO] [stdout] 25 | | nursery, [INFO] [stdout] 26 | | "taking a reference that is going to be automatically dereferenced" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_borrow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(NEEDLESS_BORROW) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_borrowed_ref.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub NEEDLESS_BORROWED_REFERENCE, [INFO] [stdout] 47 | | complexity, [INFO] [stdout] 48 | | "taking a needless borrowed reference" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_borrowed_ref.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | lint_array!(NEEDLESS_BORROWED_REFERENCE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_continue.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / declare_clippy_lint! { [INFO] [stdout] 97 | | pub NEEDLESS_CONTINUE, [INFO] [stdout] 98 | | pedantic, [INFO] [stdout] 99 | | "`continue` statements that can be replaced by a rearrangement of code" [INFO] [stdout] 100 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_continue.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | lint_array!(NEEDLESS_CONTINUE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_pass_by_value.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / declare_clippy_lint! { [INFO] [stdout] 43 | | pub NEEDLESS_PASS_BY_VALUE, [INFO] [stdout] 44 | | style, [INFO] [stdout] 45 | | "functions taking arguments by value, but not consuming them in its body" [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_pass_by_value.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | lint_array![NEEDLESS_PASS_BY_VALUE] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/needless_update.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub NEEDLESS_UPDATE, [INFO] [stdout] 20 | | complexity, [INFO] [stdout] 21 | | "using `Foo { ..base }` when there are no missing fields" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/needless_update.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | lint_array!(NEEDLESS_UPDATE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/neg_cmp_op_on_partial_ord.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub NEG_CMP_OP_ON_PARTIAL_ORD, [INFO] [stdout] 39 | | complexity, [INFO] [stdout] 40 | | "The use of negated comparision operators on partially orded types may produce confusing code." [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/neg_cmp_op_on_partial_ord.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | lint_array!(NEG_CMP_OP_ON_PARTIAL_ORD) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/neg_multiply.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub NEG_MULTIPLY, [INFO] [stdout] 20 | | style, [INFO] [stdout] 21 | | "multiplying integers with -1" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/neg_multiply.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | lint_array!(NEG_MULTIPLY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/new_without_default.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub NEW_WITHOUT_DEFAULT, [INFO] [stdout] 47 | | style, [INFO] [stdout] 48 | | "`fn new() -> Self` method without `Default` implementation" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/new_without_default.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / declare_clippy_lint! { [INFO] [stdout] 76 | | pub NEW_WITHOUT_DEFAULT_DERIVE, [INFO] [stdout] 77 | | style, [INFO] [stdout] 78 | | "`fn new() -> Self` without `#[derive]`able `Default` implementation" [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/new_without_default.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | lint_array!(NEW_WITHOUT_DEFAULT, NEW_WITHOUT_DEFAULT_DERIVE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/no_effect.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub NO_EFFECT, [INFO] [stdout] 21 | | complexity, [INFO] [stdout] 22 | | "statements with no effect" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/no_effect.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub UNNECESSARY_OPERATION, [INFO] [stdout] 39 | | complexity, [INFO] [stdout] 40 | | "outer expressions with no effect" [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/no_effect.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | lint_array!(NO_EFFECT, UNNECESSARY_OPERATION) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/non_copy_const.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / declare_clippy_lint! { [INFO] [stdout] 47 | | pub DECLARE_INTERIOR_MUTABLE_CONST, [INFO] [stdout] 48 | | correctness, [INFO] [stdout] 49 | | "declaring const with interior mutability" [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/non_copy_const.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / declare_clippy_lint! { [INFO] [stdout] 79 | | pub BORROW_INTERIOR_MUTABLE_CONST, [INFO] [stdout] 80 | | correctness, [INFO] [stdout] 81 | | "referencing const with interior mutability" [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/non_copy_const.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | lint_array!(DECLARE_INTERIOR_MUTABLE_CONST, BORROW_INTERIOR_MUTABLE_CONST) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/non_expressive_names.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub SIMILAR_NAMES, [INFO] [stdout] 23 | | pedantic, [INFO] [stdout] 24 | | "similarly named items and bindings" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/non_expressive_names.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / declare_clippy_lint! { [INFO] [stdout] 40 | | pub MANY_SINGLE_CHAR_NAMES, [INFO] [stdout] 41 | | style, [INFO] [stdout] 42 | | "too many single character bindings" [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/non_expressive_names.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / declare_clippy_lint! { [INFO] [stdout] 60 | | pub JUST_UNDERSCORES_AND_DIGITS, [INFO] [stdout] 61 | | style, [INFO] [stdout] 62 | | "unclear name" [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/non_expressive_names.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | lint_array!(SIMILAR_NAMES, MANY_SINGLE_CHAR_NAMES, JUST_UNDERSCORES_AND_DIGITS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ok_if_let.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / declare_clippy_lint! { [INFO] [stdout] 30 | | pub IF_LET_SOME_RESULT, [INFO] [stdout] 31 | | style, [INFO] [stdout] 32 | | "usage of `ok()` in `if let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/ok_if_let.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | lint_array!(IF_LET_SOME_RESULT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/open_options.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub NONSENSICAL_OPEN_OPTIONS, [INFO] [stdout] 21 | | correctness, [INFO] [stdout] 22 | | "nonsensical combination of options for opening a file" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/open_options.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(NONSENSICAL_OPEN_OPTIONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/overflow_check_conditional.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / declare_clippy_lint! { [INFO] [stdout] 17 | | pub OVERFLOW_CHECK_CONDITIONAL, [INFO] [stdout] 18 | | complexity, [INFO] [stdout] 19 | | "overflow checks inspired by C which are likely to panic" [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/overflow_check_conditional.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | lint_array!(OVERFLOW_CHECK_CONDITIONAL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_unimplemented.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub PANIC_PARAMS, [INFO] [stdout] 23 | | style, [INFO] [stdout] 24 | | "missing parameters in `panic!` calls" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_unimplemented.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub UNIMPLEMENTED, [INFO] [stdout] 39 | | restriction, [INFO] [stdout] 40 | | "`unimplemented!` should not be present in production code" [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/panic_unimplemented.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | lint_array!(PANIC_PARAMS, UNIMPLEMENTED) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/partialeq_ne_impl.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub PARTIALEQ_NE_IMPL, [INFO] [stdout] 25 | | complexity, [INFO] [stdout] 26 | | "re-implementing `PartialEq::ne`" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/partialeq_ne_impl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(PARTIALEQ_NE_IMPL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/precedence.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub PRECEDENCE, [INFO] [stdout] 25 | | complexity, [INFO] [stdout] 26 | | "operations where precedence may be unclear" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/precedence.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | lint_array!(PRECEDENCE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ptr.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub PTR_ARG, [INFO] [stdout] 47 | | style, [INFO] [stdout] 48 | | "fn arguments of the type `&Vec<...>` or `&String`, suggesting to use `&[...]` or `&str` \ [INFO] [stdout] 49 | | instead, respectively" [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ptr.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / declare_clippy_lint! { [INFO] [stdout] 65 | | pub CMP_NULL, [INFO] [stdout] 66 | | style, [INFO] [stdout] 67 | | "comparing a pointer to a null pointer, suggesting to use `.is_null()` instead." [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ptr.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / declare_clippy_lint! { [INFO] [stdout] 90 | | pub MUT_FROM_REF, [INFO] [stdout] 91 | | correctness, [INFO] [stdout] 92 | | "fns that create mutable refs from immutable ref args" [INFO] [stdout] 93 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/ptr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | lint_array!(PTR_ARG, CMP_NULL, MUT_FROM_REF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/question_mark.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / declare_clippy_lint!{ [INFO] [stdout] 29 | | pub QUESTION_MARK, [INFO] [stdout] 30 | | style, [INFO] [stdout] 31 | | "checks for expressions that could be replaced by the question mark operator" [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/question_mark.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | lint_array!(QUESTION_MARK) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ranges.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub ITERATOR_STEP_BY_ZERO, [INFO] [stdout] 23 | | correctness, [INFO] [stdout] 24 | | "using `Iterator::step_by(0)`, which produces an infinite iterator" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ranges.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / declare_clippy_lint! { [INFO] [stdout] 39 | | pub RANGE_ZIP_WITH_LEN, [INFO] [stdout] 40 | | complexity, [INFO] [stdout] 41 | | "zipping iterator with a range when `enumerate()` would do" [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ranges.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / declare_clippy_lint! { [INFO] [stdout] 57 | | pub RANGE_PLUS_ONE, [INFO] [stdout] 58 | | nursery, [INFO] [stdout] 59 | | "`x..(y+1)` reads better as `x..=y`" [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ranges.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / declare_clippy_lint! { [INFO] [stdout] 75 | | pub RANGE_MINUS_ONE, [INFO] [stdout] 76 | | style, [INFO] [stdout] 77 | | "`x..=(y-1)` reads better as `x..y`" [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/ranges.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | lint_array!(ITERATOR_STEP_BY_ZERO, RANGE_ZIP_WITH_LEN, RANGE_PLUS_ONE, RANGE_MINUS_ONE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/redundant_field_names.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub REDUNDANT_FIELD_NAMES, [INFO] [stdout] 25 | | style, [INFO] [stdout] 26 | | "checks for fields in struct literals where shorthands could be used" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/redundant_field_names.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | lint_array!(REDUNDANT_FIELD_NAMES) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/reference.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub DEREF_ADDROF, [INFO] [stdout] 20 | | complexity, [INFO] [stdout] 21 | | "use of `*&` or `*&mut` in an expression" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/reference.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | lint_array!(DEREF_ADDROF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/reference.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / declare_clippy_lint! { [INFO] [stdout] 71 | | pub REF_IN_DEREF, [INFO] [stdout] 72 | | complexity, [INFO] [stdout] 73 | | "Use of reference in auto dereference expression." [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/reference.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | lint_array!(REF_IN_DEREF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/regex.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / declare_clippy_lint! { [INFO] [stdout] 23 | | pub INVALID_REGEX, [INFO] [stdout] 24 | | correctness, [INFO] [stdout] 25 | | "invalid regular expressions" [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/regex.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / declare_clippy_lint! { [INFO] [stdout] 42 | | pub TRIVIAL_REGEX, [INFO] [stdout] 43 | | style, [INFO] [stdout] 44 | | "trivial regular expressions" [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/regex.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / declare_clippy_lint! { [INFO] [stdout] 61 | | pub REGEX_MACRO, [INFO] [stdout] 62 | | style, [INFO] [stdout] 63 | | "use of `regex!(_)` instead of `Regex::new(_)`" [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/regex.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | lint_array!(INVALID_REGEX, REGEX_MACRO, TRIVIAL_REGEX) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/replace_consts.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub REPLACE_CONSTS, [INFO] [stdout] 25 | | pedantic, [INFO] [stdout] 26 | | "Lint usages of standard library `const`s that could be replaced by `const fn`s" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/replace_consts.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | lint_array!(REPLACE_CONSTS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/returns.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / declare_clippy_lint! { [INFO] [stdout] 21 | | pub NEEDLESS_RETURN, [INFO] [stdout] 22 | | style, [INFO] [stdout] 23 | | "using a return statement like `return expr;` where an expression would suffice" [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/returns.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / declare_clippy_lint! { [INFO] [stdout] 39 | | pub LET_AND_RETURN, [INFO] [stdout] 40 | | style, [INFO] [stdout] 41 | | "creating a let-binding and then immediately returning it like `let x = expr; x` at \ [INFO] [stdout] 42 | | the end of a block" [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/returns.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | 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] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/serde_api.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / declare_clippy_lint! { [INFO] [stdout] 15 | | pub SERDE_API_MISUSE, [INFO] [stdout] 16 | | correctness, [INFO] [stdout] 17 | | "various things that will negatively affect your serde experience" [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/serde_api.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | lint_array!(SERDE_API_MISUSE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/shadow.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub SHADOW_SAME, [INFO] [stdout] 25 | | restriction, [INFO] [stdout] 26 | | "rebinding a name to itself, e.g. `let mut x = &mut x`" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/shadow.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / declare_clippy_lint! { [INFO] [stdout] 45 | | pub SHADOW_REUSE, [INFO] [stdout] 46 | | restriction, [INFO] [stdout] 47 | | "rebinding a name to an expression that re-uses the original value, e.g. \ [INFO] [stdout] 48 | | `let x = x + 1`" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/shadow.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / declare_clippy_lint! { [INFO] [stdout] 68 | | pub SHADOW_UNRELATED, [INFO] [stdout] 69 | | restriction, [INFO] [stdout] 70 | | "rebinding a name without even using the original value" [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/shadow.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | 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] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/strings.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / declare_clippy_lint! { [INFO] [stdout] 23 | | pub STRING_ADD_ASSIGN, [INFO] [stdout] 24 | | pedantic, [INFO] [stdout] 25 | | "using `x = x + ..` where x is a `String` instead of `push_str()`" [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/strings.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / declare_clippy_lint! { [INFO] [stdout] 51 | | pub STRING_ADD, [INFO] [stdout] 52 | | restriction, [INFO] [stdout] 53 | | "using `x + ..` where x is a `String` instead of `push_str()`" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/strings.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / declare_clippy_lint! { [INFO] [stdout] 69 | | pub STRING_LIT_AS_BYTES, [INFO] [stdout] 70 | | style, [INFO] [stdout] 71 | | "calling `as_bytes` on a string literal instead of using a byte string literal" [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/strings.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | lint_array!(STRING_ADD, STRING_ADD_ASSIGN) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/strings.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | lint_array!(STRING_LIT_AS_BYTES) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/suspicious_trait_impl.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / declare_clippy_lint! { [INFO] [stdout] 25 | | pub SUSPICIOUS_ARITHMETIC_IMPL, [INFO] [stdout] 26 | | correctness, [INFO] [stdout] 27 | | "suspicious use of operators in impl of arithmetic trait" [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/suspicious_trait_impl.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / declare_clippy_lint! { [INFO] [stdout] 46 | | pub SUSPICIOUS_OP_ASSIGN_IMPL, [INFO] [stdout] 47 | | correctness, [INFO] [stdout] 48 | | "suspicious use of operators in impl of OpAssign trait" [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/suspicious_trait_impl.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | lint_array![SUSPICIOUS_ARITHMETIC_IMPL, SUSPICIOUS_OP_ASSIGN_IMPL] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/swap.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / declare_clippy_lint! { [INFO] [stdout] 21 | | pub MANUAL_SWAP, [INFO] [stdout] 22 | | complexity, [INFO] [stdout] 23 | | "manual swap of two variables" [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/swap.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub ALMOST_SWAPPED, [INFO] [stdout] 39 | | correctness, [INFO] [stdout] 40 | | "`foo = bar; bar = foo` sequence" [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/swap.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | lint_array![MANUAL_SWAP, ALMOST_SWAPPED] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/temporary_assignment.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / declare_clippy_lint! { [INFO] [stdout] 19 | | pub TEMPORARY_ASSIGNMENT, [INFO] [stdout] 20 | | complexity, [INFO] [stdout] 21 | | "assignments to temporaries" [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/temporary_assignment.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | lint_array!(TEMPORARY_ASSIGNMENT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / declare_clippy_lint! { [INFO] [stdout] 22 | | pub WRONG_TRANSMUTE, [INFO] [stdout] 23 | | correctness, [INFO] [stdout] 24 | | "transmutes that are confusing at best, undefined behaviour at worst and always useless" [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / declare_clippy_lint! { [INFO] [stdout] 40 | | pub USELESS_TRANSMUTE, [INFO] [stdout] 41 | | complexity, [INFO] [stdout] 42 | | "transmutes that have the same to and from types or could be a cast/coercion" [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / declare_clippy_lint! { [INFO] [stdout] 58 | | pub CROSSPOINTER_TRANSMUTE, [INFO] [stdout] 59 | | complexity, [INFO] [stdout] 60 | | "transmutes that have to or from types that are a pointer to the other" [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / declare_clippy_lint! { [INFO] [stdout] 76 | | pub TRANSMUTE_PTR_TO_REF, [INFO] [stdout] 77 | | complexity, [INFO] [stdout] 78 | | "transmutes from a pointer to a reference type" [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / declare_clippy_lint! { [INFO] [stdout] 103 | | pub TRANSMUTE_INT_TO_CHAR, [INFO] [stdout] 104 | | complexity, [INFO] [stdout] 105 | | "transmutes from an integer to a `char`" [INFO] [stdout] 106 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / declare_clippy_lint! { [INFO] [stdout] 130 | | pub TRANSMUTE_BYTES_TO_STR, [INFO] [stdout] 131 | | complexity, [INFO] [stdout] 132 | | "transmutes from a `&[u8]` to a `&str`" [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / declare_clippy_lint! { [INFO] [stdout] 148 | | pub TRANSMUTE_INT_TO_BOOL, [INFO] [stdout] 149 | | complexity, [INFO] [stdout] 150 | | "transmutes from an integer to a `bool`" [INFO] [stdout] 151 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / declare_clippy_lint! { [INFO] [stdout] 166 | | pub TRANSMUTE_INT_TO_FLOAT, [INFO] [stdout] 167 | | complexity, [INFO] [stdout] 168 | | "transmutes from an integer to a float" [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/transmute.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / declare_clippy_lint! { [INFO] [stdout] 193 | | pub TRANSMUTE_PTR_TO_PTR, [INFO] [stdout] 194 | | complexity, [INFO] [stdout] 195 | | "transmutes from a pointer to a pointer / a reference to a reference" [INFO] [stdout] 196 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/transmute.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/trivially_copy_pass_by_ref.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / declare_clippy_lint! { [INFO] [stdout] 42 | | pub TRIVIALLY_COPY_PASS_BY_REF, [INFO] [stdout] 43 | | perf, [INFO] [stdout] 44 | | "functions taking small copyable arguments by reference" [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/trivially_copy_pass_by_ref.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lint_array![TRIVIALLY_COPY_PASS_BY_REF] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / declare_clippy_lint! { [INFO] [stdout] 48 | | pub BOX_VEC, [INFO] [stdout] 49 | | perf, [INFO] [stdout] 50 | | "usage of `Box>`, vector elements are already on the heap" [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / declare_clippy_lint! { [INFO] [stdout] 68 | | pub OPTION_OPTION, [INFO] [stdout] 69 | | complexity, [INFO] [stdout] 70 | | "usage of `Option>`" [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / declare_clippy_lint! { [INFO] [stdout] 103 | | pub LINKEDLIST, [INFO] [stdout] 104 | | pedantic, [INFO] [stdout] 105 | | "usage of LinkedList, usually a vector is faster, or a more specialized data \ [INFO] [stdout] 106 | | structure like a VecDeque" [INFO] [stdout] 107 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / declare_clippy_lint! { [INFO] [stdout] 127 | | pub BORROWED_BOX, [INFO] [stdout] 128 | | complexity, [INFO] [stdout] 129 | | "a borrow of a boxed type" [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | lint_array!(BOX_VEC, OPTION_OPTION, LINKEDLIST, BORROWED_BOX) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | / declare_clippy_lint! { [INFO] [stdout] 374 | | pub LET_UNIT_VALUE, [INFO] [stdout] 375 | | style, [INFO] [stdout] 376 | | "creating a let binding to a value of unit type, which usually can't be used afterwards" [INFO] [stdout] 377 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | lint_array!(LET_UNIT_VALUE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | / declare_clippy_lint! { [INFO] [stdout] 430 | | pub UNIT_CMP, [INFO] [stdout] 431 | | correctness, [INFO] [stdout] 432 | | "comparing unit values" [INFO] [stdout] 433 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | lint_array!(UNIT_CMP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | / declare_clippy_lint! { [INFO] [stdout] 485 | | pub UNIT_ARG, [INFO] [stdout] 486 | | complexity, [INFO] [stdout] 487 | | "passing unit to a function" [INFO] [stdout] 488 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | lint_array!(UNIT_ARG) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:583:1 [INFO] [stdout] | [INFO] [stdout] 583 | / declare_clippy_lint! { [INFO] [stdout] 584 | | pub CAST_PRECISION_LOSS, [INFO] [stdout] 585 | | pedantic, [INFO] [stdout] 586 | | "casts that cause loss of precision, e.g. `x as f32` where `x: u64`" [INFO] [stdout] 587 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | / declare_clippy_lint! { [INFO] [stdout] 605 | | pub CAST_SIGN_LOSS, [INFO] [stdout] 606 | | pedantic, [INFO] [stdout] 607 | | "casts from signed types to unsigned types, e.g. `x as u32` where `x: i32`" [INFO] [stdout] 608 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 624 | / declare_clippy_lint! { [INFO] [stdout] 625 | | pub CAST_POSSIBLE_TRUNCATION, [INFO] [stdout] 626 | | pedantic, [INFO] [stdout] 627 | | "casts that may cause truncation of the value, e.g. `x as u8` where `x: u32`, \ [INFO] [stdout] 628 | | or `x as i32` where `x: f32`" [INFO] [stdout] 629 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:648:1 [INFO] [stdout] | [INFO] [stdout] 648 | / declare_clippy_lint! { [INFO] [stdout] 649 | | pub CAST_POSSIBLE_WRAP, [INFO] [stdout] 650 | | pedantic, [INFO] [stdout] 651 | | "casts that may cause wrapping around the value, e.g. `x as i32` where `x: u32` \ [INFO] [stdout] 652 | | and `x > i32::MAX`" [INFO] [stdout] 653 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:677:1 [INFO] [stdout] | [INFO] [stdout] 677 | / declare_clippy_lint! { [INFO] [stdout] 678 | | pub CAST_LOSSLESS, [INFO] [stdout] 679 | | complexity, [INFO] [stdout] 680 | | "casts using `as` that are known to be lossless, e.g. `x as u64` where `x: u8`" [INFO] [stdout] 681 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:693:1 [INFO] [stdout] | [INFO] [stdout] 693 | / declare_clippy_lint! { [INFO] [stdout] 694 | | pub UNNECESSARY_CAST, [INFO] [stdout] 695 | | complexity, [INFO] [stdout] 696 | | "cast to the same type, e.g. `x as i32` where `x: i32`" [INFO] [stdout] 697 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:710:1 [INFO] [stdout] | [INFO] [stdout] 710 | / declare_clippy_lint! { [INFO] [stdout] 711 | | pub FN_TO_NUMERIC_CAST_WITH_TRUNCATION, [INFO] [stdout] 712 | | correctness, [INFO] [stdout] 713 | | "cast function pointer to the numeric type with value truncation" [INFO] [stdout] 714 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:727:1 [INFO] [stdout] | [INFO] [stdout] 727 | / declare_clippy_lint! { [INFO] [stdout] 728 | | pub FN_TO_NUMERIC_CAST, [INFO] [stdout] 729 | | style, [INFO] [stdout] 730 | | "cast function pointer to the numeric type" [INFO] [stdout] 731 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | / declare_clippy_lint! { [INFO] [stdout] 747 | | pub CAST_PTR_ALIGNMENT, [INFO] [stdout] 748 | | correctness, [INFO] [stdout] 749 | | "cast from a pointer to a more-strictly-aligned pointer" [INFO] [stdout] 750 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:1099:1 [INFO] [stdout] | [INFO] [stdout] 1099 | / declare_clippy_lint! { [INFO] [stdout] 1100 | | pub TYPE_COMPLEXITY, [INFO] [stdout] 1101 | | complexity, [INFO] [stdout] 1102 | | "usage of very complex types that might be better factored into `type` definitions" [INFO] [stdout] 1103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:1120:9 [INFO] [stdout] | [INFO] [stdout] 1120 | lint_array!(TYPE_COMPLEXITY) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:1274:1 [INFO] [stdout] | [INFO] [stdout] 1274 | / declare_clippy_lint! { [INFO] [stdout] 1275 | | pub CHAR_LIT_AS_U8, [INFO] [stdout] 1276 | | complexity, [INFO] [stdout] 1277 | | "casting a character literal to u8" [INFO] [stdout] 1278 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | lint_array!(CHAR_LIT_AS_U8) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:1329:1 [INFO] [stdout] | [INFO] [stdout] 1329 | / declare_clippy_lint! { [INFO] [stdout] 1330 | | pub ABSURD_EXTREME_COMPARISONS, [INFO] [stdout] 1331 | | correctness, [INFO] [stdout] 1332 | | "a comparison with a maximum or minimum value that is always true or false" [INFO] [stdout] 1333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:1339:9 [INFO] [stdout] | [INFO] [stdout] 1339 | lint_array!(ABSURD_EXTREME_COMPARISONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:1505:1 [INFO] [stdout] | [INFO] [stdout] 1505 | / declare_clippy_lint! { [INFO] [stdout] 1506 | | pub INVALID_UPCAST_COMPARISONS, [INFO] [stdout] 1507 | | pedantic, [INFO] [stdout] 1508 | | "a comparison involving an upcast which is always true or false" [INFO] [stdout] 1509 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:1515:9 [INFO] [stdout] | [INFO] [stdout] 1515 | lint_array!(INVALID_UPCAST_COMPARISONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:1730:1 [INFO] [stdout] | [INFO] [stdout] 1730 | / declare_clippy_lint! { [INFO] [stdout] 1731 | | pub IMPLICIT_HASHER, [INFO] [stdout] 1732 | | style, [INFO] [stdout] 1733 | | "missing generalization over different hashers" [INFO] [stdout] 1734 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/types.rs:1740:9 [INFO] [stdout] | [INFO] [stdout] 1740 | lint_array!(IMPLICIT_HASHER) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unicode.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / declare_clippy_lint! { [INFO] [stdout] 18 | | pub ZERO_WIDTH_SPACE, [INFO] [stdout] 19 | | correctness, [INFO] [stdout] 20 | | "using a zero-width space in a string literal, which is confusing" [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unicode.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / declare_clippy_lint! { [INFO] [stdout] 38 | | pub NON_ASCII_LITERAL, [INFO] [stdout] 39 | | pedantic, [INFO] [stdout] 40 | | "using any literal non-ASCII chars in a string literal instead of \ [INFO] [stdout] 41 | | using the `\\u` escape" [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unicode.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / declare_clippy_lint! { [INFO] [stdout] 56 | | pub UNICODE_NOT_NFC, [INFO] [stdout] 57 | | pedantic, [INFO] [stdout] 58 | | "using a unicode literal not in NFC normal form (see \ [INFO] [stdout] 59 | | [unicode tr15](http://www.unicode.org/reports/tr15/) for further information)" [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/unicode.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | lint_array!(ZERO_WIDTH_SPACE, NON_ASCII_LITERAL, UNICODE_NOT_NFC) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unsafe_removed_from_name.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / declare_clippy_lint! { [INFO] [stdout] 23 | | pub UNSAFE_REMOVED_FROM_NAME, [INFO] [stdout] 24 | | style, [INFO] [stdout] 25 | | "`unsafe` removed from API names on import" [INFO] [stdout] 26 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/unsafe_removed_from_name.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | lint_array!(UNSAFE_REMOVED_FROM_NAME) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | declare_lint! { pub $name, Deny, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unused_io_amount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / declare_clippy_lint! { [INFO] [stdout] 27 | | pub UNUSED_IO_AMOUNT, [INFO] [stdout] 28 | | correctness, [INFO] [stdout] 29 | | "unused written/read amount" [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/unused_io_amount.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | lint_array!(UNUSED_IO_AMOUNT) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unused_label.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / declare_clippy_lint! { [INFO] [stdout] 25 | | pub UNUSED_LABEL, [INFO] [stdout] 26 | | complexity, [INFO] [stdout] 27 | | "unused labels" [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/unused_label.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | lint_array!(UNUSED_LABEL) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unwrap.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / declare_clippy_lint! { [INFO] [stdout] 30 | | pub UNNECESSARY_UNWRAP, [INFO] [stdout] 31 | | nursery, [INFO] [stdout] 32 | | "checks for calls of unwrap[_err]() that cannot fail" [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unwrap.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / declare_clippy_lint! { [INFO] [stdout] 51 | | pub PANICKING_UNWRAP, [INFO] [stdout] 52 | | nursery, [INFO] [stdout] 53 | | "checks for calls of unwrap[_err]() that will always fail" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/unwrap.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | lint_array!(PANICKING_UNWRAP, UNNECESSARY_UNWRAP) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/use_self.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / declare_clippy_lint! { [INFO] [stdout] 36 | | pub USE_SELF, [INFO] [stdout] 37 | | pedantic, [INFO] [stdout] 38 | | "Unnecessary structure name repetition whereas `Self` is applicable" [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/use_self.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | lint_array!(USE_SELF) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/vec.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / declare_clippy_lint! { [INFO] [stdout] 20 | | pub USELESS_VEC, [INFO] [stdout] 21 | | perf, [INFO] [stdout] 22 | | "useless `vec!`" [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/vec.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | lint_array!(USELESS_VEC) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / declare_clippy_lint! { [INFO] [stdout] 24 | | pub PRINTLN_EMPTY_STRING, [INFO] [stdout] 25 | | style, [INFO] [stdout] 26 | | "using `println!(\"\")` with an empty string" [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / declare_clippy_lint! { [INFO] [stdout] 43 | | pub PRINT_WITH_NEWLINE, [INFO] [stdout] 44 | | style, [INFO] [stdout] 45 | | "using `print!()` with a format string that ends in a newline" [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / declare_clippy_lint! { [INFO] [stdout] 61 | | pub PRINT_STDOUT, [INFO] [stdout] 62 | | restriction, [INFO] [stdout] 63 | | "printing on stdout" [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | declare_lint! { pub $name, Allow, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / declare_clippy_lint! { [INFO] [stdout] 77 | | pub USE_DEBUG, [INFO] [stdout] 78 | | restriction, [INFO] [stdout] 79 | | "use of `Debug`-based formatting" [INFO] [stdout] 80 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / declare_clippy_lint! { [INFO] [stdout] 96 | | pub PRINT_LITERAL, [INFO] [stdout] 97 | | style, [INFO] [stdout] 98 | | "printing a literal with a format string" [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / declare_clippy_lint! { [INFO] [stdout] 113 | | pub WRITELN_EMPTY_STRING, [INFO] [stdout] 114 | | style, [INFO] [stdout] 115 | | "using `writeln!(\"\")` with an empty string" [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / declare_clippy_lint! { [INFO] [stdout] 132 | | pub WRITE_WITH_NEWLINE, [INFO] [stdout] 133 | | style, [INFO] [stdout] 134 | | "using `write!()` with a format string that ends in a newline" [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/write.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | / declare_clippy_lint! { [INFO] [stdout] 151 | | pub WRITE_LITERAL, [INFO] [stdout] 152 | | style, [INFO] [stdout] 153 | | "writing a literal with a format string" [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/write.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | lint_array!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | declare_lint! { pub $name, Warn, $description } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/zero_div_zero.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / declare_clippy_lint! { [INFO] [stdout] 18 | | pub ZERO_DIVIDED_BY_ZERO, [INFO] [stdout] 19 | | complexity, [INFO] [stdout] 20 | | "usage of `0.0 / 0.0` to obtain NaN instead of std::f32::NaN or std::f64::NaN" [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_clippy_lint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/zero_div_zero.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | lint_array!(ZERO_DIVIDED_BY_ZERO) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | FloatTy::F32 => FloatWidth::F32, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | FloatTy::F64 => FloatWidth::F64, [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn partial_cmp(tcx: TyCtxt, cmp_type: &ty::TypeVariants, left: &Self, right: &Self) -> Option { [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] --> src/consts.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | if let ty::TyInt(int_ty) = *cmp_type { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | LitKind::Str(ref is, _) => Constant::Str(is.to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | LitKind::Byte(b) => Constant::Int(u128::from(b)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | LitKind::ByteStr(ref s) => Constant::Binary(Rc::clone(s)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | LitKind::Char(c) => Constant::Char(c), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | LitKind::Int(n, _) => Constant::Int(n), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | LitKind::Float(ref is, _) | [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | LitKind::FloatUnsuffixed(ref is) => match ty.sty { [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ty::TyFloat(FloatTy::F32) => Constant::F32(is.as_str().parse().unwrap()), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | ty::TyFloat(FloatTy::F32) => Constant::F32(is.as_str().parse().unwrap()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | ty::TyFloat(FloatTy::F64) => Constant::F64(is.as_str().parse().unwrap()), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | ty::TyFloat(FloatTy::F64) => Constant::F64(is.as_str().parse().unwrap()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/consts.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | LitKind::Bool(b) => Constant::Bool(b), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:176:66 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn constant<'c, 'cc>(lcx: &LateContext<'c, 'cc>, tables: &'c ty::TypeckTables<'cc>, e: &Expr) -> Option<(Constant, 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] --> src/consts.rs:187:73 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn constant_simple<'c, 'cc>(lcx: &LateContext<'c, 'cc>, tables: &'c ty::TypeckTables<'cc>, e: &Expr) -> Option { [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] --> src/consts.rs:192:74 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn constant_context<'c, 'cc>(lcx: &LateContext<'c, 'cc>, tables: &'c ty::TypeckTables<'cc>) -> ConstEvalLateContext<'c, 'cc> { [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] --> src/consts.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | tables: &'a ty::TypeckTables<'tcx>, [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] --> src/consts.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | param_env: ty::ParamEnv<'tcx>, [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] --> src/consts.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | ty::TyArray(_, n) => n.assert_usize(self.tcx).expect("array length"), [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] --> src/consts.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | fn constant_not(&self, o: &Constant, ty: ty::Ty) -> Option { [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] --> src/consts.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | ty::TyInt(ity) => Some(Int(unsext(self.tcx, value as i128, ity))), [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] --> src/consts.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | ty::TyUint(ity) => Some(Int(clip(self.tcx, value, ity))), [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] --> src/consts.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | fn constant_negate(&self, o: &Constant, ty: ty::Ty) -> Option { [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] --> src/consts.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | ty::TyInt(ity) => ity, [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/consts.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | Def::Const(def_id) | Def::AssociatedConst(def_id) => { [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Def` [INFO] [stdout] --> src/consts.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | Def::Const(def_id) | Def::AssociatedConst(def_id) => { [INFO] [stdout] | ^^^ use of undeclared type `Def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/consts.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | let instance = Instance::resolve(self.tcx, self.param_env, def_id, substs)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | ty::TyInt(ity) => { [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] --> src/consts.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | ty::TyUint(_) => { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAnd` is not bound in all patterns [INFO] [stdout] --> src/consts.rs:417:58 [INFO] [stdout] | [INFO] [stdout] 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), [INFO] [stdout] | ----- variable not in all patterns ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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] --> src/consts.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiOr` is not bound in all patterns [INFO] [stdout] --> src/consts.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- variable not in all patterns [INFO] [stdout] | | [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] --> src/consts.rs:417:59 [INFO] [stdout] | [INFO] [stdout] 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:427:70 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn miri_to_const<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, result: &ty::Const<'tcx>) -> Option { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/consts.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | ConstValue::Scalar(Scalar::Bits{ bits: b, ..}) => match result.ty.sty { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> src/consts.rs:430:28 [INFO] [stdout] | [INFO] [stdout] 430 | ConstValue::Scalar(Scalar::Bits{ bits: b, ..}) => match result.ty.sty { [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | ty::TyBool => Some(Constant::Bool(b == 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] --> src/consts.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | ty::TyUint(_) | ty::TyInt(_) => Some(Constant::Int(b)), [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] --> src/consts.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | ty::TyUint(_) | ty::TyInt(_) => Some(Constant::Int(b)), [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] --> src/consts.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | ty::TyFloat(FloatTy::F32) => Some(Constant::F32(f32::from_bits(b as u32))), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | ty::TyFloat(FloatTy::F32) => Some(Constant::F32(f32::from_bits(b as u32))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | ty::TyFloat(FloatTy::F64) => Some(Constant::F64(f64::from_bits(b as u64))), [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloatTy` [INFO] [stdout] --> src/consts.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | ty::TyFloat(FloatTy::F64) => Some(Constant::F64(f64::from_bits(b as u64))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FloatTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstValue` [INFO] [stdout] --> src/consts.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | ConstValue::ScalarPair(Scalar::Ptr(ptr), Scalar::Bits { bits: n, .. }) => match result.ty.sty { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ConstValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> src/consts.rs:438:32 [INFO] [stdout] | [INFO] [stdout] 438 | ConstValue::ScalarPair(Scalar::Ptr(ptr), Scalar::Bits { bits: n, .. }) => match result.ty.sty { [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> src/consts.rs:438:50 [INFO] [stdout] | [INFO] [stdout] 438 | ConstValue::ScalarPair(Scalar::Ptr(ptr), Scalar::Bits { bits: n, .. }) => match result.ty.sty { [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/consts.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | ty::TyRef(_, tam, _) => match tam.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] --> src/consts.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | 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] --> src/utils/comparisons.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | BinOp_::BiLt => Some((Rel::Lt, lhs, rhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> src/utils/comparisons.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | BinOp_::BiLe => Some((Rel::Le, lhs, rhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> src/utils/comparisons.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | BinOp_::BiGt => Some((Rel::Lt, rhs, lhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> src/utils/comparisons.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | BinOp_::BiGe => Some((Rel::Le, rhs, lhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> src/utils/comparisons.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | BinOp_::BiEq => Some((Rel::Eq, rhs, lhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp_` [INFO] [stdout] --> src/utils/comparisons.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | BinOp_::BiNe => Some((Rel::Ne, rhs, lhs)), [INFO] [stdout] | ^^^^^^ use of undeclared type `BinOp_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/utils/hir_utils.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | (GenericArg::Lifetime(l_lt), GenericArg::Lifetime(r_lt)) => self.eq_lifetime(l_lt, r_lt), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/utils/hir_utils.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | (GenericArg::Lifetime(l_lt), GenericArg::Lifetime(r_lt)) => self.eq_lifetime(l_lt, r_lt), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/utils/hir_utils.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | (GenericArg::Type(l_ty), GenericArg::Type(r_ty)) => self.eq_ty(l_ty, r_ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/utils/hir_utils.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | (GenericArg::Type(l_ty), GenericArg::Type(r_ty)) => self.eq_ty(l_ty, r_ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | (&PatKind::Box(ref l), &PatKind::Box(ref r)) => self.eq_pat(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | (&PatKind::Box(ref l), &PatKind::Box(ref r)) => self.eq_pat(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | (&PatKind::TupleStruct(ref lp, ref la, ls), &PatKind::TupleStruct(ref rp, ref ra, rs)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | (&PatKind::TupleStruct(ref lp, ref la, ls), &PatKind::TupleStruct(ref rp, ref ra, rs)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | (&PatKind::Binding(ref lb, _, ref li, ref lp), &PatKind::Binding(ref rb, _, ref ri, ref rp)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:174:61 [INFO] [stdout] | [INFO] [stdout] 174 | (&PatKind::Binding(ref lb, _, ref li, ref lp), &PatKind::Binding(ref rb, _, ref ri, ref rp)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | (&PatKind::Path(ref l), &PatKind::Path(ref r)) => self.eq_qpath(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | (&PatKind::Path(ref l), &PatKind::Path(ref r)) => self.eq_qpath(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | (&PatKind::Lit(ref l), &PatKind::Lit(ref r)) => self.eq_expr(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | (&PatKind::Lit(ref l), &PatKind::Lit(ref r)) => self.eq_expr(l, r), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | (&PatKind::Tuple(ref l, ls), &PatKind::Tuple(ref r, rs)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | (&PatKind::Tuple(ref l, ls), &PatKind::Tuple(ref r, rs)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | (&PatKind::Range(ref ls, ref le, ref li), &PatKind::Range(ref rs, ref re, ref ri)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:182:56 [INFO] [stdout] | [INFO] [stdout] 182 | (&PatKind::Range(ref ls, ref le, ref li), &PatKind::Range(ref rs, ref re, ref ri)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | (&PatKind::Ref(ref le, ref lm), &PatKind::Ref(ref re, ref rm)) => lm == rm && self.eq_pat(le, re), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | (&PatKind::Ref(ref le, ref lm), &PatKind::Ref(ref re, ref rm)) => lm == rm && self.eq_pat(le, re), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | (&PatKind::Slice(ref ls, ref li, ref le), &PatKind::Slice(ref rs, ref ri, ref re)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:186:56 [INFO] [stdout] | [INFO] [stdout] 186 | (&PatKind::Slice(ref ls, ref li, ref le), &PatKind::Slice(ref rs, ref ri, ref re)) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | (&PatKind::Wild, &PatKind::Wild) => true, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/utils/hir_utils.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | (&PatKind::Wild, &PatKind::Wild) => true, [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | (&QPath::Resolved(ref lty, ref lpath), &QPath::Resolved(ref rty, ref rpath)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:197:53 [INFO] [stdout] | [INFO] [stdout] 197 | (&QPath::Resolved(ref lty, ref lpath), &QPath::Resolved(ref rty, ref rpath)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | (&QPath::TypeRelative(ref lty, ref lseg), &QPath::TypeRelative(ref rty, ref rseg)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:200:56 [INFO] [stdout] | [INFO] [stdout] 200 | (&QPath::TypeRelative(ref lty, ref lseg), &QPath::TypeRelative(ref rty, ref rseg)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `TyInfer` is bound more than once in the same pattern [INFO] [stdout] --> src/utils/hir_utils.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | (&TyInfer, &TyInfer) => true, [INFO] [stdout] | ^^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAdd` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [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] | | | 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] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitAnd` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [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] | | pattern doesn't bind `BiBitAnd` [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] --> src/utils/hir_utils.rs:277:36 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitOr` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [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] | | | | 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] | [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] --> src/utils/hir_utils.rs:277:61 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiBitXor` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [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] | | 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] --> src/utils/hir_utils.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiEq` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [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] | | | | 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] | [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] --> src/utils/hir_utils.rs:277:47 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiMul` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^ ----- ^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^ ^^^^^^^ pattern doesn't bind `BiMul` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `BiMul` [INFO] [stdout] | | | | | pattern doesn't bind `BiMul` [INFO] [stdout] | | | | pattern doesn't bind `BiMul` [INFO] [stdout] | | | pattern doesn't bind `BiMul` [INFO] [stdout] | | variable not in all patterns [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] --> src/utils/hir_utils.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiNe` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ ---- ^^^^^^^ pattern doesn't bind `BiNe` [INFO] [stdout] | | | | | | | [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] | [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] --> src/utils/hir_utils.rs:277:54 [INFO] [stdout] | [INFO] [stdout] 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiAnd` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [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] | [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] --> src/utils/hir_utils.rs:282:49 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiDiv` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ----- ^^^^^ ^^^^ pattern doesn't bind `BiDiv` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `BiDiv` [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] | 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] --> src/utils/hir_utils.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiOr` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [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] | [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] --> src/utils/hir_utils.rs:282:57 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiRem` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiRem` [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] | | | variable not in all patterns [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] --> src/utils/hir_utils.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShl` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiShl` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `BiShl` [INFO] [stdout] | | | | | pattern doesn't bind `BiShl` [INFO] [stdout] | | | | pattern doesn't bind `BiShl` [INFO] [stdout] | | | pattern doesn't bind `BiShl` [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] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiShr` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiShr` [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] | | 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] --> src/utils/hir_utils.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BiSub` is not bound in all patterns [INFO] [stdout] --> src/utils/hir_utils.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [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] | | 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] --> src/utils/hir_utils.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | QPath::Resolved(_, ref path) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QPath` [INFO] [stdout] --> src/utils/hir_utils.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | QPath::TypeRelative(_, ref path) => { [INFO] [stdout] | ^^^^^ use of undeclared type `QPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn hir_opt(cx: &LateContext, expr: &hir::Expr) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | hir::ExprAddrOf(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | hir::ExprBox(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | hir::ExprClosure(.., _) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | hir::ExprIf(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | hir::ExprUnary(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | hir::ExprMatch(..) => Sugg::MaybeParen(snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | hir::ExprContinue(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | hir::ExprYield(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | hir::ExprArray(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | hir::ExprBlock(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | hir::ExprBreak(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | hir::ExprCall(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | hir::ExprField(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | hir::ExprIndex(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | hir::ExprInlineAsm(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | hir::ExprLit(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | hir::ExprLoop(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | hir::ExprMethodCall(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | hir::ExprPath(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | hir::ExprRepeat(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | hir::ExprRet(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | hir::ExprStruct(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | hir::ExprTup(..) | [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | hir::ExprWhile(..) => Sugg::NonParen(snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | hir::ExprAssign(..) => Sugg::BinOp(AssocOp::Assign, snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | hir::ExprAssign(..) => Sugg::BinOp(AssocOp::Assign, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | hir::ExprAssignOp(op, ..) => Sugg::BinOp(hirbinop2assignop(op), snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | hir::ExprBinary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(higher::binop(op.node)), snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | hir::ExprBinary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(higher::binop(op.node)), snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | hir::ExprCast(..) => Sugg::BinOp(AssocOp::As, snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | hir::ExprCast(..) => Sugg::BinOp(AssocOp::As, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | hir::ExprType(..) => Sugg::BinOp(AssocOp::Colon, snippet), [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | hir::ExprType(..) => Sugg::BinOp(AssocOp::Colon, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hir` [INFO] [stdout] --> src/utils/sugg.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn hir(cx: &LateContext, expr: &hir::Expr, default: &'a str) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `hir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeLimits` [INFO] [stdout] --> src/utils/sugg.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | ast::ExprKind::Range(.., RangeLimits::HalfOpen) => Sugg::BinOp(AssocOp::DotDot, snippet), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeLimits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:128:76 [INFO] [stdout] | [INFO] [stdout] 128 | ast::ExprKind::Range(.., RangeLimits::HalfOpen) => Sugg::BinOp(AssocOp::DotDot, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeLimits` [INFO] [stdout] --> src/utils/sugg.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | ast::ExprKind::Range(.., RangeLimits::Closed) => Sugg::BinOp(AssocOp::DotDotEq, snippet), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeLimits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | ast::ExprKind::Range(.., RangeLimits::Closed) => Sugg::BinOp(AssocOp::DotDotEq, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | ast::ExprKind::Assign(..) => Sugg::BinOp(AssocOp::Assign, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:132:58 [INFO] [stdout] | [INFO] [stdout] 132 | ast::ExprKind::Binary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(op.node), snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | ast::ExprKind::Cast(..) => Sugg::BinOp(AssocOp::As, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:134:52 [INFO] [stdout] | [INFO] [stdout] 134 | ast::ExprKind::Type(..) => Sugg::BinOp(AssocOp::Colon, snippet), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | make_assoc(AssocOp::As, &self, &Sugg::NonParen(rhs.to_string().into())) [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | ast::RangeLimits::HalfOpen => make_assoc(AssocOp::DotDot, &self, end), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | ast::RangeLimits::Closed => make_assoc(AssocOp::DotDotEq, &self, end), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | matches!(*op, AssocOp::ShiftLeft | AssocOp::ShiftRight) [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:269:44 [INFO] [stdout] | [INFO] [stdout] 269 | matches!(*op, AssocOp::ShiftLeft | AssocOp::ShiftRight) [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:276:48 [INFO] [stdout] | [INFO] [stdout] 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:276:68 [INFO] [stdout] | [INFO] [stdout] 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:276:86 [INFO] [stdout] | [INFO] [stdout] 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | AssocOp::Add | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | AssocOp::BitAnd | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | AssocOp::BitOr | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | AssocOp::BitXor | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | AssocOp::Divide | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | AssocOp::Equal | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | AssocOp::Greater | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | AssocOp::GreaterEqual | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | AssocOp::LAnd | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | AssocOp::LOr | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | AssocOp::Less | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | AssocOp::LessEqual | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | AssocOp::Modulus | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | AssocOp::Multiply | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | AssocOp::NotEqual | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | AssocOp::ShiftLeft | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | AssocOp::ShiftRight | [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | AssocOp::Subtract => format!("{} {} {}", lhs, op.to_ast_binop().expect("Those are AST ops").to_string(), rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | AssocOp::Assign => format!("{} = {}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | AssocOp::ObsoleteInPlace => format!("in ({}) {}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/utils/sugg.rs:326:77 [INFO] [stdout] | [INFO] [stdout] 326 | AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | AssocOp::As => format!("{} as {}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | AssocOp::DotDot => format!("{}..{}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | AssocOp::DotDotEq => format!("{}..={}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | AssocOp::Colon => format!("{}: {}", lhs, rhs), [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/utils/sugg.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | make_assoc(AssocOp::from_ast_binop(op), lhs, rhs) [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Assign` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ ^^^^^^^^^^^ pattern doesn't bind `Assign` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `Assign` [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: `?::Assign` [INFO] [stdout] --> src/utils/sugg.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `ObsoleteInPlace` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, [INFO] [stdout] | --------------- ^^^^^^ ^^^^^^^^^^^ pattern doesn't bind `ObsoleteInPlace` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `ObsoleteInPlace` [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: `?::ObsoleteInPlace` [INFO] [stdout] --> src/utils/sugg.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Add` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | --- ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `Add` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `Add` [INFO] [stdout] | | | | | | | pattern doesn't bind `Add` [INFO] [stdout] | | | | | | pattern doesn't bind `Add` [INFO] [stdout] | | | | | pattern doesn't bind `Add` [INFO] [stdout] | | | | pattern doesn't bind `Add` [INFO] [stdout] | | | pattern doesn't bind `Add` [INFO] [stdout] | | pattern doesn't bind `Add` [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: `?::Add` [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `As` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ -- ^^^^^ pattern doesn't bind `As` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | variable not in all patterns [INFO] [stdout] | | | | | | | pattern doesn't bind `As` [INFO] [stdout] | | | | | | pattern doesn't bind `As` [INFO] [stdout] | | | | | pattern doesn't bind `As` [INFO] [stdout] | | | | pattern doesn't bind `As` [INFO] [stdout] | | | pattern doesn't bind `As` [INFO] [stdout] | | pattern doesn't bind `As` [INFO] [stdout] | pattern doesn't bind `As` [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: `?::As` [INFO] [stdout] --> src/utils/sugg.rs:367:65 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BitAnd` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ------ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitAnd` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | | | | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | | | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | | pattern doesn't bind `BitAnd` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `BitAnd` [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: `?::BitAnd` [INFO] [stdout] --> src/utils/sugg.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BitOr` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ----- ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitOr` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `BitOr` [INFO] [stdout] | | | | | | | pattern doesn't bind `BitOr` [INFO] [stdout] | | | | | | pattern doesn't bind `BitOr` [INFO] [stdout] | | | | | pattern doesn't bind `BitOr` [INFO] [stdout] | | | | pattern doesn't bind `BitOr` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `BitOr` [INFO] [stdout] | pattern doesn't bind `BitOr` [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: `?::BitOr` [INFO] [stdout] --> src/utils/sugg.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BitXor` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ------ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitXor` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `BitXor` [INFO] [stdout] | | | | | | | pattern doesn't bind `BitXor` [INFO] [stdout] | | | | | | pattern doesn't bind `BitXor` [INFO] [stdout] | | | | | pattern doesn't bind `BitXor` [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `BitXor` [INFO] [stdout] | | pattern doesn't bind `BitXor` [INFO] [stdout] | pattern doesn't bind `BitXor` [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: `?::BitXor` [INFO] [stdout] --> src/utils/sugg.rs:367:32 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Colon` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ----- variable not in all patterns [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `Colon` [INFO] [stdout] | | | | | | | pattern doesn't bind `Colon` [INFO] [stdout] | | | | | | pattern doesn't bind `Colon` [INFO] [stdout] | | | | | pattern doesn't bind `Colon` [INFO] [stdout] | | | | pattern doesn't bind `Colon` [INFO] [stdout] | | | pattern doesn't bind `Colon` [INFO] [stdout] | | pattern doesn't bind `Colon` [INFO] [stdout] | pattern doesn't bind `Colon` [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: `?::Colon` [INFO] [stdout] --> src/utils/sugg.rs:367:70 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `LAnd` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ---- ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `LAnd` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `LAnd` [INFO] [stdout] | | | | | | | pattern doesn't bind `LAnd` [INFO] [stdout] | | | | | | pattern doesn't bind `LAnd` [INFO] [stdout] | | | | | variable not in all patterns [INFO] [stdout] | | | | pattern doesn't bind `LAnd` [INFO] [stdout] | | | pattern doesn't bind `LAnd` [INFO] [stdout] | | pattern doesn't bind `LAnd` [INFO] [stdout] | pattern doesn't bind `LAnd` [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: `?::LAnd` [INFO] [stdout] --> src/utils/sugg.rs:367:41 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `LOr` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ --- ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `LOr` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `LOr` [INFO] [stdout] | | | | | | | pattern doesn't bind `LOr` [INFO] [stdout] | | | | | | variable not in all patterns [INFO] [stdout] | | | | | pattern doesn't bind `LOr` [INFO] [stdout] | | | | pattern doesn't bind `LOr` [INFO] [stdout] | | | pattern doesn't bind `LOr` [INFO] [stdout] | | pattern doesn't bind `LOr` [INFO] [stdout] | pattern doesn't bind `LOr` [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: `?::LOr` [INFO] [stdout] --> src/utils/sugg.rs:367:48 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Multiply` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ -------- ^^ ^^^^^ pattern doesn't bind `Multiply` [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | pattern doesn't bind `Multiply` [INFO] [stdout] | | | | | | | variable not in all patterns [INFO] [stdout] | | | | | | pattern doesn't bind `Multiply` [INFO] [stdout] | | | | | pattern doesn't bind `Multiply` [INFO] [stdout] | | | | pattern doesn't bind `Multiply` [INFO] [stdout] | | | pattern doesn't bind `Multiply` [INFO] [stdout] | | pattern doesn't bind `Multiply` [INFO] [stdout] | pattern doesn't bind `Multiply` [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: `?::Multiply` [INFO] [stdout] --> src/utils/sugg.rs:367:54 [INFO] [stdout] | [INFO] [stdout] 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Divide` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ------ variable not in all patterns [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 375 | NotEqual | [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 376 | ShiftLeft | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 377 | ShiftRight | [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `Divide` [INFO] [stdout] 378 | Subtract => Associativity::Left, [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Divide` [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: `?::Divide` [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Equal` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ----- variable not in all patterns [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 375 | NotEqual | [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 376 | ShiftLeft | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 377 | ShiftRight | [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `Equal` [INFO] [stdout] 378 | Subtract => Associativity::Left, [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Equal` [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: `?::Equal` [INFO] [stdout] --> src/utils/sugg.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Greater` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ------- variable not in all patterns [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 375 | NotEqual | [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 376 | ShiftLeft | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 377 | ShiftRight | [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `Greater` [INFO] [stdout] 378 | Subtract => Associativity::Left, [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Greater` [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: `?::Greater` [INFO] [stdout] --> src/utils/sugg.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `GreaterEqual` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ------------ variable not in all patterns [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 375 | NotEqual | [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 376 | ShiftLeft | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 377 | ShiftRight | [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `GreaterEqual` [INFO] [stdout] 378 | Subtract => Associativity::Left, [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `GreaterEqual` [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: `?::GreaterEqual` [INFO] [stdout] --> src/utils/sugg.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Less` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 372 | Less | [INFO] [stdout] | ---- variable not in all patterns [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 375 | NotEqual | [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 376 | ShiftLeft | [INFO] [stdout] | ^^^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 377 | ShiftRight | [INFO] [stdout] | ^^^^^^^^^^ pattern doesn't bind `Less` [INFO] [stdout] 378 | Subtract => Associativity::Left, [INFO] [stdout] | ^^^^^^^^ pattern doesn't bind `Less` [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: `?::Less` [INFO] [stdout] --> src/utils/sugg.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `LessEqual` is not bound in all patterns [INFO] [stdout] --> src/utils/sugg.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | Divide | [INFO] [stdout] | ^^^^^^ pattern doesn't bind `LessEqual` [INFO] [stdout] 369 | Equal | [INFO] [stdout] | ^^^^^ pattern doesn't bind `LessEqual` [INFO] [stdout] 370 | Greater | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `LessEqual` [INFO] [stdout] 371 | GreaterEqual | [INFO] [stdout] | ^^^^^^^^^^^^ pattern doesn't bind `LessEqual` [INFO] [stdout] 372 | Less | [INFO] [stdout] | ^^^^ pattern doesn't bind `LessEqual` [INFO] [stdout] 373 | LessEqual | [INFO] [stdout] | --------- variable not in all patterns [INFO] [stdout] 374 | Modulus | [INFO] [stdout] | ^^^^^^^ pattern doesn't bind `LessEqual` [WARN] too many lines in the log, truncating it