clippy 0.0.212

A bunch of helpful lints to avoid common pitfalls in Rust

Build #107840 2018-07-07 06:29:50

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.28.0-dev (b9bf4f162 2018-06-02)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log Build failed, waiting for other jobs to finish... Updating registry `https://github.com/rust-lang/crates.io-index` Downloading clippy v0.0.212 Fresh dtoa v0.4.3 Fresh unicode-xid v0.1.0 Fresh bitflags v0.9.1 Fresh void v1.0.2 Fresh itoa v0.4.2 Fresh unicode-normalization v0.1.7 Fresh libc v0.2.42 Fresh cc v1.0.17 Fresh percent-encoding v1.0.1 Fresh matches v0.1.6 Fresh quine-mc_cluskey v0.2.4 Fresh ucd-util v0.1.1 Fresh memchr v2.0.1 Fresh cfg-if v0.1.4 Fresh unicode-bidi v0.3.4 Fresh unreachable v1.0.0 Fresh regex-syntax v0.6.1 Fresh aho-corasick v0.6.5 Fresh ansi_term v0.11.0 Fresh either v1.5.0 Fresh serde v1.0.70 Fresh idna v0.1.5 Fresh rustc-demangle v0.1.8 Fresh semver-parser v0.7.0 Fresh utf8-ranges v1.0.0 Fresh lazy_static v1.0.1 Fresh itertools v0.7.8 Fresh url v1.7.1 Fresh unicode-width v0.1.5 Fresh proc-macro2 v0.4.6 Fresh thread_local v0.3.5 Fresh toml v0.4.6 Fresh semver v0.9.0 Fresh getopts v0.2.18 Fresh if_chain v0.1.2 Fresh quote v0.6.3 Fresh regex v1.0.1 Compiling rustc_version v0.2.2 Fresh serde_json v1.0.22 Fresh syn v0.14.4 Fresh pulldown-cmark v0.1.2 Fresh serde_derive v1.0.70 Fresh backtrace-sys v0.1.23 Fresh backtrace v0.3.9 Fresh error-chain v0.11.0 Fresh cargo_metadata v0.5.8 Compiling clippy_lints v0.0.212 Running `rustc --crate-name clippy_lints .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=deb18f9c6db5097d -C extra-filename=-deb18f9c6db5097d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern itertools=/home/cratesfyi/cratesfyi/debug/deps/libitertools-a15b6570ce0da9e4.rlib --extern-version itertools=itertools,0.7.8 --extern cargo_metadata=/home/cratesfyi/cratesfyi/debug/deps/libcargo_metadata-95a436bb542441b7.rlib --extern-version cargo_metadata=cargo_metadata,0.5.8 --extern if_chain=/home/cratesfyi/cratesfyi/debug/deps/libif_chain-0604e6b6fde947ad.rlib --extern-version if_chain=if_chain,0.1.2 --extern unicode_normalization=/home/cratesfyi/cratesfyi/debug/deps/libunicode_normalization-e4a7c49b51f222ae.rlib --extern-version unicode_normalization=unicode-normalization,0.1.7 --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-820f174884dff946.rlib --extern-version semver=semver,0.9.0 --extern matches=/home/cratesfyi/cratesfyi/debug/deps/libmatches-e2a43ce3f52b9dcc.rlib --extern-version matches=matches,0.1.6 --extern url=/home/cratesfyi/cratesfyi/debug/deps/liburl-32576e0a8af37d1f.rlib --extern-version url=url,1.7.1 --extern toml=/home/cratesfyi/cratesfyi/debug/deps/libtoml-83164368626c5cc0.rlib --extern-version toml=toml,0.4.6 --extern serde_derive=/home/cratesfyi/cratesfyi/debug/deps/libserde_derive-f85a0885cf14c361.so --extern-version serde_derive=serde_derive,1.0.70 --extern pulldown_cmark=/home/cratesfyi/cratesfyi/debug/deps/libpulldown_cmark-809dd4ee1d9ed616.rlib --extern-version pulldown_cmark=pulldown-cmark,0.1.2 --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-35a3f5b5482724c0.rlib --extern-version regex_syntax=regex-syntax,0.6.1 --extern quine_mc_cluskey=/home/cratesfyi/cratesfyi/debug/deps/libquine_mc_cluskey-6d8f73fdf7c11d33.rlib --extern-version quine_mc_cluskey=quine-mc_cluskey,0.2.4 --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-f9636eb395befdee.rlib --extern-version serde=serde,1.0.70 --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-1adaeb69ca9ba8e2.rlib --extern-version lazy_static=lazy_static,1.0.1 --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-7dadb06fd5acb725/out` Running `rustc --crate-name rustc_version .cargo/registry/src/github.com-1ecc6299db9ec823/rustc_version-0.2.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b736822a67fa4cb2 -C extra-filename=-b736822a67fa4cb2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-820f174884dff946.rlib --extern-version semver=semver,0.9.0 --cap-lints allow` Fresh num-traits v0.2.5 Compiling clippy v0.0.212 Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=4c10e09beff1d812 -C extra-filename=-4c10e09beff1d812 --out-dir /home/cratesfyi/cratesfyi/debug/build/clippy-4c10e09beff1d812 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern ansi_term=/home/cratesfyi/cratesfyi/debug/deps/libansi_term-310b14a8c0903541.rlib --extern-version ansi_term=ansi_term,0.11.0 --extern rustc_version=/home/cratesfyi/cratesfyi/debug/deps/librustc_version-b736822a67fa4cb2.rlib --extern-version rustc_version=rustc_version,0.2.2 --cap-lints allow` error[E0433]: failed to resolve. Maybe a missing `extern crate ansi_term;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:16:5 | 16 | use ansi_term::Colour::Red; | ^^^^^^^^^ Maybe a missing `extern crate ansi_term;`? error[E0432]: unresolved import `rustc_version` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:17:5 | 17 | use rustc_version::{version_meta, version_meta_for, Channel, Version, VersionMeta}; | ^^^^^^^^^^^^^ Maybe a missing `extern crate rustc_version;`? error[E0425]: cannot find value `Red` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:65:13 | 65 | Red.bold().paint("error:"), | ^^^ not found in this scope error[E0425]: cannot find value `Red` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:82:13 | 82 | Red.bold().paint("error:"), | ^^^ not found in this scope error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:35:9 | 35 | let min_date_str = min_version_meta | ^^^^^^^^^^^^ `str` does not have a constant size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: all local variables must have a statically known size error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs:58:13 | 58 | format!("{} ({})", min_version, min_date_str) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `str` does not have a constant size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `str` = note: required by `std::fmt::ArgumentV1::new` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to 6 previous errors Some errors occurred: E0277, E0425, E0432, E0433. For more information about an error, try `rustc --explain E0277`. error: Could not compile `clippy`. Caused by: process didn't exit successfully: `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=4c10e09beff1d812 -C extra-filename=-4c10e09beff1d812 --out-dir /home/cratesfyi/cratesfyi/debug/build/clippy-4c10e09beff1d812 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern ansi_term=/home/cratesfyi/cratesfyi/debug/deps/libansi_term-310b14a8c0903541.rlib --extern-version ansi_term=ansi_term,0.11.0 --extern rustc_version=/home/cratesfyi/cratesfyi/debug/deps/librustc_version-b736822a67fa4cb2.rlib --extern-version rustc_version=rustc_version,0.2.2 --cap-lints allow` (exit code: 101) error[E0432]: unresolved import `toml` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:20:5 | 20 | use toml; | ^^^^ no `toml` in the root error[E0432]: unresolved import `rustc_plugin` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:21:5 | 21 | use rustc_plugin; | ^^^^^^^^^^^^ no `rustc_plugin` in the root error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:14:5 | 14 | use syntax::ast::{FloatTy, LitKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:15:5 | 15 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:158:9 | 158 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `rustc_errors` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:12:5 | 12 | use rustc_errors::{Applicability, CodeSuggestion, Substitution, SubstitutionPart}; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_errors;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:18:5 | 18 | use syntax::ast::{self, LitKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:18:5 | 18 | use syntax::ast::{self, LitKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:19:5 | 19 | use syntax::attr; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:20:5 | 20 | use syntax::codemap::{CompilerDesugaringKind, ExpnFormat, ExpnInfo, Span, DUMMY_SP}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:21:5 | 21 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:22:5 | 22 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:23:5 | 23 | use syntax::symbol::keywords; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/conf.rs:7:5 | 7 | use syntax::{ast, codemap}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:7:5 | 7 | use syntax::ast::Name; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:8:5 | 8 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `rustc_errors` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:8:5 | 8 | use rustc_errors; | ^^^^^^^^^^^^ no `rustc_errors` in the root error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:12:5 | 12 | use syntax::codemap::{CharPos, Span}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:13:5 | 13 | use syntax::parse::token; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:14:5 | 14 | use syntax::print::pprust::token_to_string; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:15:5 | 15 | use syntax::util::parser::AssocOp; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:16:5 | 16 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:18:5 | 18 | use syntax_pos::{BytePos, Pos}; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:90:13 | 90 | use syntax::ast::RangeLimits; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:363:9 | 363 | use syntax::util::parser::AssocOp::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:386:9 | 386 | use syntax::parse::token::BinOpToken::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:405:9 | 405 | use syntax::ast::BinOpKind::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:406:9 | 406 | use syntax::parse::token::BinOpToken; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:8:5 | 8 | use syntax::ast::Attribute; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:5:5 | 5 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:6:5 | 6 | use syntax::ast::{Crate as AstCrate, ItemKind, Name, NodeId}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:10:5 | 10 | use syntax::ast::{Attribute, LitKind, DUMMY_NODE_ID}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:5:5 | 5 | use syntax::ast::Name; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:11:5 | 11 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:117:9 | 117 | use syntax::symbol; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:5:5 | 5 | use syntax::ast::{FloatTy, Lit, LitKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:6:5 | 6 | use syntax::symbol; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:6:5 | 6 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `semver` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:11:5 | 11 | use semver::Version; | ^^^^^^ Maybe a missing `extern crate semver;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:12:5 | 12 | use syntax::ast::{AttrStyle, Attribute, Lit, LitKind, MetaItemKind, NestedMetaItem, NestedMetaItemKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:13:5 | 13 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:4:5 | 4 | use syntax::ast::{LitKind, NodeId, DUMMY_NODE_ID}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:5:5 | 5 | use syntax::codemap::{dummy_spanned, Span, DUMMY_SP}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:6:5 | 6 | use syntax::util::ThinVec; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `quine_mc_cluskey` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:80:5 | 80 | use quine_mc_cluskey::Bool; | ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate quine_mc_cluskey;`? error[E0433]: failed to resolve. Maybe a missing `extern crate quine_mc_cluskey;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:214:13 | 214 | use quine_mc_cluskey::Bool::*; | ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate quine_mc_cluskey;`? error[E0433]: failed to resolve. Maybe a missing `extern crate quine_mc_cluskey;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:289:9 | 289 | use quine_mc_cluskey::Bool::*; | ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate quine_mc_cluskey;`? error[E0433]: failed to resolve. Maybe a missing `extern crate quine_mc_cluskey;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:337:9 | 337 | use quine_mc_cluskey::Bool::*; | ^^^^^^^^^^^^^^^^ Maybe a missing `extern crate quine_mc_cluskey;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:4:5 | 4 | use syntax::ast::{Name, UintTy}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/collapsible_if.rs:16:5 | 16 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:1:5 | 1 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:6:5 | 6 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:7:5 | 7 | use syntax::util::small_vector::SmallVector; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:8:5 | 8 | use syntax::ast::{Attribute, NodeId}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:9:5 | 9 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `itertools` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:1:5 | 1 | use itertools::Itertools; | ^^^^^^^^^ Maybe a missing `extern crate itertools;`? error[E0432]: unresolved import `pulldown_cmark` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:2:5 | 2 | use pulldown_cmark; | ^^^^^^^^^^^^^^ no `pulldown_cmark` in the root error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:5:5 | 5 | use syntax::codemap::{BytePos, Span}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:6:5 | 6 | use syntax_pos::Pos; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0432]: unresolved import `url` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:8:5 | 8 | use url::Url; | ^^^ Maybe a missing `extern crate url;`? error[E0433]: failed to resolve. Maybe a missing `extern crate pulldown_cmark;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:169:17 | 169 | use pulldown_cmark::Event::*; | ^^^^^^^^^^^^^^ Maybe a missing `extern crate pulldown_cmark;`? error[E0433]: failed to resolve. Maybe a missing `extern crate pulldown_cmark;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:193:9 | 193 | use pulldown_cmark::Event::*; | ^^^^^^^^^^^^^^ Maybe a missing `extern crate pulldown_cmark;`? error[E0433]: failed to resolve. Maybe a missing `extern crate pulldown_cmark;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:194:9 | 194 | use pulldown_cmark::Tag::*; | ^^^^^^^^^^^^^^ Maybe a missing `extern crate pulldown_cmark;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:1:5 | 1 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/duration_subsec.rs:3:5 | 3 | use syntax::codemap::Spanned; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/else_if_without_else.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:8:5 | 8 | use syntax::ast::{IntTy, UintTy}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:6:5 | 6 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:6:5 | 6 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:11:5 | 11 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:7:5 | 7 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax_pos;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:8:5 | 8 | use syntax_pos::symbol::Symbol; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:4:5 | 4 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:4:5 | 4 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:5:5 | 5 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:2:5 | 2 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:4:5 | 4 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:7:5 | 7 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate rustc_target;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:8:5 | 8 | use rustc_target::spec::abi::Abi; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_target;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:9:5 | 9 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:3:5 | 3 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:5:5 | 5 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:10:5 | 10 | use syntax::ast::RangeLimits; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inherent_impl.rs:7:5 | 7 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inline_fn_without_body.rs:5:5 | 5 | use syntax::ast::{Attribute, Name}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:6:5 | 6 | use syntax::ast::{Lit, LitKind, Name}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:7:5 | 7 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:9:5 | 9 | use syntax::symbol::keywords; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:5:5 | 5 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:6:5 | 6 | use syntax_pos; | ^^^^^^^^^^ no `syntax_pos` in the root error[E0432]: unresolved import `itertools` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1:5 | 1 | use itertools::Itertools; | ^^^^^^^^^ Maybe a missing `extern crate itertools;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:18:5 | 18 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:19:5 | 19 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `rustc_errors` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:4:5 | 4 | use rustc_errors::{Applicability}; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_errors;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:6:5 | 6 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:9:5 | 9 | use syntax::codemap::{Span, BytePos}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:6:5 | 6 | use syntax::codemap::{ExpnFormat, Span}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:11:5 | 11 | use syntax::ast::{LitKind, CRATE_NODE_ID}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:6:5 | 6 | use syntax::visit::FnKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:24:5 | 24 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:25:5 | 25 | use syntax::attr; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:26:5 | 26 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:14:5 | 14 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:15:5 | 15 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/multiple_crate_versions.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `cargo_metadata` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/multiple_crate_versions.rs:6:5 | 6 | use cargo_metadata; | ^^^^^^^^^^^^^^ no `cargo_metadata` in the root error[E0432]: unresolved import `itertools` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/multiple_crate_versions.rs:7:5 | 7 | use itertools::Itertools; | ^^^^^^^^^ Maybe a missing `extern crate itertools;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:7:5 | 7 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:8:5 | 8 | use syntax::codemap::Spanned; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_continue.rs:31:5 | 31 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_continue.rs:32:5 | 32 | use syntax::codemap::{original_sp, DUMMY_SP}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate rustc_target;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:9:5 | 9 | use rustc_target::spec::abi::Abi; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_target;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:11:5 | 11 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:12:5 | 12 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:3:5 | 3 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `rustc_errors` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:10:5 | 10 | use rustc_errors::Applicability; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_errors;`? error[E0432]: unresolved import `rustc_typeck` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:11:5 | 11 | use rustc_typeck::hir_ty_to_ty; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_typeck;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:12:5 | 12 | use syntax_pos::{DUMMY_SP, Span}; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:2:5 | 2 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:3:5 | 3 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:5:5 | 5 | use syntax::attr; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:6:5 | 6 | use syntax::visit::{walk_block, walk_expr, walk_pat, Visitor}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:4:5 | 4 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:4:5 | 4 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:5:5 | 5 | use syntax::ext::quote::rt::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:2:5 | 2 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:3:5 | 3 | use syntax::codemap::Spanned; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:123:9 | 123 | use syntax::ast::BinOpKind::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:131:9 | 131 | use syntax::ast::BinOpKind::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:9:5 | 9 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:10:5 | 10 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:11:5 | 11 | use syntax_pos::MultiSpan; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:5:5 | 5 | use syntax::ptr::P; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:3:5 | 3 | use syntax::ast::RangeLimits; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:4:5 | 4 | use syntax::codemap::Spanned; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:1:5 | 1 | use syntax::ast::{Expr, ExprKind, UnOp}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `regex_syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:1:5 | 1 | use regex_syntax; | ^^^^^^^^^^^^ no `regex_syntax` in the root error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:5:5 | 5 | use syntax::ast::{LitKind, NodeId, StrStyle}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:6:5 | 6 | use syntax::codemap::{BytePos, Span}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate regex_syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:148:9 | 148 | use regex_syntax::hir::HirKind::*; | ^^^^^^^^^^^^ Maybe a missing `extern crate regex_syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate regex_syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:149:9 | 149 | use regex_syntax::hir::Anchor::*; | ^^^^^^^^^^^^ Maybe a missing `extern crate regex_syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:2:5 | 2 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:3:5 | 3 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:4:5 | 4 | use syntax::visit::FnKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:3:5 | 3 | use syntax::codemap::Spanned; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:148:13 | 148 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate rustc_target;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:9:5 | 9 | use rustc_target::spec::abi::Abi; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_target;`? error[E0433]: failed to resolve. Maybe a missing `extern crate rustc_target;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:10:5 | 10 | use rustc_target::abi::LayoutOf; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_target;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:11:5 | 11 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:12:5 | 12 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0432]: unresolved import `rustc_typeck` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:8:5 | 8 | use rustc_typeck::hir_ty_to_ty; | ^^^^^^^^^^^^ Maybe a missing `extern crate rustc_typeck;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:12:5 | 12 | use syntax::ast::{FloatTy, IntTy, UintTy}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:13:5 | 13 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:14:5 | 14 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax_pos;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:541:9 | 541 | use syntax_pos::hygiene::CompilerDesugaringKind; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:957:21 | 957 | use syntax::ast::{LitIntType, LitKind}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1290:13 | 1290 | use syntax::ast::{LitKind, UintTy}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1564:9 | 1564 | use syntax::ast::{IntTy, UintTy}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1747:13 | 1747 | use syntax_pos::BytePos; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:3:5 | 3 | use syntax::ast::{LitKind, NodeId}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `unicode_normalization` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:5:5 | 5 | use unicode_normalization::UnicodeNormalization; | ^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate unicode_normalization;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:2:5 | 2 | use syntax::ast::*; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:3:5 | 3 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:4:5 | 4 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:7:5 | 7 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:6:5 | 6 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:5:5 | 5 | use syntax::ast::NodeId; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax_pos;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:6:5 | 6 | use syntax_pos::symbol::keywords::SelfType; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:5:5 | 5 | use syntax::ast::LitKind; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:6:5 | 6 | use syntax::ptr; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:7:5 | 7 | use syntax::symbol::LocalInternedString; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `syntax_pos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:8:5 | 8 | use syntax_pos::Span; | ^^^^^^^^^^ Maybe a missing `extern crate syntax_pos;`? error[E0433]: failed to resolve. Maybe a missing `extern crate syntax;`? --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:189:15 | 189 | crate use syntax::ast::{Name, NodeId}; | ^^^^^^ Maybe a missing `extern crate syntax;`? error[E0432]: unresolved import `serde` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/conf.rs:102:25 | 102 | use serde; | ^^^^^ no `serde` in the root ... 130 | / define_Conf! { 131 | | /// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about 132 | | (blacklisted_names, "blacklisted_names", ["foo", "bar", "baz", "quux"] => Vec<String>), 133 | | /// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have ... | 169 | | (trivial_copy_size_limit, "trivial_copy_size_limit", None => Option<u64>), 170 | | } | |_- in this macro invocation error[E0432]: unresolved import `serde` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/conf.rs:103:25 | 103 | use serde::Deserialize; | ^^^^^ Maybe a missing `extern crate serde;`? ... 130 | / define_Conf! { 131 | | /// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about 132 | | (blacklisted_names, "blacklisted_names", ["foo", "bar", "baz", "quux"] => Vec<String>), 133 | | /// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have ... | 169 | | (trivial_copy_size_limit, "trivial_copy_size_limit", None => Option<u64>), 170 | | } | |_- in this macro invocation error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:28:13 | 28 | FloatTy::F32 => FloatWidth::F32, | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:29:13 | 29 | FloatTy::F64 => FloatWidth::F64, | ^^^^^^^ Use of undeclared type or module `FloatTy` error: cannot determine resolution for the macro `bug` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:170:18 | 170 | _ => bug!(), | ^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:161:9 | 161 | LitKind::Str(ref is, _) => Constant::Str(is.to_string()), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:162:9 | 162 | LitKind::Byte(b) => Constant::Int(u128::from(b)), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:163:9 | 163 | LitKind::ByteStr(ref s) => Constant::Binary(Rc::clone(s)), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:164:9 | 164 | LitKind::Char(c) => Constant::Char(c), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:165:9 | 165 | LitKind::Int(n, _) => Constant::Int(n), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:166:9 | 166 | LitKind::Float(ref is, _) | | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:167:9 | 167 | LitKind::FloatUnsuffixed(ref is) => match ty.sty { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:168:25 | 168 | ty::TyFloat(FloatTy::F32) => Constant::F32(is.as_str().parse().unwrap()), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:169:25 | 169 | ty::TyFloat(FloatTy::F64) => Constant::F64(is.as_str().parse().unwrap()), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:172:9 | 172 | LitKind::Bool(b) => Constant::Bool(b), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:433:25 | 433 | ty::TyFloat(FloatTy::F32) => Some(Constant::F32(f32::from_bits(b as u32))), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:434:25 | 434 | ty::TyFloat(FloatTy::F64) => Some(Constant::F64(f64::from_bits(b as u64))), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:157:14 | 157 | (GenericArg::Lifetime(l_lt), GenericArg::Lifetime(r_lt)) => self.eq_lifetime(l_lt, r_lt), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:157:42 | 157 | (GenericArg::Lifetime(l_lt), GenericArg::Lifetime(r_lt)) => self.eq_lifetime(l_lt, r_lt), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:158:14 | 158 | (GenericArg::Type(l_ty), GenericArg::Type(r_ty)) => self.eq_ty(l_ty, r_ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:158:38 | 158 | (GenericArg::Type(l_ty), GenericArg::Type(r_ty)) => self.eq_ty(l_ty, r_ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:73:52 | 73 | hir::ExprAssign(..) => Sugg::BinOp(AssocOp::Assign, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:75:56 | 75 | hir::ExprBinary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(higher::binop(op.node)), snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:76:50 | 76 | hir::ExprCast(..) => Sugg::BinOp(AssocOp::As, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:77:50 | 77 | hir::ExprType(..) => Sugg::BinOp(AssocOp::Colon, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `RangeLimits` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:128:38 | 128 | ast::ExprKind::Range(.., RangeLimits::HalfOpen) => Sugg::BinOp(AssocOp::DotDot, snippet), | ^^^^^^^^^^^ Use of undeclared type or module `RangeLimits` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:128:76 | 128 | ast::ExprKind::Range(.., RangeLimits::HalfOpen) => Sugg::BinOp(AssocOp::DotDot, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `RangeLimits` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:129:38 | 129 | ast::ExprKind::Range(.., RangeLimits::Closed) => Sugg::BinOp(AssocOp::DotDotEq, snippet), | ^^^^^^^^^^^ Use of undeclared type or module `RangeLimits` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:129:74 | 129 | ast::ExprKind::Range(.., RangeLimits::Closed) => Sugg::BinOp(AssocOp::DotDotEq, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:130:54 | 130 | ast::ExprKind::Assign(..) => Sugg::BinOp(AssocOp::Assign, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:132:58 | 132 | ast::ExprKind::Binary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(op.node), snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:133:52 | 133 | ast::ExprKind::Cast(..) => Sugg::BinOp(AssocOp::As, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:134:52 | 134 | ast::ExprKind::Type(..) => Sugg::BinOp(AssocOp::Colon, snippet), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:145:20 | 145 | make_assoc(AssocOp::As, &self, &Sugg::NonParen(rhs.to_string().into())) | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:181:54 | 181 | ast::RangeLimits::HalfOpen => make_assoc(AssocOp::DotDot, &self, end), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:182:52 | 182 | ast::RangeLimits::Closed => make_assoc(AssocOp::DotDotEq, &self, end), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:269:23 | 269 | matches!(*op, AssocOp::ShiftLeft | AssocOp::ShiftRight) | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:269:44 | 269 | matches!(*op, AssocOp::ShiftLeft | AssocOp::ShiftRight) | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:276:13 | 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:276:28 | 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:276:48 | 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:276:68 | 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:276:86 | 276 | AssocOp::Add | AssocOp::Subtract | AssocOp::Multiply | AssocOp::Divide | AssocOp::Modulus | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:306:9 | 306 | AssocOp::Add | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:307:9 | 307 | AssocOp::BitAnd | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:308:9 | 308 | AssocOp::BitOr | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:309:9 | 309 | AssocOp::BitXor | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:310:9 | 310 | AssocOp::Divide | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:311:9 | 311 | AssocOp::Equal | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:312:9 | 312 | AssocOp::Greater | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:313:9 | 313 | AssocOp::GreaterEqual | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:314:9 | 314 | AssocOp::LAnd | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:315:9 | 315 | AssocOp::LOr | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:316:9 | 316 | AssocOp::Less | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:317:9 | 317 | AssocOp::LessEqual | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:318:9 | 318 | AssocOp::Modulus | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:319:9 | 319 | AssocOp::Multiply | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:320:9 | 320 | AssocOp::NotEqual | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:321:9 | 321 | AssocOp::ShiftLeft | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:322:9 | 322 | AssocOp::ShiftRight | | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:323:9 | 323 | AssocOp::Subtract => format!("{} {} {}", lhs, op.to_ast_binop().expect("Those are AST ops").to_string(), rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:324:9 | 324 | AssocOp::Assign => format!("{} = {}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:325:9 | 325 | AssocOp::ObsoleteInPlace => format!("in ({}) {}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:326:9 | 326 | AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `token` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:326:77 | 326 | AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs), | ^^^^^ Use of undeclared type or module `token` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:327:9 | 327 | AssocOp::As => format!("{} as {}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:328:9 | 328 | AssocOp::DotDot => format!("{}..{}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:329:9 | 329 | AssocOp::DotDotEq => format!("{}..={}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:330:9 | 330 | AssocOp::Colon => format!("{}: {}", lhs, rhs), | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:338:16 | 338 | make_assoc(AssocOp::from_ast_binop(op), lhs, rhs) | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0408]: variable `Assign` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:366:9 | 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, | ^^^^^^^^^^^^^^^ ------ ^^^^^^^^^^^ pattern doesn't bind `Assign` | | | | | variable not in all patterns | pattern doesn't bind `Assign` error[E0408]: variable `ObsoleteInPlace` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:366:27 | 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, | --------------- ^^^^^^ ^^^^^^^^^^^ pattern doesn't bind `ObsoleteInPlace` | | | | | pattern doesn't bind `ObsoleteInPlace` | variable not in all patterns error[E0408]: variable `As` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ -- ^^^^^ pattern doesn't bind `As` | | | | | | | | | | | | | | | | | variable not in all patterns | | | | | | | pattern doesn't bind `As` | | | | | | pattern doesn't bind `As` | | | | | pattern doesn't bind `As` | | | | pattern doesn't bind `As` | | | pattern doesn't bind `As` | | pattern doesn't bind `As` | pattern doesn't bind `As` error[E0408]: variable `Colon` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ----- variable not in all patterns | | | | | | | | | | | | | | | | | pattern doesn't bind `Colon` | | | | | | | pattern doesn't bind `Colon` | | | | | | pattern doesn't bind `Colon` | | | | | pattern doesn't bind `Colon` | | | | pattern doesn't bind `Colon` | | | pattern doesn't bind `Colon` | | pattern doesn't bind `Colon` | pattern doesn't bind `Colon` error[E0408]: variable `Add` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:15 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | --- ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `Add` | | | | | | | | | | | | | | | | | pattern doesn't bind `Add` | | | | | | | pattern doesn't bind `Add` | | | | | | pattern doesn't bind `Add` | | | | | pattern doesn't bind `Add` | | | | pattern doesn't bind `Add` | | | pattern doesn't bind `Add` | | pattern doesn't bind `Add` | variable not in all patterns error[E0408]: variable `Multiply` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ -------- ^^ ^^^^^ pattern doesn't bind `Multiply` | | | | | | | | | | | | | | | | | pattern doesn't bind `Multiply` | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `Multiply` | | | | | pattern doesn't bind `Multiply` | | | | pattern doesn't bind `Multiply` | | | pattern doesn't bind `Multiply` | | pattern doesn't bind `Multiply` | pattern doesn't bind `Multiply` error[E0408]: variable `BitAnd` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ------ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitAnd` | | | | | | | | | | | | | | | | | pattern doesn't bind `BitAnd` | | | | | | | pattern doesn't bind `BitAnd` | | | | | | pattern doesn't bind `BitAnd` | | | | | pattern doesn't bind `BitAnd` | | | | pattern doesn't bind `BitAnd` | | | pattern doesn't bind `BitAnd` | | variable not in all patterns | pattern doesn't bind `BitAnd` error[E0408]: variable `BitOr` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ----- ^^^^^^ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitOr` | | | | | | | | | | | | | | | | | pattern doesn't bind `BitOr` | | | | | | | pattern doesn't bind `BitOr` | | | | | | pattern doesn't bind `BitOr` | | | | | pattern doesn't bind `BitOr` | | | | pattern doesn't bind `BitOr` | | | variable not in all patterns | | pattern doesn't bind `BitOr` | pattern doesn't bind `BitOr` error[E0408]: variable `BitXor` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ------ ^^^^ ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `BitXor` | | | | | | | | | | | | | | | | | pattern doesn't bind `BitXor` | | | | | | | pattern doesn't bind `BitXor` | | | | | | pattern doesn't bind `BitXor` | | | | | pattern doesn't bind `BitXor` | | | | variable not in all patterns | | | pattern doesn't bind `BitXor` | | pattern doesn't bind `BitXor` | pattern doesn't bind `BitXor` error[E0408]: variable `LAnd` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ---- ^^^ ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `LAnd` | | | | | | | | | | | | | | | | | pattern doesn't bind `LAnd` | | | | | | | pattern doesn't bind `LAnd` | | | | | | pattern doesn't bind `LAnd` | | | | | variable not in all patterns | | | | pattern doesn't bind `LAnd` | | | pattern doesn't bind `LAnd` | | pattern doesn't bind `LAnd` | pattern doesn't bind `LAnd` error[E0408]: variable `LOr` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:367:9 | 367 | Add | BitAnd | BitOr | BitXor | LAnd | LOr | Multiply | As | Colon => Associativity::Both, | ^^^ ^^^^^^ ^^^^^ ^^^^^^ ^^^^ --- ^^^^^^^^ ^^ ^^^^^ pattern doesn't bind `LOr` | | | | | | | | | | | | | | | | | pattern doesn't bind `LOr` | | | | | | | pattern doesn't bind `LOr` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `LOr` | | | | pattern doesn't bind `LOr` | | | pattern doesn't bind `LOr` | | pattern doesn't bind `LOr` | pattern doesn't bind `LOr` error[E0408]: variable `Equal` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `Equal` 369 | Equal | | ----- variable not in all patterns 370 | Greater | | ^^^^^^^ pattern doesn't bind `Equal` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Equal` 372 | Less | | ^^^^ pattern doesn't bind `Equal` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Equal` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `Equal` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Equal` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Equal` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Equal` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `Equal` error[E0408]: variable `ShiftLeft` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `ShiftLeft` 369 | Equal | | ^^^^^ pattern doesn't bind `ShiftLeft` 370 | Greater | | ^^^^^^^ pattern doesn't bind `ShiftLeft` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `ShiftLeft` 372 | Less | | ^^^^ pattern doesn't bind `ShiftLeft` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `ShiftLeft` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `ShiftLeft` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `ShiftLeft` 376 | ShiftLeft | | --------- variable not in all patterns 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `ShiftLeft` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `ShiftLeft` error[E0408]: variable `ShiftRight` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `ShiftRight` 369 | Equal | | ^^^^^ pattern doesn't bind `ShiftRight` 370 | Greater | | ^^^^^^^ pattern doesn't bind `ShiftRight` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `ShiftRight` 372 | Less | | ^^^^ pattern doesn't bind `ShiftRight` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `ShiftRight` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `ShiftRight` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `ShiftRight` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `ShiftRight` 377 | ShiftRight | | ---------- variable not in all patterns 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `ShiftRight` error[E0408]: variable `Subtract` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `Subtract` 369 | Equal | | ^^^^^ pattern doesn't bind `Subtract` 370 | Greater | | ^^^^^^^ pattern doesn't bind `Subtract` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Subtract` 372 | Less | | ^^^^ pattern doesn't bind `Subtract` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Subtract` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `Subtract` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Subtract` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Subtract` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Subtract` 378 | Subtract => Associativity::Left, | -------- variable not in all patterns error[E0408]: variable `Divide` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:369:9 | 368 | Divide | | ------ variable not in all patterns 369 | Equal | | ^^^^^ pattern doesn't bind `Divide` 370 | Greater | | ^^^^^^^ pattern doesn't bind `Divide` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Divide` 372 | Less | | ^^^^ pattern doesn't bind `Divide` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Divide` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `Divide` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Divide` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Divide` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Divide` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `Divide` error[E0408]: variable `Modulus` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `Modulus` 369 | Equal | | ^^^^^ pattern doesn't bind `Modulus` 370 | Greater | | ^^^^^^^ pattern doesn't bind `Modulus` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Modulus` 372 | Less | | ^^^^ pattern doesn't bind `Modulus` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Modulus` 374 | Modulus | | ------- variable not in all patterns 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Modulus` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Modulus` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Modulus` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `Modulus` error[E0408]: variable `Greater` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `Greater` 369 | Equal | | ^^^^^ pattern doesn't bind `Greater` 370 | Greater | | ------- variable not in all patterns 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Greater` 372 | Less | | ^^^^ pattern doesn't bind `Greater` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Greater` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `Greater` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Greater` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Greater` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Greater` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `Greater` error[E0408]: variable `GreaterEqual` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `GreaterEqual` 369 | Equal | | ^^^^^ pattern doesn't bind `GreaterEqual` 370 | Greater | | ^^^^^^^ pattern doesn't bind `GreaterEqual` 371 | GreaterEqual | | ------------ variable not in all patterns 372 | Less | | ^^^^ pattern doesn't bind `GreaterEqual` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `GreaterEqual` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `GreaterEqual` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `GreaterEqual` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `GreaterEqual` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `GreaterEqual` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `GreaterEqual` error[E0408]: variable `Less` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `Less` 369 | Equal | | ^^^^^ pattern doesn't bind `Less` 370 | Greater | | ^^^^^^^ pattern doesn't bind `Less` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `Less` 372 | Less | | ---- variable not in all patterns 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `Less` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `Less` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `Less` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `Less` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `Less` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `Less` error[E0408]: variable `LessEqual` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `LessEqual` 369 | Equal | | ^^^^^ pattern doesn't bind `LessEqual` 370 | Greater | | ^^^^^^^ pattern doesn't bind `LessEqual` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `LessEqual` 372 | Less | | ^^^^ pattern doesn't bind `LessEqual` 373 | LessEqual | | --------- variable not in all patterns 374 | Modulus | | ^^^^^^^ pattern doesn't bind `LessEqual` 375 | NotEqual | | ^^^^^^^^ pattern doesn't bind `LessEqual` 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `LessEqual` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `LessEqual` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `LessEqual` error[E0408]: variable `NotEqual` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:368:9 | 368 | Divide | | ^^^^^^ pattern doesn't bind `NotEqual` 369 | Equal | | ^^^^^ pattern doesn't bind `NotEqual` 370 | Greater | | ^^^^^^^ pattern doesn't bind `NotEqual` 371 | GreaterEqual | | ^^^^^^^^^^^^ pattern doesn't bind `NotEqual` 372 | Less | | ^^^^ pattern doesn't bind `NotEqual` 373 | LessEqual | | ^^^^^^^^^ pattern doesn't bind `NotEqual` 374 | Modulus | | ^^^^^^^ pattern doesn't bind `NotEqual` 375 | NotEqual | | -------- variable not in all patterns 376 | ShiftLeft | | ^^^^^^^^^ pattern doesn't bind `NotEqual` 377 | ShiftRight | | ^^^^^^^^^^ pattern doesn't bind `NotEqual` 378 | Subtract => Associativity::Left, | ^^^^^^^^ pattern doesn't bind `NotEqual` error[E0408]: variable `DotDot` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:379:18 | 379 | DotDot | DotDotEq => Associativity::None, | ------ ^^^^^^^^ pattern doesn't bind `DotDot` | | | variable not in all patterns error[E0408]: variable `DotDotEq` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:379:9 | 379 | DotDot | DotDotEq => Associativity::None, | ^^^^^^ -------- variable not in all patterns | | | pattern doesn't bind `DotDotEq` error: cannot determine resolution for the macro `panic` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:67 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:388:5 | 388 | AssocOp::AssignOp(match op.node { | ^^^^^^^ Use of undeclared type or module `AssocOp` error: cannot determine resolution for the macro `panic` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:51 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^^^ | = note: import resolution is stuck, try simplifying macro imports error[E0433]: failed to resolve. Use of undeclared type or module `AssocOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:408:5 | 408 | AssocOp::AssignOp(match op.node { | ^^^^^^^ Use of undeclared type or module `AssocOp` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:409:16 | 409 | Add => BinOpToken::Plus, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:410:19 | 410 | BitAnd => BinOpToken::And, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:411:18 | 411 | BitOr => BinOpToken::Or, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:412:19 | 412 | BitXor => BinOpToken::Caret, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:413:16 | 413 | Div => BinOpToken::Slash, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:414:16 | 414 | Mul => BinOpToken::Star, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:415:16 | 415 | Rem => BinOpToken::Percent, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:416:16 | 416 | Shl => BinOpToken::Shl, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:417:16 | 417 | Shr => BinOpToken::Shr, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpToken` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:418:16 | 418 | Sub => BinOpToken::Minus, | ^^^^^^^^^^ Use of undeclared type or module `BinOpToken` error[E0408]: variable `Eq` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ -- ^^ ^^ ^^ ^^ ^^ ^^ pattern doesn't bind `Eq` | | | | | | | | | | | | | | | pattern doesn't bind `Eq` | | | | | | pattern doesn't bind `Eq` | | | | | pattern doesn't bind `Eq` | | | | pattern doesn't bind `Eq` | | | pattern doesn't bind `Eq` | | variable not in all patterns | pattern doesn't bind `Eq` error[E0408]: variable `Lt` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ ^^ ^^ ^^ -- ^^ ^^ pattern doesn't bind `Lt` | | | | | | | | | | | | | | | pattern doesn't bind `Lt` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `Lt` | | | | pattern doesn't bind `Lt` | | | pattern doesn't bind `Lt` | | pattern doesn't bind `Lt` | pattern doesn't bind `Lt` error[E0408]: variable `Le` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ ^^ ^^ -- ^^ ^^ ^^ pattern doesn't bind `Le` | | | | | | | | | | | | | | | pattern doesn't bind `Le` | | | | | | pattern doesn't bind `Le` | | | | | variable not in all patterns | | | | pattern doesn't bind `Le` | | | pattern doesn't bind `Le` | | pattern doesn't bind `Le` | pattern doesn't bind `Le` error[E0408]: variable `Ne` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ ^^ ^^ ^^ ^^ -- ^^ pattern doesn't bind `Ne` | | | | | | | | | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `Ne` | | | | | pattern doesn't bind `Ne` | | | | pattern doesn't bind `Ne` | | | pattern doesn't bind `Ne` | | pattern doesn't bind `Ne` | pattern doesn't bind `Ne` error[E0408]: variable `And` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:15 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | --- ^^ ^^ ^^ ^^ ^^ ^^ ^^ pattern doesn't bind `And` | | | | | | | | | | | | | | | pattern doesn't bind `And` | | | | | | pattern doesn't bind `And` | | | | | pattern doesn't bind `And` | | | | pattern doesn't bind `And` | | | pattern doesn't bind `And` | | pattern doesn't bind `And` | variable not in all patterns error[E0408]: variable `Or` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ ^^ ^^ ^^ ^^ ^^ -- variable not in all patterns | | | | | | | | | | | | | | | pattern doesn't bind `Or` | | | | | | pattern doesn't bind `Or` | | | | | pattern doesn't bind `Or` | | | | pattern doesn't bind `Or` | | | pattern doesn't bind `Or` | | pattern doesn't bind `Or` | pattern doesn't bind `Or` error[E0408]: variable `Ge` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ -- ^^ ^^ ^^ ^^ ^^ pattern doesn't bind `Ge` | | | | | | | | | | | | | | | pattern doesn't bind `Ge` | | | | | | pattern doesn't bind `Ge` | | | | | pattern doesn't bind `Ge` | | | | pattern doesn't bind `Ge` | | | variable not in all patterns | | pattern doesn't bind `Ge` | pattern doesn't bind `Ge` error[E0408]: variable `Gt` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:419:9 | 419 | And | Eq | Ge | Gt | Le | Lt | Ne | Or => panic!("This operator does not exist"), | ^^^ ^^ ^^ -- ^^ ^^ ^^ ^^ pattern doesn't bind `Gt` | | | | | | | | | | | | | | | pattern doesn't bind `Gt` | | | | | | pattern doesn't bind `Gt` | | | | | pattern doesn't bind `Gt` | | | | variable not in all patterns | | | pattern doesn't bind `Gt` | | pattern doesn't bind `Gt` | pattern doesn't bind `Gt` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:55:18 | 55 | hir::VisibilityKind::Public => println!("public"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:56:18 | 56 | hir::VisibilityKind::Crate(_) => println!("visible crate wide"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:57:18 | 57 | hir::VisibilityKind::Restricted { ref path, .. } => println!( | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:61:18 | 61 | hir::VisibilityKind::Inherited => println!("visibility inherited from outer item"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:347:14 | 347 | hir::VisibilityKind::Public => println!("public"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:348:14 | 348 | hir::VisibilityKind::Crate(_) => println!("visible crate wide"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:349:14 | 349 | hir::VisibilityKind::Restricted { ref path, .. } => println!( | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:353:14 | 353 | hir::VisibilityKind::Inherited => println!("visibility inherited from outer item"), | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:72:20 | 72 | if let ItemKind::Mod(ref utils_mod) = utils.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:78:28 | 78 | if let ItemKind::Mod(ref paths_mod) = paths.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `VisibilityKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:123:66 | 123 | } else if is_lint_array_type(ty) && item.vis.node == VisibilityKind::Inherited && item.name == "ARRAY" { | ^^^^^^^^^^^^^^ Use of undeclared type or module `VisibilityKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:259:21 | 259 | LitKind::Bool(val) => println!(" if let LitKind::Bool({:?}) = {}.node;", val, lit_pat), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:260:21 | 260 | LitKind::Char(c) => println!(" if let LitKind::Char({:?}) = {}.node;", c, lit_pat), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:261:21 | 261 | LitKind::Byte(b) => println!(" if let LitKind::Byte({}) = {}.node;", b, lit_pat), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:263:21 | 263 | LitKind::Int(i, _) => println!(" if let LitKind::Int({}, _) = {}.node;", i, lit_pat), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:264:21 | 264 | LitKind::Float(..) => println!(" if let LitKind::Float(..) = {}.node;", lit_pat), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:265:21 | 265 | LitKind::FloatUnsuffixed(_) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:268:21 | 268 | LitKind::ByteStr(ref vec) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:273:21 | 273 | LitKind::Str(ref text, _) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExpnFormat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:62:13 | 62 | ExpnFormat::CompilerDesugaring(kind) => kind != CompilerDesugaringKind::DotFill, | ^^^^^^^^^^ Use of undeclared type or module `ExpnFormat` error[E0433]: failed to resolve. Use of undeclared type or module `CompilerDesugaringKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:62:61 | 62 | ExpnFormat::CompilerDesugaring(kind) => kind != CompilerDesugaringKind::DotFill, | ^^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `CompilerDesugaringKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExpnFormat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:72:13 | 72 | ExpnFormat::CompilerDesugaring(CompilerDesugaringKind::DotFill) => true, | ^^^^^^^^^^ Use of undeclared type or module `ExpnFormat` error[E0433]: failed to resolve. Use of undeclared type or module `CompilerDesugaringKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:72:44 | 72 | ExpnFormat::CompilerDesugaring(CompilerDesugaringKind::DotFill) => true, | ^^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `CompilerDesugaringKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExpnFormat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:87:16 | 87 | if let ExpnFormat::MacroAttribute(..) = info.format { | ^^^^^^^^^^ Use of undeclared type or module `ExpnFormat` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:435:5 | 435 | Span::new(*line_start, span.hi(), span.ctxt()) | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:699:16 | 699 | if let LitKind::Int(v, _) = spanned.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `keywords` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:993:22 | 993 | name.name == keywords::SelfValue.name() | ^^^^^^^^ Use of undeclared type or module `keywords` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:74:9 | 74 | LitKind::Float(s, FloatTy::F32) => check_known_consts(cx, e, s, "f32"), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:74:27 | 74 | LitKind::Float(s, FloatTy::F32) => check_known_consts(cx, e, s, "f32"), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:75:9 | 75 | LitKind::Float(s, FloatTy::F64) => check_known_consts(cx, e, s, "f64"), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:75:27 | 75 | LitKind::Float(s, FloatTy::F64) => check_known_consts(cx, e, s, "f64"), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:76:9 | 76 | LitKind::FloatUnsuffixed(s) => check_known_consts(cx, e, s, "f{32, 64}"), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `NestedMetaItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:141:28 | 141 | if let NestedMetaItemKind::MetaItem(ref mi) = item.node; | ^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `NestedMetaItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `MetaItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:142:28 | 142 | if let MetaItemKind::NameValue(ref lit) = mi.node; | ^^^^^^^^^^^^ Use of undeclared type or module `MetaItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `AttrStyle` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:272:26 | 272 | if attr.style == AttrStyle::Outer { | ^^^^^^^^^ Use of undeclared type or module `AttrStyle` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:277:41 | 277 | let begin_of_attr_to_item = Span::new(attr.span.lo(), span.lo(), span.ctxt()); | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:278:39 | 278 | let end_of_attr_to_item = Span::new(attr.span.hi(), span.lo(), span.ctxt()); | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:315:12 | 315 | if let LitKind::Str(ref is, _) = lit.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `NestedMetaItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:329:12 | 329 | if let NestedMetaItemKind::MetaItem(ref mi) = nmi.node { | ^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `NestedMetaItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:127:20 | 127 | if let LitKind::Int(n, _) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:129:20 | 129 | if let LitKind::Int(0, _) = lit1.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:111:21 | 111 | LitKind::Bool(true) => return Ok(Bool::True), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:112:21 | 112 | LitKind::Bool(false) => return Ok(Bool::False), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ThinVec` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:135:36 | 135 | attrs: ThinVec::new(), | ^^^^^^^ Use of undeclared type or module `ThinVec` error[E0408]: variable `True` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:240:24 | 240 | True | False | Not(_) => { | ---- ^^^^^ ^^^^^^ pattern doesn't bind `True` | | | | | pattern doesn't bind `True` | variable not in all patterns error[E0408]: variable `False` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:240:17 | 240 | True | False | Not(_) => { | ^^^^ ----- ^^^^^^ pattern doesn't bind `False` | | | | | variable not in all patterns | pattern doesn't bind `False` error[E0408]: variable `True` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:320:20 | 320 | True | False => stats.ops += 1, | ---- ^^^^^ pattern doesn't bind `True` | | | variable not in all patterns error[E0408]: variable `False` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:320:13 | 320 | True | False => stats.ops += 1, | ^^^^ ----- variable not in all patterns | | | pattern doesn't bind `False` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:66:39 | 66 | if ty::TyUint(UintTy::U8) != walk_ptrs_ty(cx.tables.expr_ty(needle)).sty { | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:40:13 | 40 | TyKind::Array(ref ty, _) => { | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:43:13 | 43 | TyKind::Tup(ref tup) => for tup_ty in tup { | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:47:13 | 47 | TyKind::Rptr(ref optional_lifetime, ref borrow_type) => { | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:51:25 | 51 | TyKind::Path(..) | TyKind::Slice(..) | TyKind::Array(..) | | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:51:44 | 51 | TyKind::Path(..) | TyKind::Slice(..) | TyKind::Array(..) | | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:51:64 | 51 | TyKind::Path(..) | TyKind::Slice(..) | TyKind::Array(..) | | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:52:25 | 52 | TyKind::Tup(..) => { | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `TyKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:72:13 | 72 | TyKind::Slice(ref ty) => { | ^^^^^^ Use of undeclared type or module `TyKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:84:20 | 84 | if let ItemKind::Const(ref var_type, _) = item.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `SmallVector` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:236:21 | 236 | let mut conds = SmallVector::new(); | ^^^^^^^^^^^ Use of undeclared type or module `SmallVector` error[E0433]: failed to resolve. Use of undeclared type or module `SmallVector` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:237:43 | 237 | let mut blocks: SmallVector<&Block> = SmallVector::new(); | ^^^^^^^^^^^ Use of undeclared type or module `SmallVector` error[E0408]: variable `Code` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:201:13 | 201 | Start(CodeBlock(_)) | Start(Code) => in_code = true, | ^^^^^^^^^^^^^^^^^^^ ---- variable not in all patterns | | | pattern doesn't bind `Code` error[E0408]: variable `Code` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:202:13 | 202 | End(CodeBlock(_)) | End(Code) => in_code = false, | ^^^^^^^^^^^^^^^^^ ---- variable not in all patterns | | | pattern doesn't bind `Code` error[E0408]: variable `SoftBreak` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:207:25 | 207 | SoftBreak | HardBreak => (), | --------- ^^^^^^^^^ pattern doesn't bind `SoftBreak` | | | variable not in all patterns error[E0408]: variable `HardBreak` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:207:13 | 207 | SoftBreak | HardBreak => (), | ^^^^^^^^^ --------- variable not in all patterns | | | pattern doesn't bind `HardBreak` error[E0433]: failed to resolve. Use of undeclared type or module `BytePos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:225:57 | 225 | let span = span.with_lo(span.lo() + BytePos::from_usize(offset - begin)); | ^^^^^^^ Use of undeclared type or module `BytePos` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:247:20 | 247 | let span = Span::new( | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `BytePos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:248:25 | 248 | span.lo() + BytePos::from_usize(offset), | ^^^^^^^ Use of undeclared type or module `BytePos` error[E0433]: failed to resolve. Use of undeclared type or module `BytePos` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:249:25 | 249 | span.lo() + BytePos::from_usize(offset + word.len()), | ^^^^^^^ Use of undeclared type or module `BytePos` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:35:13 | 35 | ExprKind::Paren(ref in_paren) => match in_paren.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:36:17 | 36 | ExprKind::Paren(_) | ExprKind::Tup(_) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:36:38 | 36 | ExprKind::Paren(_) | ExprKind::Tup(_) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:41:13 | 41 | ExprKind::Call(_, ref params) => if params.len() == 1 { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:43:24 | 43 | if let ExprKind::Paren(_) = param.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:47:13 | 47 | ExprKind::MethodCall(_, ref params) => if params.len() == 2 { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:49:24 | 49 | if let ExprKind::Paren(_) = param.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/else_if_without_else.rs:56:19 | 56 | while let ExprKind::If(_, _, Some(ref els)) = item.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/else_if_without_else.rs:57:20 | 57 | if let ExprKind::If(_, _, None) = els.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:71:39 | 71 | ty::TyInt(IntTy::Isize) => { | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:77:40 | 77 | ty::TyUint(UintTy::Usize) if val > u128::from(u32::max_value()) => {}, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `VisibilityKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:47:29 | 47 | if item.vis.node == VisibilityKind::Public { | ^^^^^^^^^^^^^^ Use of undeclared type or module `VisibilityKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:256:32 | 256 | if let ItemKind::Mod(..) = item.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `VisibilityKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:265:41 | 265 | if item.vis.node == VisibilityKind::Public { | ^^^^^^^^^^^^^^ Use of undeclared type or module `VisibilityKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:288:16 | 288 | if let ItemKind::Enum(ref def, _) = item.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `VisibilityKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:290:17 | 290 | VisibilityKind::Public => PUB_ENUM_VARIANT_NAMES, | ^^^^^^^^^^^^^^ Use of undeclared type or module `VisibilityKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:49:20 | 49 | if let LitKind::Float(sym, _) | LitKind::FloatUnsuffixed(sym) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:49:45 | 49 | if let LitKind::Float(sym, _) | LitKind::FloatUnsuffixed(sym) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:81:17 | 81 | FloatTy::F32 => sym_str.parse::<f32>().map(|f| formatter.format(f)), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:82:17 | 82 | FloatTy::F64 => sym_str.parse::<f64>().map(|f| formatter.format(f)), | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:118:9 | 118 | FloatTy::F32 => f32::DIGITS, | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:119:9 | 119 | FloatTy::F64 => f64::DIGITS, | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:88:16 | 88 | if let LitKind::Str(ref lit, _) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `Abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:104:99 | 104 | hir::intravisit::FnKind::Method(_, &hir::MethodSig { header: hir::FnHeader { abi: Abi::Rust, .. }, .. }, _, _) | | ^^^ Use of undeclared type or module `Abi` error[E0433]: failed to resolve. Use of undeclared type or module `Abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:105:76 | 105 | hir::intravisit::FnKind::ItemFn(_, _, hir::FnHeader { abi: Abi::Rust, .. }, _, _) => self.check_arg_number(cx, decl, span), | ^^^ Use of undeclared type or module `Abi` error[E0433]: failed to resolve. Use of undeclared type or module `Abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:116:34 | 116 | if sig.header.abi == Abi::Rust { | ^^^ Use of undeclared type or module `Abi` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:53:16 | 53 | if let ExprKind::If(ref cond, _, Some(ref els)) = item.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:54:20 | 54 | if let ExprKind::Block(..) = els.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:56:21 | 56 | ExprKind::Unary(UnOp::Not, _) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `UnOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:56:37 | 56 | ExprKind::Unary(UnOp::Not, _) => { | ^^^^ Use of undeclared type or module `UnOp` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:65:21 | 65 | ExprKind::Binary(ref kind, _, _) if kind.node == BinOpKind::Ne => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:65:70 | 65 | ExprKind::Binary(ref kind, _, _) if kind.node == BinOpKind::Ne => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `RangeLimits` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:173:60 | 173 | Some(Some(Constant::Int(x))) => if range.limits == RangeLimits::Closed { | ^^^^^^^^^^^ Use of undeclared type or module `RangeLimits` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:57:16 | 57 | if let LitKind::Int(value, ..) = lit.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:66:14 | 66 | (BinOpKind::Ge, &ExprKind::Binary(ref lhskind, ref lhslhs, ref lhsrhs), _) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:66:30 | 66 | (BinOpKind::Ge, &ExprKind::Binary(ref lhskind, ref lhslhs, ref lhsrhs), _) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:69:22 | 69 | (BinOpKind::Add, &ExprKind::Lit(ref lit), _) if self.check_lit(lit, -1) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:69:39 | 69 | (BinOpKind::Add, &ExprKind::Lit(ref lit), _) if self.check_lit(lit, -1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:73:22 | 73 | (BinOpKind::Sub, _, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:73:42 | 73 | (BinOpKind::Sub, _, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:80:14 | 80 | (BinOpKind::Ge, _, &ExprKind::Binary(ref rhskind, ref rhslhs, ref rhsrhs)) | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:80:33 | 80 | (BinOpKind::Ge, _, &ExprKind::Binary(ref rhskind, ref rhslhs, ref rhsrhs)) | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:81:36 | 81 | if rhskind.node == BinOpKind::Add => | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:85:23 | 85 | (&ExprKind::Lit(ref lit), _) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:88:26 | 88 | (_, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:95:14 | 95 | (BinOpKind::Le, &ExprKind::Binary(ref lhskind, ref lhslhs, ref lhsrhs), _) | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:95:30 | 95 | (BinOpKind::Le, &ExprKind::Binary(ref lhskind, ref lhslhs, ref lhsrhs), _) | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:96:36 | 96 | if lhskind.node == BinOpKind::Add => | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:100:23 | 100 | (&ExprKind::Lit(ref lit), _) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:103:26 | 103 | (_, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:110:14 | 110 | (BinOpKind::Le, _, &ExprKind::Binary(ref rhskind, ref rhslhs, ref rhsrhs)) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:110:33 | 110 | (BinOpKind::Le, _, &ExprKind::Binary(ref rhskind, ref rhslhs, ref rhsrhs)) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:113:22 | 113 | (BinOpKind::Add, &ExprKind::Lit(ref lit), _) if self.check_lit(lit, -1) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:113:39 | 113 | (BinOpKind::Add, &ExprKind::Lit(ref lit), _) if self.check_lit(lit, -1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:117:22 | 117 | (BinOpKind::Sub, _, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:117:42 | 117 | (BinOpKind::Sub, _, &ExprKind::Lit(ref lit)) if self.check_lit(lit, 1) => { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:136:13 | 136 | BinOpKind::Ge => ">", | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `BinOpKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:137:13 | 137 | BinOpKind::Le => "<", | ^^^^^^^^^ Use of undeclared type or module `BinOpKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:161:16 | 161 | if let ExprKind::Binary(ref kind, ref lhs, ref rhs) = item.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `StmtKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:53:43 | 53 | .skip_while(|s| matches!(**s, StmtKind::Item(..))); | ^^^^^^^^ Use of undeclared type or module `StmtKind` error[E0433]: failed to resolve. Use of undeclared type or module `StmtKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:57:20 | 57 | if let StmtKind::Item(ref it) = *stmt { | ^^^^^^^^ Use of undeclared type or module `StmtKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:61:24 | 61 | if let ItemKind::MacroDef(..) = it.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:211:15 | 211 | node: LitKind::Int(lit, _), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:105:9 | 105 | GenericParamKind::Type { .. } => Some(param), | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:106:9 | 106 | GenericParamKind::Lifetime { .. } => None, | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericBound` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:115:20 | 115 | if let GenericBound::Trait(ref trait_ref, _) = *bound { | ^^^^^^^^^^^^ Use of undeclared type or module `GenericBound` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:125:25 | 125 | GenericArg::Lifetime(lt) => Some(lt), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:126:25 | 126 | GenericArg::Type(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:241:16 | 241 | if let GenericParamKind::Lifetime { .. } = par.kind { | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:309:21 | 309 | GenericArg::Lifetime(_) => true, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:310:21 | 310 | GenericArg::Type(_) => false, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericBound` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:350:40 | 350 | if let GenericBound::Outlives(_) = *bound { | ^^^^^^^^^^^^ Use of undeclared type or module `GenericBound` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:440:16 | 440 | if let GenericParamKind::Type { .. } = param.kind { | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:452:13 | 452 | GenericParamKind::Lifetime { .. } => Some((par.name.ident().name, par.span)), | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `keywords` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:473:42 | 473 | if lifetime.name.ident().name != keywords::Invalid.name() && lifetime.name.ident().name != "'static" { | ^^^^^^^^ Use of undeclared type or module `keywords` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:287:16 | 287 | if let ExprKind::Lit(ref lit) = expr.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:296:13 | 296 | LitKind::Int(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:310:13 | 310 | LitKind::Float(..) | LitKind::FloatUnsuffixed(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:310:34 | 310 | LitKind::Float(..) | LitKind::FloatUnsuffixed(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:427:16 | 427 | if let ExprKind::Lit(ref lit) = expr.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:442:20 | 442 | if let LitKind::Int(..) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:299:33 | 299 | LitKind::Bool(true) => Some((&*arms[0].body, &*arms[1].body)), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:300:33 | 300 | LitKind::Bool(false) => Some((&*arms[1].body, &*arms[0].body)), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Could not find `VisibilityKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:843:65 | 843 | let lint = if item.vis.node == hir::VisibilityKind::Public { | ^^^^^^^^^^^^^^ Could not find `VisibilityKind` in `hir` error[E0433]: failed to resolve. Could not find `GenericParamKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2095:18 | 2095 | hir::GenericParamKind::Type { .. } => { | ^^^^^^^^^^^^^^^^ Could not find `GenericParamKind` in `hir` error[E0433]: failed to resolve. Could not find `GenericBound` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2097:33 | 2097 | if let hir::GenericBound::Trait(ref ptr, ..) = *bound { | ^^^^^^^^^^^^ Could not find `GenericBound` in `hir` error[E0433]: failed to resolve. Could not find `GenericArg` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2107:46 | 2107 | hir::GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Could not find `GenericArg` in `hir` error[E0433]: failed to resolve. Use of undeclared type or module `ExpnFormat` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:561:53 | 561 | .map_or(false, |info| matches!(info.format, ExpnFormat::MacroAttribute(_))) | ^^^^^^^^^^ Use of undeclared type or module `ExpnFormat` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:576:16 | 576 | if let LitKind::Int(value, ..) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:192:20 | 192 | if let GenericParamKind::Type { .. } = param.kind { | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:207:16 | 207 | if let PatKind::Struct(ref npat, ref pfields, _) = pat.node { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:216:43 | 216 | if field.node.pat.node == PatKind::Wild { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:234:47 | 234 | if field.node.pat.node != PatKind::Wild { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:241:47 | 241 | if field.node.pat.node == PatKind::Wild { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:270:20 | 270 | if let PatKind::Ident(_, ident, None) = arg.pat.node { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:298:13 | 298 | ExprKind::Call(ref paren, _) => if let ExprKind::Paren(ref closure) = paren.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:298:52 | 298 | ExprKind::Call(ref paren, _) => if let ExprKind::Paren(ref closure) = paren.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:299:24 | 299 | if let ExprKind::Closure(_, _, _, ref decl, ref block, _) = closure.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:312:13 | 312 | ExprKind::Unary(UnOp::Neg, ref inner) => if let ExprKind::Unary(UnOp::Neg, _) = inner.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `UnOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:312:29 | 312 | ExprKind::Unary(UnOp::Neg, ref inner) => if let ExprKind::Unary(UnOp::Neg, _) = inner.node { | ^^^^ Use of undeclared type or module `UnOp` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:312:61 | 312 | ExprKind::Unary(UnOp::Neg, ref inner) => if let ExprKind::Unary(UnOp::Neg, _) = inner.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `UnOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:312:77 | 312 | ExprKind::Unary(UnOp::Neg, ref inner) => if let ExprKind::Unary(UnOp::Neg, _) = inner.node { | ^^^^ Use of undeclared type or module `UnOp` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:320:13 | 320 | ExprKind::Lit(ref lit) => self.check_lit(cx, lit), | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `StmtKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:328:24 | 328 | if let StmtKind::Local(ref local) = w[0].node; | ^^^^^^^^ Use of undeclared type or module `StmtKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:330:24 | 330 | if let ExprKind::Closure(..) = t.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:331:24 | 331 | if let PatKind::Ident(_, ident, _) = local.pat.node; | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `StmtKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:332:24 | 332 | if let StmtKind::Semi(ref second) = w[1].node; | ^^^^^^^^ Use of undeclared type or module `StmtKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:333:24 | 333 | if let ExprKind::Assign(_, ref call) = second.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:334:24 | 334 | if let ExprKind::Call(ref closure, _) = call.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:335:24 | 335 | if let ExprKind::Path(_, ref path) = closure.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:354:20 | 354 | if let LitKind::Int(value, ..) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:407:20 | 407 | if let LitKind::Float(..) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:203:40 | 203 | ExprLit(ref lit_ptr) => if let LitKind::Bool(value) = lit_ptr.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `Abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:76:34 | 76 | if header.abi != Abi::Rust { | ^^^ Use of undeclared type or module `Abi` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:223:37 | 223 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:224:37 | 224 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Could not find `GenericParamKind` in `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:107:34 | 107 | hir::GenericParamKind::Type { .. } => true, | ^^^^^^^^^^^^^^^^ Could not find `GenericParamKind` in `hir` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:107:13 | 107 | PatKind::Ident(_, ident, _) => self.check_name(ident.span, ident.name), | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `PatKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:108:13 | 108 | PatKind::Struct(_, ref fields, _) => for field in fields { | ^^^^^^^ Use of undeclared type or module `PatKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:315:16 | 315 | if let ItemKind::Fn(ref decl, _, _, ref blk) = item.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `ImplItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:321:16 | 321 | if let ImplItemKind::Method(ref sig, ref blk) = item.node { | ^^^^^^^^^^^^ Use of undeclared type or module `ImplItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:72:31 | 72 | node: LitKind::Bool(lit), | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:91:16 | 91 | if let LitKind::Str(ref string, _) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:44:16 | 44 | if let ExprKind::Binary(Spanned { node: op, .. }, ref left, ref right) = expr.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:91:16 | 91 | if let ExprKind::Unary(UnOp::Neg, ref rhs) = expr.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `UnOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:91:32 | 91 | if let ExprKind::Unary(UnOp::Neg, ref rhs) = expr.node { | ^^^^ Use of undeclared type or module `UnOp` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:92:20 | 92 | if let ExprKind::MethodCall(_, ref args) = rhs.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:94:28 | 94 | if let ExprKind::Lit(ref lit) = slf.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:96:29 | 96 | LitKind::Int(..) | LitKind::Float(..) | LitKind::FloatUnsuffixed(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:96:48 | 96 | LitKind::Int(..) | LitKind::Float(..) | LitKind::FloatUnsuffixed(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:96:69 | 96 | LitKind::Int(..) | LitKind::Float(..) | LitKind::FloatUnsuffixed(..) => { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:117:9 | 117 | ExprKind::Binary(Spanned { node: op, .. }, _, _) => is_arith_op(op), | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0408]: variable `BitAnd` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:125:9 | 125 | BitXor | BitAnd | BitOr | Shl | Shr => true, | ^^^^^^ ------ ^^^^^ ^^^ ^^^ pattern doesn't bind `BitAnd` | | | | | | | | | pattern doesn't bind `BitAnd` | | | pattern doesn't bind `BitAnd` | | variable not in all patterns | pattern doesn't bind `BitAnd` error[E0408]: variable `BitOr` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:125:9 | 125 | BitXor | BitAnd | BitOr | Shl | Shr => true, | ^^^^^^ ^^^^^^ ----- ^^^ ^^^ pattern doesn't bind `BitOr` | | | | | | | | | pattern doesn't bind `BitOr` | | | variable not in all patterns | | pattern doesn't bind `BitOr` | pattern doesn't bind `BitOr` error[E0408]: variable `BitXor` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:125:18 | 125 | BitXor | BitAnd | BitOr | Shl | Shr => true, | ------ ^^^^^^ ^^^^^ ^^^ ^^^ pattern doesn't bind `BitXor` | | | | | | | | | pattern doesn't bind `BitXor` | | | pattern doesn't bind `BitXor` | | pattern doesn't bind `BitXor` | variable not in all patterns error[E0408]: variable `Shl` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:125:9 | 125 | BitXor | BitAnd | BitOr | Shl | Shr => true, | ^^^^^^ ^^^^^^ ^^^^^ --- ^^^ pattern doesn't bind `Shl` | | | | | | | | | variable not in all patterns | | | pattern doesn't bind `Shl` | | pattern doesn't bind `Shl` | pattern doesn't bind `Shl` error[E0408]: variable `Shr` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:125:9 | 125 | BitXor | BitAnd | BitOr | Shl | Shr => true, | ^^^^^^ ^^^^^^ ^^^^^ ^^^ --- variable not in all patterns | | | | | | | | | pattern doesn't bind `Shr` | | | pattern doesn't bind `Shr` | | pattern doesn't bind `Shr` | pattern doesn't bind `Shr` error[E0408]: variable `Add` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:133:15 | 133 | Add | Sub | Mul | Div | Rem => true, | --- ^^^ ^^^ ^^^ ^^^ pattern doesn't bind `Add` | | | | | | | | | pattern doesn't bind `Add` | | | pattern doesn't bind `Add` | | pattern doesn't bind `Add` | variable not in all patterns error[E0408]: variable `Sub` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:133:9 | 133 | Add | Sub | Mul | Div | Rem => true, | ^^^ --- ^^^ ^^^ ^^^ pattern doesn't bind `Sub` | | | | | | | | | pattern doesn't bind `Sub` | | | pattern doesn't bind `Sub` | | variable not in all patterns | pattern doesn't bind `Sub` error[E0408]: variable `Div` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:133:9 | 133 | Add | Sub | Mul | Div | Rem => true, | ^^^ ^^^ ^^^ --- ^^^ pattern doesn't bind `Div` | | | | | | | | | variable not in all patterns | | | pattern doesn't bind `Div` | | pattern doesn't bind `Div` | pattern doesn't bind `Div` error[E0408]: variable `Mul` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:133:9 | 133 | Add | Sub | Mul | Div | Rem => true, | ^^^ ^^^ --- ^^^ ^^^ pattern doesn't bind `Mul` | | | | | | | | | pattern doesn't bind `Mul` | | | variable not in all patterns | | pattern doesn't bind `Mul` | pattern doesn't bind `Mul` error[E0408]: variable `Rem` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:133:9 | 133 | Add | Sub | Mul | Div | Rem => true, | ^^^ ^^^ ^^^ ^^^ --- variable not in all patterns | | | | | | | | | pattern doesn't bind `Rem` | | | pattern doesn't bind `Rem` | | pattern doesn't bind `Rem` | pattern doesn't bind `Rem` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:166:29 | 166 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:229:25 | 229 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:230:25 | 230 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `RangeLimits` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:135:72 | 135 | if let Some(higher::Range { start, end: Some(end), limits: RangeLimits::HalfOpen }) = higher::range(cx, expr); | ^^^^^^^^^^^ Use of undeclared type or module `RangeLimits` error[E0433]: failed to resolve. Use of undeclared type or module `RangeLimits` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:156:72 | 156 | if let Some(higher::Range { start, end: Some(end), limits: RangeLimits::Closed }) = higher::range(cx, expr); | ^^^^^^^^^^^ Use of undeclared type or module `RangeLimits` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:33:15 | 33 | while let ExprKind::Paren(ref child_e) = e.node { | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:42:20 | 42 | if let ExprKind::Unary(UnOp::Deref, ref deref_target) = e.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `UnOp` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:42:36 | 42 | if let ExprKind::Unary(UnOp::Deref, ref deref_target) = e.node; | ^^^^ Use of undeclared type or module `UnOp` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:43:20 | 43 | if let ExprKind::AddrOf(_, ref addrof_target) = without_parens(deref_target).node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:87:20 | 87 | if let ExprKind::Field(ref object, ref field_name) = e.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:88:20 | 88 | if let ExprKind::Paren(ref parened) = object.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `ExprKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:89:20 | 89 | if let ExprKind::AddrOf(_, ref inner) = parened.node; | ^^^^^^^^ Use of undeclared type or module `ExprKind` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:137:5 | 137 | Span::new(start, end, base.ctxt()) | ^^^^ Use of undeclared type or module `Span` error[E0408]: variable `Empty` is not bound in all patterns --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:158:9 | 157 | Empty | | ----- variable not in all patterns 158 | Anchor(_) => Some("the regex is unlikely to be useful as it is"), | ^^^^^^^^^ pattern doesn't bind `Empty` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:196:16 | 196 | if let LitKind::Str(ref r, style) = lit.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `StrStyle` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:198:33 | 198 | let offset = if let StrStyle::Raw(n) = style { 2 + n } else { 1 }; | ^^^^^^^^ Use of undeclared type or module `StrStyle` error[E0433]: failed to resolve. Use of undeclared type or module `FnKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:141:13 | 141 | FnKind::ItemFn(.., block) | FnKind::Method(.., block) => self.check_block_return(cx, block), | ^^^^^^ Use of undeclared type or module `FnKind` error[E0433]: failed to resolve. Use of undeclared type or module `FnKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:141:41 | 141 | FnKind::ItemFn(.., block) | FnKind::Method(.., block) => self.check_block_return(cx, block), | ^^^^^^ Use of undeclared type or module `FnKind` error[E0433]: failed to resolve. Use of undeclared type or module `FnKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:142:13 | 142 | FnKind::Closure(body) => self.check_final_expr(cx, body, Some(body.span)), | ^^^^^^ Use of undeclared type or module `FnKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:154:28 | 154 | if let LitKind::Str(ref lit_content, _) = lit.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:461:13 | 461 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:462:13 | 462 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `Abi` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:88:34 | 88 | if header.abi != Abi::Rust { | ^^^ Use of undeclared type or module `Abi` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:186:13 | 186 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:187:13 | 187 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:254:33 | 254 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:255:33 | 255 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:266:29 | 266 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:267:29 | 267 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:276:29 | 276 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:277:29 | 277 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:308:21 | 308 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:309:21 | 309 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `CompilerDesugaringKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:543:44 | 543 | callee.span.is_compiler_desugaring(CompilerDesugaringKind::QuestionMark) | ^^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `CompilerDesugaringKind` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:757:13 | 757 | IntTy::Isize => tcx.data_layout.pointer_size.bits(), | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:758:13 | 758 | IntTy::I8 => 8, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:759:13 | 759 | IntTy::I16 => 16, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:760:13 | 760 | IntTy::I32 => 32, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:761:13 | 761 | IntTy::I64 => 64, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:762:13 | 762 | IntTy::I128 => 128, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:765:13 | 765 | UintTy::Usize => tcx.data_layout.pointer_size.bits(), | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:766:13 | 766 | UintTy::U8 => 8, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:767:13 | 767 | UintTy::U16 => 16, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:768:13 | 768 | UintTy::U32 => 32, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:769:13 | 769 | UintTy::U64 => 64, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:770:13 | 770 | UintTy::U128 => 128, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:778:19 | 778 | ty::TyInt(IntTy::Isize) | ty::TyUint(UintTy::Usize) => true, | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:778:46 | 778 | ty::TyInt(IntTy::Isize) | ty::TyUint(UintTy::Usize) => true, | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:959:21 | 959 | LitKind::Int(_, LitIntType::Unsuffixed) | LitKind::FloatUnsuffixed(_) => {}, | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitIntType` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:959:37 | 959 | LitKind::Int(_, LitIntType::Unsuffixed) | LitKind::FloatUnsuffixed(_) => {}, | ^^^^^^^^^^ Use of undeclared type or module `LitIntType` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:959:63 | 959 | LitKind::Int(_, LitIntType::Unsuffixed) | LitKind::FloatUnsuffixed(_) => {}, | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:974:59 | 974 | let to_nbits = if let ty::TyFloat(FloatTy::F32) = cast_to.sty { | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1015:46 | 1015 | if let (&ty::TyFloat(FloatTy::F64), &ty::TyFloat(FloatTy::F32)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1015:74 | 1015 | if let (&ty::TyFloat(FloatTy::F64), &ty::TyFloat(FloatTy::F32)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1024:46 | 1024 | if let (&ty::TyFloat(FloatTy::F32), &ty::TyFloat(FloatTy::F64)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `FloatTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1024:74 | 1024 | if let (&ty::TyFloat(FloatTy::F32), &ty::TyFloat(FloatTy::F64)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ Use of undeclared type or module `FloatTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1035:74 | 1035 | if cast_to.is_numeric() && cast_to.sty != ty::TyUint(UintTy::Usize){ | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `GenericParamKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1229:25 | 1229 | GenericParamKind::Lifetime { .. } => true, | ^^^^^^^^^^^^^^^^ Use of undeclared type or module `GenericParamKind` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1294:24 | 1294 | if let LitKind::Char(_) = l.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1295:35 | 1295 | if ty::TyUint(UintTy::U8) == cx.tables.expr_ty(expr).sty && !in_macro(expr.span) { | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1576:17 | 1576 | IntTy::I8 => (FullInt::S(i128::from(i8::min_value())), FullInt::S(i128::from(i8::max_value()))), | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1577:17 | 1577 | IntTy::I16 => ( | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1581:17 | 1581 | IntTy::I32 => ( | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1585:17 | 1585 | IntTy::I64 => ( | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1589:17 | 1589 | IntTy::I128 => (FullInt::S(i128::min_value() as i128), FullInt::S(i128::max_value() as i128)), | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `IntTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1590:17 | 1590 | IntTy::Isize => (FullInt::S(isize::min_value() as i128), FullInt::S(isize::max_value() as i128)), | ^^^^^ Use of undeclared type or module `IntTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1593:17 | 1593 | UintTy::U8 => (FullInt::U(u128::from(u8::min_value())), FullInt::U(u128::from(u8::max_value()))), | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1594:17 | 1594 | UintTy::U16 => ( | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1598:17 | 1598 | UintTy::U32 => ( | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1602:17 | 1602 | UintTy::U64 => ( | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1606:17 | 1606 | UintTy::U128 => (FullInt::U(u128::min_value() as u128), FullInt::U(u128::max_value() as u128)), | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `UintTy` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1607:17 | 1607 | UintTy::Usize => (FullInt::U(usize::min_value() as u128), FullInt::U(usize::max_value() as u128)), | ^^^^^^ Use of undeclared type or module `UintTy` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1813:25 | 1813 | Span::new(pos, pos, item.span.data().ctxt) | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `Span` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1847:29 | 1847 | Span::new(pos, pos, item.span.data().ctxt) | ^^^^ Use of undeclared type or module `Span` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1884:21 | 1884 | GenericArg::Type(ty) => Some(ty), | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1885:21 | 1885 | GenericArg::Lifetime(_) => None, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:75:20 | 75 | if let LitKind::Str(_, _) = lit.node { | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0433]: failed to resolve. Use of undeclared type or module `ItemKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:38:16 | 38 | if let ItemKind::Use(ref use_tree) = item.node { | ^^^^^^^^ Use of undeclared type or module `ItemKind` error[E0433]: failed to resolve. Use of undeclared type or module `UseTreeKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:46:9 | 46 | UseTreeKind::Simple(Some(new_name), ..) => { | ^^^^^^^^^^^ Use of undeclared type or module `UseTreeKind` error[E0433]: failed to resolve. Use of undeclared type or module `UseTreeKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:55:9 | 55 | UseTreeKind::Simple(None, ..) | | ^^^^^^^^^^^ Use of undeclared type or module `UseTreeKind` error[E0433]: failed to resolve. Use of undeclared type or module `UseTreeKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:56:9 | 56 | UseTreeKind::Glob => {}, | ^^^^^^^^^^^ Use of undeclared type or module `UseTreeKind` error[E0433]: failed to resolve. Use of undeclared type or module `UseTreeKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:57:9 | 57 | UseTreeKind::Nested(ref nested_use_tree) => { | ^^^^^^^^^^^ Use of undeclared type or module `UseTreeKind` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:64:25 | 64 | GenericArg::Lifetime(_) => true, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `GenericArg` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:65:25 | 65 | GenericArg::Type(_) => false, | ^^^^^^^^^^ Use of undeclared type or module `GenericArg` error[E0433]: failed to resolve. Use of undeclared type or module `LitKind` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:436:16 | 436 | if let LitKind::Str(ref lit, _) = lit.node; | ^^^^^^^ Use of undeclared type or module `LitKind` error[E0412]: cannot find type `FloatTy` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:25:11 | 25 | impl From<FloatTy> for FloatWidth { | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 4 | use rustc::ty::layout::FloatTy; | error[E0412]: cannot find type `FloatTy` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:26:17 | 26 | fn from(ty: FloatTy) -> Self { | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 4 | use rustc::ty::layout::FloatTy; | error[E0412]: cannot find type `LitKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:157:36 | 157 | pub fn lit_to_constant<'tcx>(lit: &LitKind, ty: Ty<'tcx>) -> Constant { | ^^^^^^^ did you mean `PatKind`? error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:320:50 | 320 | fn ifthenelse(&mut self, cond: &Expr, then: &P<Expr>, otherwise: &Option<P<Expr>>) -> Option<Constant> { | ^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:320:78 | 320 | fn ifthenelse(&mut self, cond: &Expr, then: &P<Expr>, otherwise: &Option<P<Expr>>) -> Option<Constant> { | ^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:79:15 | 79 | (&ExprContinue(li), &ExprContinue(ri)) => { | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:79:34 | 79 | (&ExprContinue(li), &ExprContinue(ri)) => { | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:147:35 | 147 | fn eq_exprs(&mut self, left: &P<[Expr]>, right: &P<[Expr]>) -> bool { | ^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:147:54 | 147 | fn eq_exprs(&mut self, left: &P<[Expr]>, right: &P<[Expr]>) -> bool { | ^ not found in this scope error[E0412]: cannot find type `GenericArg` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:155:41 | 155 | fn eq_generic_arg(&mut self, left: &GenericArg, right: &GenericArg) -> bool { | ^^^^^^^^^^ did you mean `Generics`? error[E0412]: cannot find type `GenericArg` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:155:61 | 155 | fn eq_generic_arg(&mut self, left: &GenericArg, right: &GenericArg) -> bool { | ^^^^^^^^^^ did you mean `Generics`? error[E0412]: cannot find type `GenericArgs` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:212:45 | 212 | fn eq_path_parameters(&mut self, left: &GenericArgs, right: &GenericArgs) -> bool { | ^^^^^^^^^^^ did you mean `Generics`? error[E0412]: cannot find type `GenericArgs` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:212:66 | 212 | fn eq_path_parameters(&mut self, left: &GenericArgs, right: &GenericArgs) -> bool { | ^^^^^^^^^^^ did you mean `Generics`? error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:355:13 | 355 | ExprContinue(i) => { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:356:37 | 356 | let c: fn(_) -> _ = ExprContinue; | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:557:38 | 557 | pub fn hash_exprs(&mut self, e: &P<[Expr]>) { | ^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:563:36 | 563 | pub fn hash_name(&mut self, n: Name) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:28:11 | 28 | BinOp(AssocOp, Cow<'a, str>), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:55:22 | 55 | hir::ExprContinue(..) | | ^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:266:23 | 266 | pub fn make_assoc(op: AssocOp, lhs: &Sugg, rhs: &Sugg) -> Sugg<'static> { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:268:22 | 268 | fn is_shift(op: &AssocOp) -> bool { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:273:22 | 273 | fn is_arith(op: &AssocOp) -> bool { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:283:25 | 283 | fn needs_paren(op: &AssocOp, other: &AssocOp, dir: Associativity) -> bool { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:283:42 | 283 | fn needs_paren(op: &AssocOp, other: &AssocOp, dir: Associativity) -> bool { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `token_to_string` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:326:60 | 326 | AssocOp::AssignOp(op) => format!("{} {}= {}", lhs, token_to_string(&token::BinOp(op)), rhs), | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:362:23 | 362 | fn associativity(op: &AssocOp) -> Associativity { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `AssignOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:366:36 | 366 | ObsoleteInPlace | Assign | AssignOp(_) => Associativity::Right, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:384:41 | 384 | fn hirbinop2assignop(op: hir::BinOp) -> AssocOp { | ^^^^^^^ not found in this scope error[E0425]: cannot find value `Plus` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:389:18 | 389 | BiAdd => Plus, | ^^^^ not found in this scope error[E0425]: cannot find value `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:390:21 | 390 | BiBitAnd => And, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 6 | use rustc::traits::Goal::And; | error[E0425]: cannot find value `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:391:20 | 391 | BiBitOr => Or, | ^^ did you mean `Ok`? error[E0425]: cannot find value `Caret` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:392:21 | 392 | BiBitXor => Caret, | ^^^^^ not found in this scope error[E0425]: cannot find value `Slash` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:393:18 | 393 | BiDiv => Slash, | ^^^^^ not found in this scope error[E0425]: cannot find value `Star` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:394:18 | 394 | BiMul => Star, | ^^^^ not found in this scope error[E0425]: cannot find value `Percent` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:395:18 | 395 | BiRem => Percent, | ^^^^^^^ not found in this scope error[E0425]: cannot find value `Shl` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:396:18 | 396 | BiShl => Shl, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 6 | use rustc::mir::BinOp::Shl; | error[E0425]: cannot find value `Shr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:397:18 | 397 | BiShr => Shr, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 6 | use rustc::mir::BinOp::Shr; | error[E0425]: cannot find value `Minus` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:398:18 | 398 | BiSub => Minus, | ^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:404:41 | 404 | fn astbinop2assignop(op: ast::BinOp) -> AssocOp { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:425:54 | 425 | fn indentation<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Option<String> { | ^^^^ not found in this scope error[E0425]: cannot find function `CharPos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:432:26 | 432 | if lo.col == CharPos(pos) { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:456:77 | 456 | fn suggest_item_with_attr<D: Display + ?Sized>(&mut self, cx: &T, item: Span, msg: &str, attr: &D); | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:470:54 | 470 | fn suggest_prepend_item(&mut self, cx: &T, item: Span, msg: &str, new_item: &str); | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:483:53 | 483 | fn suggest_remove_item(&mut self, cx: &T, item: Span, msg: &str); | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:487:77 | 487 | fn suggest_item_with_attr<D: Display + ?Sized>(&mut self, cx: &T, item: Span, msg: &str, attr: &D) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:495:54 | 495 | fn suggest_prepend_item(&mut self, cx: &T, item: Span, msg: &str, new_item: &str) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:516:53 | 516 | fn suggest_remove_item(&mut self, cx: &T, item: Span, msg: &str) { | ^^^^ not found in this scope error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:138:22 | 138 | fn has_attr(attrs: &[Attribute]) -> bool { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:303:14 | 303 | hir::ExprContinue(_) => println!("{}Again", ind), | ^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:383:14 | 383 | hir::ItemExistential(..) => { | ^^^^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `AstCrate` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:65:58 | 65 | fn check_crate(&mut self, cx: &EarlyContext, krate: &AstCrate) { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:79:51 | 79 | let mut last_name: Option<LocalInternedString> = None; | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:106:29 | 106 | declared_lints: HashMap<Name, Span>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:106:35 | 106 | declared_lints: HashMap<Name, Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:107:31 | 107 | registered_lints: HashSet<Name>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:188:29 | 188 | output: &'a mut HashSet<Name>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:197:51 | 197 | fn visit_path(&mut self, path: &'tcx Path, _: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:103:63 | 103 | PrintVisitor::new("var").visit_variant(var, generics, DUMMY_NODE_ID); | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:644:22 | 644 | fn has_attr(attrs: &[Attribute]) -> bool { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:14:18 | 14 | ) -> Option<Vec<(Span, Cow<'static, str>)>> { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:25:11 | 25 | name: Name, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:28:18 | 28 | ) -> Option<Vec<(Span, Cow<'static, str>)>> { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:46:11 | 46 | name: Name, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:48:17 | 48 | spans: Vec<(Span, Cow<'static, str>)>, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:81:42 | 81 | fn get_binding_name(arg: &Arg) -> Option<Name> { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:14:107 | 14 | pub fn mutated_variables<'a, 'tcx: 'a>(expr: &'tcx Expr, cx: &'a LateContext<'a, 'tcx>) -> Option<HashSet<NodeId>> { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:42:27 | 42 | used_mutably: HashSet<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:65:30 | 65 | fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:65:41 | 65 | fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {} | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:71:29 | 71 | fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:71:40 | 71 | fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:77:29 | 77 | fn mutate(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: MutateMode) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:77:40 | 77 | fn mutate(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: MutateMode) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:81:40 | 81 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:81:51 | 81 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:38:30 | 38 | pub type MethodArgs = HirVec<P<Expr>>; | ^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:45:38 | 45 | pub fn differing_macro_contexts(lhs: Span, rhs: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:45:49 | 45 | pub fn differing_macro_contexts(lhs: Span, rhs: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:49:42 | 49 | pub fn in_constant(cx: &LateContext, id: NodeId) -> bool { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:58:23 | 58 | pub fn in_macro(span: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:69:34 | 69 | pub fn is_range_expression(span: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:81:64 | 81 | pub fn in_external_macro<'a, T: LintContext<'a>>(cx: &T, span: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `ExpnInfo` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:85:60 | 85 | fn in_macro_ext<'a, T: LintContext<'a>>(cx: &T, info: &ExpnInfo) -> bool { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:176:36 | 176 | pub fn match_var(expr: &Expr, var: Name) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:353:63 | 353 | pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<Name> { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:364:42 | 364 | pub fn get_pat_name(pat: &Pat) -> Option<Name> { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:374:11 | 374 | name: Name, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:379:33 | 379 | fn visit_name(&mut self, _: Span, name: Name) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:379:45 | 379 | fn visit_name(&mut self, _: Span, name: Name) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:390:28 | 390 | pub fn contains_name(name: Name, expr: &Expr) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:406:58 | 406 | pub fn snippet<'a, 'b, T: LintContext<'b>>(cx: &T, span: Span, default: &'a str) -> Cow<'a, str> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:411:58 | 411 | pub fn snippet_opt<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Option<String> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:425:64 | 425 | pub fn snippet_block<'a, 'b, T: LintContext<'b>>(cx: &T, span: Span, default: &'a str) -> Cow<'a, str> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:431:64 | 431 | pub fn last_line_of_span<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Span { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:431:73 | 431 | pub fn last_line_of_span<'a, T: LintContext<'a>>(cx: &T, span: Span) -> Span { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:505:18 | 505 | let node_id: NodeId = e.id; | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:506:20 | 506 | let parent_id: NodeId = map.get_parent_node(node_id); | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:519:76 | 519 | pub fn get_enclosing_block<'a, 'tcx: 'a>(cx: &LateContext<'a, 'tcx>, node: NodeId) -> Option<&'tcx Block> { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:543:38 | 543 | pub struct DiagnosticWrapper<'a>(pub DiagnosticBuilder<'a>); | ^^^^^^^^^^^^^^^^^ did you mean `DiagnosticWrapper`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:563:75 | 563 | pub fn span_lint<'a, T: LintContext<'a>>(cx: &T, lint: &'static Lint, sp: Span, msg: &str) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:570:11 | 570 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:582:11 | 582 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:584:16 | 584 | note_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:603:28 | 603 | F: for<'b> FnOnce(&mut DiagnosticBuilder<'b>), | ^^^^^^^^^^^^^^^^^ did you mean `DiagnosticWrapper`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:599:9 | 599 | sp: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:627:9 | 627 | sp: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:645:29 | 645 | I: IntoIterator<Item = (Span, String)>, | ^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:643:35 | 643 | pub fn multispan_sugg<I>(db: &mut DiagnosticBuilder, help_msg: String, sugg: I) | ^^^^^^^^^^^^^^^^^ did you mean `DiagnosticWrapper`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:766:29 | 766 | pub fn is_expn_of(mut span: Span, name: &str) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:766:57 | 766 | pub fn is_expn_of(mut span: Span, name: &str) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:790:32 | 790 | pub fn is_direct_expn_of(span: Span, name: &str) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:790:60 | 790 | pub fn is_direct_expn_of(span: Span, name: &str) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:866:65 | 866 | pub fn return_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, fn_item: NodeId) -> Ty<'tcx> { | ^^^^^^ did you mean `BodyId`? error[E0425]: cannot find value `DUMMY_SP` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:895:61 | 895 | !ty.moves_by_default(cx.tcx.global_tcx(), cx.param_env, DUMMY_SP) | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:1065:62 | 1065 | pub fn is_allowed(cx: &LateContext, lint: &'static Lint, id: NodeId) -> bool { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:1141:63 | 1141 | pub fn any_parent_is_automatically_derived(tcx: TyCtxt, node: NodeId) -> bool { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:72:38 | 72 | fn check_lit(cx: &LateContext, lit: &Lit, e: &Expr) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:43:18 | 43 | span: Option<Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:134:75 | 134 | fn check_attribute(&mut self, cx: &LateContext<'a, 'tcx>, attr: &'tcx Attribute) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:263:40 | 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:263:52 | 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:263:67 | 263 | fn check_attrs(cx: &LateContext, span: Span, name: Name, attrs: &[Attribute]) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:314:41 | 314 | fn check_semver(cx: &LateContext, span: Span, lit: &Lit) { | ^^^^ not found in this scope error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:314:53 | 314 | fn check_semver(cx: &LateContext, span: Span, lit: &Lit) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `NestedMetaItem` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:328:18 | 328 | fn is_word(nmi: &NestedMetaItem, expected: &str) -> bool { | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:341:49 | 341 | fn is_present_in_source(cx: &LateContext, span: Span) -> bool { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:159:90 | 159 | fn check_compare(cx: &LateContext, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u128, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:170:110 | 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:271:49 | 271 | fn check_ineffective_lt(cx: &LateContext, span: Span, m: u128, c: u128, op: &str) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:287:49 | 287 | fn check_ineffective_gt(cx: &LateContext, span: Span, m: u128, c: u128, op: &str) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:69:12 | 69 | _: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:70:12 | 70 | _: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:132:33 | 132 | id: DUMMY_NODE_ID, | ^^^^^^^^^^^^^ did you mean `DUMMY_HIR_ID`? error[E0425]: cannot find value `DUMMY_SP` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:134:35 | 134 | span: DUMMY_SP, | ^^^^^^^^ not found in this scope error[E0425]: cannot find function `dummy_spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:136:46 | 136 | node: ExprBinary(dummy_spanned(op), lhs.clone(), rhs.clone()), | ^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Not` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:222:13 | 222 | Not(ref inner) => match **inner { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::Not; | error[E0531]: cannot find tuple struct/variant `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:223:17 | 223 | And(_) | Or(_) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:223:26 | 223 | And(_) | Or(_) => { | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `Term` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:229:17 | 229 | Term(n) => { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Not` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:240:32 | 240 | True | False | Not(_) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::Not; | error[E0531]: cannot find tuple struct/variant `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:245:13 | 245 | And(ref v) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:250:28 | 250 | if let Or(_) = *inner { | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:259:13 | 259 | Or(ref v) => { | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `Term` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:267:13 | 267 | Term(n) => { | ^^^^ not found in this scope error[E0425]: cannot find value `False` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:291:17 | 291 | True => False, | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use open_options::Argument::False; | error[E0425]: cannot find value `True` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:292:18 | 292 | False => True, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use open_options::Argument::True; | error[E0531]: cannot find tuple struct/variant `Term` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:293:13 | 293 | t @ Term(_) => Not(Box::new(t)), | ^^^^ not found in this scope error[E0425]: cannot find function `Not` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:293:24 | 293 | t @ Term(_) => Not(Box::new(t)), | ^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::mir::Mutability::Not; | 1 | use rustc::mir::UnOp::Not; | 1 | use rustc::traits::Goal::Not; | error[E0531]: cannot find tuple struct/variant `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:294:9 | 294 | And(mut v) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0425]: cannot find value `True` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:296:61 | 296 | *el = simple_negate(::std::mem::replace(el, True)); | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use open_options::Argument::True; | error[E0425]: cannot find function `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:298:13 | 298 | Or(v) | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:300:9 | 300 | Or(mut v) => { | ^^ did you mean `Ok`? error[E0425]: cannot find value `True` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:302:61 | 302 | *el = simple_negate(::std::mem::replace(el, True)); | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use open_options::Argument::True; | error[E0425]: cannot find function `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:304:13 | 304 | And(v) | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0531]: cannot find tuple struct/variant `Not` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:306:9 | 306 | Not(inner) => *inner, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::Not; | error[E0531]: cannot find tuple struct/variant `Not` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:321:13 | 321 | Not(ref inner) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::Not; | error[E0531]: cannot find tuple struct/variant `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:323:21 | 323 | And(_) | Or(_) => stats.ops += 1, // brackets are also operations | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:323:30 | 323 | And(_) | Or(_) => stats.ops += 1, // brackets are also operations | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `And` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:328:13 | 328 | And(ref v) | Or(ref v) => { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::traits::Goal::And; | error[E0531]: cannot find tuple struct/variant `Or` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:328:26 | 328 | And(ref v) | Or(ref v) => { | ^^ did you mean `Ok`? error[E0531]: cannot find tuple struct/variant `Term` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:334:13 | 334 | Term(n) => stats.terminals[n as usize] += 1, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:95:20 | 95 | fn check_arg(name: Name, arg: Name, needle: &Expr) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:95:31 | 95 | fn check_arg(name: Name, arg: Name, needle: &Expr) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:99:41 | 99 | fn get_path_name(expr: &Expr) -> Option<Name> { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Ty` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:37:35 | 37 | fn visit_type(&mut self, ty: &Ty, cx: &EarlyContext) { | ^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::hir::Ty; | 1 | use rustc::ty::Ty; | error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:81:56 | 81 | fn check_item(&mut self, cx: &EarlyContext, item: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Item; | error[E0412]: cannot find type `SmallVector` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:235:37 | 235 | fn if_sequence(mut expr: &Expr) -> (SmallVector<&Expr>, SmallVector<&Block>) { | ^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `SmallVector` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:235:57 | 235 | fn if_sequence(mut expr: &Expr) -> (SmallVector<&Expr>, SmallVector<&Block>) { | ^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `SmallVector` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:237:21 | 237 | let mut blocks: SmallVector<&Block> = SmallVector::new(); | ^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:265:73 | 265 | fn bindings<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, pat: &Pat) -> HashMap<LocalInternedString, Ty<'tcx>> { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:266:89 | 266 | fn bindings_impl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, pat: &Pat, map: &mut HashMap<LocalInternedString, Ty<'tcx>>) { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:47:94 | 47 | fn check<'a, 'tcx: 'a>(&mut self, cx: &'a LateContext<'a, 'tcx>, body: &'tcx Body, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:120:15 | 120 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:121:18 | 121 | node_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:129:78 | 129 | fn enter_lint_attrs(&mut self, cx: &LateContext<'a, 'tcx>, attrs: &'tcx [Attribute]) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:133:77 | 133 | fn exit_lint_attrs(&mut self, cx: &LateContext<'a, 'tcx>, attrs: &'tcx [Attribute]) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:203:100 | 203 | fn report_cc_bug(cx: &LateContext, cc: u64, narms: u64, div: u64, shorts: u64, returns: u64, span: Span, id: NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:203:110 | 203 | fn report_cc_bug(cx: &LateContext, cc: u64, narms: u64, div: u64, shorts: u64, returns: u64, span: Span, id: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:89:11 | 89 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:89:58 | 89 | pub fn strip_doc_comment_decoration(comment: &str, span: Span) -> (String, Vec<(usize, Span)>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:89:88 | 89 | pub fn strip_doc_comment_decoration(comment: &str, span: Span) -> (String, Vec<(usize, Span)>) { | ^^^^ not found in this scope error[E0425]: cannot find function `BytePos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:100:58 | 100 | (doc.len(), span.with_lo(span.lo() + BytePos(prefix.len() as u32))), | ^^^^^^^ not found in this scope error[E0425]: cannot find function `BytePos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:115:66 | 115 | sizes.push((line.len() + 1, span.with_lo(span.lo() + BytePos(offset as u32)))); | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Text` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:175:18 | 175 | (Text(x), Text(y)) => { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Text` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:175:27 | 175 | (Text(x), Text(y)) => { | ^^^^ not found in this scope error[E0425]: cannot find function `Text` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:178:35 | 178 | Ok((x_offset, Text(x.into()))) | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:191:22 | 191 | spans: &[(usize, Span)], | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Start` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:201:13 | 201 | Start(CodeBlock(_)) | Start(Code) => in_code = true, | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::Start; | error[E0531]: cannot find tuple struct/variant `CodeBlock` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:201:19 | 201 | Start(CodeBlock(_)) | Start(Code) => in_code = true, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Start` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:201:35 | 201 | Start(CodeBlock(_)) | Start(Code) => in_code = true, | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::Start; | error[E0531]: cannot find tuple struct/variant `End` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:202:13 | 202 | End(CodeBlock(_)) | End(Code) => in_code = false, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::End; | error[E0531]: cannot find tuple struct/variant `CodeBlock` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:202:17 | 202 | End(CodeBlock(_)) | End(Code) => in_code = false, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `End` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:202:33 | 202 | End(CodeBlock(_)) | End(Code) => in_code = false, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::End; | error[E0531]: cannot find tuple struct/variant `Start` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:203:13 | 203 | Start(Link(link, _)) => in_link = Some(link), | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::Start; | error[E0531]: cannot find tuple struct/variant `Link` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:203:19 | 203 | Start(Link(link, _)) => in_link = Some(link), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `End` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:204:13 | 204 | End(Link(_, _)) => in_link = None, | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::End; | error[E0531]: cannot find tuple struct/variant `Link` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:204:17 | 204 | End(Link(_, _)) => in_link = None, | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Start` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:205:13 | 205 | Start(_tag) | End(_tag) => (), // We don't care about other tags | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::Start; | error[E0531]: cannot find tuple struct/variant `End` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:205:27 | 205 | Start(_tag) | End(_tag) => (), // We don't care about other tags | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use std::io::SeekFrom::End; | error[E0531]: cannot find tuple struct/variant `Html` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:206:13 | 206 | Html(_html) | InlineHtml(_html) => (), // HTML is weird, just ignore it | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `InlineHtml` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:206:27 | 206 | Html(_html) | InlineHtml(_html) => (), // HTML is weird, just ignore it | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `FootnoteReference` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:208:13 | 208 | FootnoteReference(text) | Text(text) => { | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Text` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:208:39 | 208 | FootnoteReference(text) | Text(text) => { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:234:77 | 234 | fn check_text(cx: &EarlyContext, valid_idents: &[String], text: &str, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:257:52 | 257 | fn check_word(cx: &EarlyContext, word: &str, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:47:15 | 47 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:33:56 | 33 | fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/duration_subsec.rs:41:31 | 41 | if let ExprBinary(Spanned { node: BiDiv, .. }, ref left, ref right) = expr.node; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/else_if_without_else.rs:51:60 | 51 | fn check_expr(&mut self, cx: &EarlyContext, mut item: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:116:11 | 116 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:37:74 | 37 | fn check_mod(&mut self, cx: &LateContext<'a, 'tcx>, m: &'tcx Mod, _: Span, _: NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:37:83 | 37 | fn check_mod(&mut self, cx: &LateContext<'a, 'tcx>, m: &'tcx Mod, _: Span, _: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:104:19 | 104 | modules: Vec<(LocalInternedString, String)>, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Variant` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:123:18 | 123 | fn var2str(var: &Variant) -> LocalInternedString { | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Variant; | error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:123:30 | 123 | fn var2str(var: &Variant) -> LocalInternedString { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `EnumDef` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:153:11 | 153 | def: &EnumDef, | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::EnumDef; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:156:11 | 156 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:242:63 | 242 | fn check_item_post(&mut self, _cx: &EarlyContext, _item: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Item; | error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:247:56 | 247 | fn check_item(&mut self, cx: &EarlyContext, item: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Item; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:52:44 | 52 | fn check(cx: &LateContext, e: &Expr, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:64:12 | 64 | _: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:65:18 | 65 | node_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:89:30 | 89 | fn consume(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, mode: ConsumeMode) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:89:41 | 89 | fn consume(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, mode: ConsumeMode) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:139:29 | 139 | fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, loan_cause: LoanCause) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:139:40 | 139 | fn borrow(&mut self, _: NodeId, _: Span, cmt: &cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, loan_cause: LoanCause) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:160:40 | 160 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:160:51 | 160 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:161:29 | 161 | fn mutate(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: MutateMode) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:161:40 | 161 | fn mutate(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: MutateMode) {} | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:127:13 | 127 | ExprContinue(_) | ExprBreak(_, _) | ExprRet(_) => self.report_diverging_sub_expr(e), | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Symbol` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:67:26 | 67 | fn check(&self, sym: Symbol, fty: FloatTy) -> Option<String> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `FloatTy` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:67:39 | 67 | fn check(&self, sym: Symbol, fty: FloatTy) -> Option<String> { | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::ty::layout::FloatTy; | error[E0412]: cannot find type `FloatTy` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:116:20 | 116 | fn max_digits(fty: FloatTy) -> u32 { | ^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::ty::layout::FloatTy; | error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:216:45 | 216 | fn unsugar_if(expr: &ast::Expr) -> Option<(&P<ast::Block>, &Option<P<ast::Expr>>)> { | ^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:216:68 | 216 | fn unsugar_if(expr: &ast::Expr) -> Option<(&P<ast::Block>, &Option<P<ast::Expr>>)> { | ^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:83:15 | 83 | span: Span, | ^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `FnHeader` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:95:56 | 95 | hir::intravisit::FnKind::ItemFn(_, _, hir::FnHeader { unsafety, .. }, _, _) => unsafety, | ^^^^^^^^ not found in `hir` error[E0422]: cannot find struct, variant or union type `FnHeader` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:104:83 | 104 | hir::intravisit::FnKind::Method(_, &hir::MethodSig { header: hir::FnHeader { abi: Abi::Rust, .. }, .. }, _, _) | | ^^^^^^^^ not found in `hir` error[E0422]: cannot find struct, variant or union type `FnHeader` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:105:60 | 105 | hir::intravisit::FnKind::ItemFn(_, _, hir::FnHeader { abi: Abi::Rust, .. }, _, _) => self.check_arg_number(cx, decl, span), | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:129:75 | 129 | fn check_arg_number(self, cx: &LateContext, decl: &hir::FnDecl, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:26:26 | 26 | try_desugar_arm: Vec<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:62:51 | 62 | fn check(cx: &LateContext, e: &Expr, m: i8, span: Span, arg: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:62:62 | 62 | fn check(cx: &LateContext, e: &Expr, m: i8, span: Span, arg: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:49:56 | 49 | fn check_expr(&mut self, cx: &EarlyContext, item: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 4 | use rustc::hir::Expr; | error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inline_fn_without_body.rs:46:40 | 46 | fn check_attrs(cx: &LateContext, name: Name, attrs: &[Attribute]) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inline_fn_without_body.rs:46:55 | 46 | fn check_attrs(cx: &LateContext, name: Name, attrs: &[Attribute]) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:56:31 | 56 | fn check_lit(&self, lit: &Lit, target_value: i128) -> bool { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `BinOpKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:63:53 | 63 | fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:63:70 | 63 | fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:63:82 | 63 | fn check_binop(&self, cx: &EarlyContext, binop: BinOpKind, lhs: &Expr, rhs: &Expr) -> Option<String> { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `BinOpKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:130:16 | 130 | binop: BinOpKind, | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:131:16 | 131 | node: &Expr, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:132:22 | 132 | other_side: &Expr, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:152:55 | 152 | fn emit_warning(&self, cx: &EarlyContext, block: &Expr, recommendation: String) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:160:56 | 160 | fn check_expr(&mut self, cx: &EarlyContext, item: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Expr; | error[E0412]: cannot find type `Block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:44:57 | 44 | fn check_block(&mut self, cx: &EarlyContext, item: &Block) { | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Block; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:82:27 | 82 | if let ExprBinary(Spanned { node: cmp, .. }, ref left, ref right) = expr.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:196:38 | 196 | fn check_cmp(cx: &LateContext, span: Span, method: &Expr, lit: &Expr, op: &str, compare_to: u32) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:209:38 | 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:209:57 | 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:209:84 | 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:210:12 | 210 | if let Spanned { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:89:11 | 89 | Named(Name), | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:97:11 | 97 | span: Span, | ^^^^ not found in this scope error[E0425]: cannot find function `walk_param_bound` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:111:13 | 111 | walk_param_bound(&mut visitor, bound); | ^^^^^^^^^^^^^^^^ did you mean `walk_ty_param_bound`? error[E0531]: cannot find tuple struct/variant `ItemExistential` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:348:32 | 348 | if let ItemExistential(ref exist_ty) = self.cx.tcx.hir.expect_item(node_id).node { | ^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `walk_param_bound` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:399:21 | 399 | walk_param_bound(&mut visitor, bound); | ^^^^^^^^^^^^^^^^ did you mean `walk_ty_param_bound`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:425:18 | 425 | map: HashMap<Name, Span>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:425:24 | 425 | map: HashMap<Name, Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:282:56 | 282 | fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 4 | use rustc::hir::Expr; | error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:294:49 | 294 | fn check_lit(self, cx: &EarlyContext, lit: &Lit) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:422:56 | 422 | fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 4 | use rustc::hir::Expr; | error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:439:49 | 439 | fn check_lit(self, cx: &EarlyContext, lit: &Lit) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:578:50 | 578 | fn never_loop_block(block: &Block, main_loop_id: NodeId) -> NeverLoopResult { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:599:47 | 599 | fn never_loop_expr(expr: &Expr, main_loop_id: NodeId) -> NeverLoopResult { | ^^^^^^ did you mean `BodyId`? error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:643:9 | 643 | ExprContinue(d) => { | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:671:82 | 671 | fn never_loop_expr_seq<'a, T: Iterator<Item=&'a Expr>>(es: &mut T, main_loop_id: NodeId) -> NeverLoopResult { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:676:82 | 676 | fn never_loop_expr_all<'a, T: Iterator<Item=&'a Expr>>(es: &mut T, main_loop_id: NodeId) -> NeverLoopResult { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:681:84 | 681 | fn never_loop_expr_branch<'a, T: Iterator<Item=&'a Expr>>(e: &mut T, main_loop_id: NodeId) -> NeverLoopResult { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1099:34 | 1099 | fn is_len_call(expr: &Expr, var: Name) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1408:25 | 1408 | node_id_low: Option<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1409:26 | 1409 | node_id_high: Option<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1410:22 | 1410 | span_low: Option<Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1411:23 | 1411 | span_high: Option<Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1415:30 | 1415 | fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1415:41 | 1415 | fn consume(&mut self, _: NodeId, _: Span, _: &cmt_<'tcx>, _: ConsumeMode) {} | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1421:29 | 1421 | fn borrow(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1421:41 | 1421 | fn borrow(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: ty::Region, bk: ty::BorrowKind, _: LoanCause) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1434:29 | 1434 | fn mutate(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: MutateMode) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1434:41 | 1434 | fn mutate(&mut self, _: NodeId, sp: Span, cmt: &cmt_<'tcx>, _: MutateMode) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1445:40 | 1445 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1445:51 | 1445 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1449:40 | 1449 | fn mutation_span(&self) -> (Option<Span>, Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1449:54 | 1449 | fn mutation_span(&self) -> (Option<Span>, Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1473:54 | 1473 | fn mut_warn_with_span(cx: &LateContext, span: Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1484:67 | 1484 | fn check_for_mutability(cx: &LateContext, bound: &Expr) -> Option<NodeId> { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1506:74 | 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1506:95 | 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1506:109 | 1506 | fn check_for_mutation(cx: &LateContext, body: &Expr, bound_ids: &[Option<NodeId>]) -> (Option<Span>, Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1580:26 | 1580 | indexed_mut: HashSet<Name>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1582:33 | 1582 | indexed_indirectly: HashMap<Name, Option<region::Scope>>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1585:31 | 1585 | indexed_directly: HashMap<Name, Option<region::Scope>>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1588:25 | 1588 | referenced: HashSet<Name>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1757:13 | 1757 | def_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1758:19 | 1758 | iter_expr_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1868:21 | 1868 | states: HashMap<NodeId, VarState>, // incremented variables | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1924:13 | 1924 | var_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1926:18 | 1926 | name: Option<Name>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2007:56 | 2007 | fn var_def_id(cx: &LateContext, expr: &Expr) -> Option<NodeId> { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2091:9 | 2091 | id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2092:15 | 2092 | iterator: Name, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2139:34 | 2139 | fn path_name(e: &Expr) -> Option<Name> { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2188:18 | 2188 | ids: HashSet<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:112:80 | 112 | fn reduce_unit_expression<'a>(cx: &LateContext, expr: &'a hir::Expr) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:495:15 | 495 | pub span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:876:70 | 876 | fn lint_or_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name: &str, args: &[hir::Expr]) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:885:15 | 885 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:926:22 | 926 | method_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:927:19 | 927 | fun_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:931:15 | 931 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1000:74 | 1000 | fn lint_expect_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name: &str, args: &[hir::Expr]) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1030:22 | 1030 | method_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1033:15 | 1033 | span: Span, | ^^^^ not found in this scope error[E0425]: cannot find function `BytePos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1301:77 | 1301 | let fold_span = next_point.with_hi(fold_args[2].span.hi() + BytePos(1)); | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:246:12 | 246 | _: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:247:12 | 247 | _: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0425]: cannot find value `CRATE_NODE_ID` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:521:31 | 521 | if parent_impl != CRATE_NODE_ID { | ^^^^^^^^^^^^^ did you mean `CRATE_HIR_ID`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:572:39 | 572 | fn check_cast(cx: &LateContext, span: Span, e: &Expr, ty: &Ty) { | ^^^^ not found in this scope error[E0412]: cannot find type `Generics` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:190:59 | 190 | fn check_generics(&mut self, cx: &EarlyContext, gen: &Generics) { | ^^^^^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::hir::Generics; | 1 | use rustc::ty::Generics; | error[E0412]: cannot find type `Pat` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:206:54 | 206 | fn check_pat(&mut self, cx: &EarlyContext, pat: &Pat) { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Pat; | error[E0412]: cannot find type `FnKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:266:50 | 266 | fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::FnKind; | error[E0412]: cannot find type `FnDecl` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:266:65 | 266 | fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::FnDecl; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:266:76 | 266 | fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:266:85 | 266 | fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, decl: &FnDecl, _: Span, _: NodeId) { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:267:51 | 267 | let mut registered_names: HashMap<String, Span> = HashMap::new(); | ^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:293:56 | 293 | fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:325:58 | 325 | fn check_block(&mut self, cx: &EarlyContext, block: &Block) { | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Block; | error[E0412]: cannot find type `Lit` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:352:49 | 352 | fn check_lit(self, cx: &EarlyContext, lit: &Lit) { | ^^^ did you mean `Lint`? | = help: there is an enum variant `rustc::hir::PatKind::Lit`, try using `rustc::hir::PatKind`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:69:88 | 69 | fn check_missing_docs_attrs(&self, cx: &LateContext, attrs: &[ast::Attribute], sp: Span, desc: &'static str) { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:146:18 | 146 | hir::ItemExistential(..) => "an existential type", | ^^^^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:71:61 | 71 | attrs: &[ast::Attribute], sp: Span, desc: &'static str) { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:146:18 | 146 | hir::ItemExistential(..) | | ^^^^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Crate` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/multiple_crate_versions.rs:41:58 | 41 | fn check_crate(&mut self, cx: &EarlyContext, krate: &Crate) { | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::Crate; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:126:27 | 126 | if let ExprBinary(Spanned { node: BiEq, .. }, ref left_side, ref right_side) = e.node { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `original_sp` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_continue.rs:320:21 | 320 | .map(|stmt| original_sp(stmt.span, DUMMY_SP)) | ^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `DUMMY_SP` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_continue.rs:320:44 | 320 | .map(|stmt| original_sp(stmt.span, DUMMY_SP)) | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:68:18 | 68 | node_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:204:42 | 204 | let sugg = |db: &mut DiagnosticBuilder| { | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:302:25 | 302 | moved_vars: HashSet<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:305:31 | 305 | spans_need_deref: HashMap<NodeId, HashSet<Span>>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:317:44 | 317 | fn move_common(&mut self, _consume_id: NodeId, _span: Span, cmt: &mc::cmt_<'tcx>) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:376:39 | 376 | fn consume(&mut self, consume_id: NodeId, consume_span: Span, cmt: &mc::cmt_<'tcx>, mode: euv::ConsumeMode) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:396:29 | 396 | fn borrow(&mut self, _: NodeId, _: Span, _: &mc::cmt_<'tcx>, _: ty::Region, _: ty::BorrowKind, _: euv::LoanCause) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:398:29 | 398 | fn mutate(&mut self, _: NodeId, _: Span, _: &mc::cmt_<'tcx>, _: euv::MutateMode) {} | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:400:40 | 400 | fn decl_without_init(&mut self, _: NodeId, _: Span) {} | ^^^^^^ did you mean `BodyId`? error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:36:27 | 36 | if let ExprBinary(Spanned { node: BiMul, .. }, ref l, ref r) = e.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:47:38 | 47 | fn check_mul(cx: &LateContext, span: Span, lit: &Expr, exp: &Expr) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:168:104 | 168 | fn can_derive_default<'t, 'c>(ty: Ty<'t>, cx: &LateContext<'c, 't>, default_trait_id: DefId) -> Option<Span> { | ^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:76:15 | 76 | interned: LocalInternedString, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:77:11 | 77 | span: Span, | ^^^^ not found in this scope error[E0405]: cannot find trait `Visitor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:104:24 | 104 | impl<'a, 'tcx: 'a, 'b> Visitor<'tcx> for SimilarNamesNameVisitor<'a, 'tcx, 'b> { | ^^^^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::hir::intravisit::Visitor; | 1 | use rustc::mir::visit::Visitor; | error[E0412]: cannot find type `Pat` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:105:40 | 105 | fn visit_pat(&mut self, pat: &'tcx Pat) { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Pat; | error[E0425]: cannot find function `walk_pat` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:113:18 | 113 | _ => walk_pat(self, pat), | ^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::walk_pat; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:133:51 | 133 | fn check_short_name(&mut self, c: char, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:148:36 | 148 | fn check_name(&mut self, span: Span, name: Name) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:148:48 | 148 | fn check_name(&mut self, span: Span, name: Name) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0405]: cannot find trait `Visitor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:287:16 | 287 | impl<'a, 'tcx> Visitor<'tcx> for SimilarNamesLocalVisitor<'a, 'tcx> { | ^^^^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::hir::intravisit::Visitor; | 1 | use rustc::mir::visit::Visitor; | error[E0412]: cannot find type `Local` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:288:44 | 288 | fn visit_local(&mut self, local: &'tcx Local) { | ^^^^^ not found in this scope help: possible candidates are found in other modules, you can import them into scope | 1 | use rustc::hir::Local; | 1 | use rustc::mir::Local; | error[E0425]: cannot find function `walk_expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:290:31 | 290 | self.apply(|this| walk_expr(this, &**init)); | ^^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::walk_expr; | error[E0412]: cannot find type `Block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:297:42 | 297 | fn visit_block(&mut self, blk: &'tcx Block) { | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Block; | error[E0425]: cannot find function `walk_block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:298:27 | 298 | self.apply(|this| walk_block(this, blk)); | ^^^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::walk_block; | error[E0412]: cannot find type `Arm` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:300:40 | 300 | fn visit_arm(&mut self, arm: &'tcx Arm) { | ^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Arm; | error[E0425]: cannot find function `walk_expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:305:31 | 305 | this.apply(|this| walk_expr(this, &arm.body)); | ^^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::walk_expr; | error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:308:34 | 308 | fn visit_item(&mut self, _: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Item; | error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:314:56 | 314 | fn check_item(&mut self, cx: &EarlyContext, item: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Item; | error[E0412]: cannot find type `ImplItem` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:320:61 | 320 | fn check_impl_item(&mut self, cx: &EarlyContext, item: &ImplItem) { | ^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::ImplItem; | error[E0412]: cannot find type `Attribute` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:328:72 | 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `FnDecl` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:328:91 | 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::FnDecl; | error[E0412]: cannot find type `Block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:328:105 | 328 | fn do_check(lint: &mut NonExpressiveNames, cx: &EarlyContext, attrs: &[Attribute], decl: &FnDecl, blk: &Block) { | ^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Block; | error[E0425]: cannot find function `walk_block` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:341:9 | 341 | walk_block(&mut visitor, blk); | ^^^^^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::walk_block; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:71:28 | 71 | if let Spanned { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:114:83 | 114 | fn check_open_options(cx: &LateContext, options: &[(OpenOption, Argument)], span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:75:35 | 75 | fn get_outer_span(expr: &Expr) -> Span { | ^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:87:25 | 87 | fn match_panic(params: &P<[Expr]>, expr: &Expr, cx: &LateContext) { | ^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:39:56 | 39 | fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:44:33 | 44 | if let ExprKind::Binary(Spanned { node: op, .. }, ref left, ref right) = expr.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:45:37 | 45 | let span_sugg = |expr: &Expr, sugg| { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:115:25 | 115 | fn is_arith_expr(expr: &Expr) -> bool { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:117:26 | 117 | ExprKind::Binary(Spanned { node: op, .. }, _, _) => is_arith_op(op), | ^^^^^^^ not found in this scope error[E0412]: cannot find type `BinOpKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:122:18 | 122 | fn is_bit_op(op: BinOpKind) -> bool { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `BinOpKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:130:20 | 130 | fn is_arith_op(op: BinOpKind) -> bool { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:147:53 | 147 | fn check_fn(cx: &LateContext, decl: &FnDecl, fn_id: NodeId, opt_body_id: Option<BodyId>) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:275:59 | 275 | fn get_rptr_lm(ty: &Ty) -> Option<(&Lifetime, Mutability, Span)> { | ^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:111:51 | 111 | fn return_expression(block: &Block) -> Option<P<Expr>> { | ^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:187:20 | 187 | ExprBinary(Spanned { node: BiAdd, .. }, ref lhs, ref rhs) => if is_integer_literal(lhs, 1) { | ^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:200:20 | 200 | ExprBinary(Spanned { node: BiSub, .. }, ref lhs, ref rhs) if is_integer_literal(rhs, 1) => Some(lhs), | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:32:27 | 32 | fn without_parens(mut e: &Expr) -> &Expr { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:32:37 | 32 | fn without_parens(mut e: &Expr) -> &Expr { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:40:53 | 40 | fn check_expr(&mut self, cx: &EarlyContext, e: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Expr` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:85:53 | 85 | fn check_expr(&mut self, cx: &EarlyContext, e: &Expr) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Expr; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:68:20 | 68 | spans: HashSet<Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:69:18 | 69 | last: Option<NodeId>, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:132:19 | 132 | fn str_span(base: Span, c: regex_syntax::ast::Span, offset: u16) -> Span { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:132:69 | 132 | fn str_span(base: Span, c: regex_syntax::ast::Span, offset: u16) -> Span { | ^^^^ not found in this scope error[E0425]: cannot find function `BytePos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:134:27 | 134 | let end = base.lo() + BytePos(c.end.offset as u32 + offset); | ^^^^^^^ not found in this scope error[E0425]: cannot find function `BytePos` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:135:29 | 135 | let start = base.lo() + BytePos(c.start.offset as u32 + offset); | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Literal` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:152:9 | 152 | Literal(_) => true, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:158:9 | 158 | Anchor(_) => Some("the regex is unlikely to be useful as it is"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Literal` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:159:9 | 159 | Literal(_) => Some("consider using `str::contains`"), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Alternation` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:160:9 | 160 | Alternation(ref exprs) => if exprs.iter().all(|e| e.kind().is_empty()) { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Concat` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:165:9 | 165 | Concat(ref exprs) => match (exprs[0].kind(), exprs[exprs.len() - 1].kind()) { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:166:15 | 166 | (&Anchor(StartText), &Anchor(EndText)) if exprs[1..(exprs.len() - 1)].is_empty() => Some("consider using `str::is_empty`"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:166:35 | 166 | (&Anchor(StartText), &Anchor(EndText)) if exprs[1..(exprs.len() - 1)].is_empty() => Some("consider using `str::is_empty`"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:167:15 | 167 | (&Anchor(StartText), &Anchor(EndText)) if is_literal(&exprs[1..(exprs.len() - 1)]) => Some("consider using `==` on `str`s"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:167:35 | 167 | (&Anchor(StartText), &Anchor(EndText)) if is_literal(&exprs[1..(exprs.len() - 1)]) => Some("consider using `==` on `str`s"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:168:15 | 168 | (&Anchor(StartText), &Literal(_)) if is_literal(&exprs[1..]) => Some("consider using `str::starts_with`"), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Literal` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:168:35 | 168 | (&Anchor(StartText), &Literal(_)) if is_literal(&exprs[1..]) => Some("consider using `str::starts_with`"), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Literal` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:169:15 | 169 | (&Literal(_), &Anchor(EndText)) if is_literal(&exprs[1..(exprs.len() - 1)]) => Some("consider using `str::ends_with`"), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `Anchor` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:169:28 | 169 | (&Literal(_), &Anchor(EndText)) if is_literal(&exprs[1..(exprs.len() - 1)]) => Some("consider using `str::ends_with`"), | ^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:62:86 | 62 | fn check_final_expr(&mut self, cx: &EarlyContext, expr: &ast::Expr, span: Option<Span>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:90:65 | 90 | fn emit_return_lint(&mut self, cx: &EarlyContext, ret_span: Span, inner_span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:90:83 | 90 | fn emit_return_lint(&mut self, cx: &EarlyContext, ret_span: Span, inner_span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `FnKind` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:139:53 | 139 | fn check_fn(&mut self, cx: &EarlyContext, kind: FnKind, _: &ast::FnDecl, _: Span, _: ast::NodeId) { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::intravisit::FnKind; | error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:139:81 | 139 | fn check_fn(&mut self, cx: &EarlyContext, kind: FnKind, _: &ast::FnDecl, _: Span, _: ast::NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:89:12 | 89 | _: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:90:12 | 90 | _: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:109:94 | 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:109:100 | 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:123:91 | 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:123:97 | 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:162:11 | 162 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:163:25 | 163 | bindings: &mut Vec<(Name, Span)>, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:163:31 | 163 | bindings: &mut Vec<(Name, Span)>, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:239:11 | 239 | name: Name, | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:240:11 | 240 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:241:19 | 241 | pattern_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:243:16 | 243 | prev_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:304:91 | 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:304:97 | 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:348:85 | 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:348:91 | 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(Name, Span)>) { | ^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:364:25 | 364 | fn is_self_shadow(name: Name, expr: &Expr) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0412]: cannot find type `Name` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:380:23 | 380 | fn path_eq_name(name: Name, path: &Path) -> bool { | ^^^^ not found in this scope | = help: there is an enum variant `rustc::hir::LifetimeName::Name`, try using `rustc::hir::LifetimeName`? error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:85:27 | 85 | if let ExprBinary(Spanned { node: BiAdd, .. }, ref left, _) = e.node { | ^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:125:20 | 125 | ExprBinary(Spanned { node: BiAdd, .. }, ref left, _) => SpanlessEq::new(cx).eq_expr(target, left), | ^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:80:18 | 80 | node_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:139:85 | 139 | fn check_fn(&mut self, cx: &LateContext, _: FnKind, decl: &FnDecl, _: &Body, _: Span, id: NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:139:95 | 139 | fn check_fn(&mut self, cx: &LateContext, _: FnKind, decl: &FnDecl, _: &Body, _: Span, id: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1131:12 | 1131 | _: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1132:12 | 1132 | _: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1629:50 | 1629 | fn err_upcast_comparison(cx: &LateContext, span: Span, expr: &Expr, always: bool) { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1646:11 | 1646 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1751:22 | 1751 | db: &mut DiagnosticBuilder, | ^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1752:28 | 1752 | generics_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1753:39 | 1753 | generics_suggestion_span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1874:13 | 1874 | HashMap(Span, Ty<'tcx>, Cow<'static, str>, Cow<'static, str>), | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1875:13 | 1875 | HashSet(Span, Ty<'tcx>, Cow<'static, str>), | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1928:23 | 1928 | fn span(&self) -> Span { | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1965:27 | 1965 | suggestions: BTreeMap<Span, String>, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:96:38 | 96 | fn check_str(cx: &LateContext, span: Span, id: NodeId) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:96:48 | 96 | fn check_str(cx: &LateContext, span: Span, id: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `Item` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:37:56 | 37 | fn check_item(&mut self, cx: &EarlyContext, item: &Item) { | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::Item; | error[E0412]: cannot find type `UseTree` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:44:30 | 44 | fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:44:64 | 44 | fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `Ident` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:65:35 | 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) { | ^^^^^ not found in this scope error[E0412]: cannot find type `Ident` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:65:52 | 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) { | ^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:65:84 | 65 | fn unsafe_to_safe_check(old_name: Ident, new_name: Ident, cx: &EarlyContext, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:78:27 | 78 | fn contains_unsafe(name: &LocalInternedString) -> bool { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:33:21 | 33 | labels: HashMap<LocalInternedString, Span>, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:33:42 | 33 | labels: HashMap<LocalInternedString, Span>, | ^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:50:15 | 50 | span: Span, | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:72:51 | 72 | hir::ExprBreak(destination, _) | hir::ExprContinue(destination) => if let Some(label) = destination.label { | ^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:194:15 | 194 | span: Span, | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:195:16 | 195 | fn_id: NodeId, | ^^^^^^ did you mean `BodyId`? error[E0412]: cannot find type `NodeId` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:90:53 | 90 | fn visit_path(&mut self, path: &'tcx Path, _id: NodeId) { | ^^^^^^ did you mean `BodyId`? error[E0425]: cannot find value `SelfType` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:91:102 | 91 | if self.item_path.def == path.def && path.segments.last().expect(SEGMENTS_MSG).ident.name != SelfType.name() { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:66:98 | 66 | fn check_vec_macro<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, vec_args: &higher::VecArgs<'tcx>, span: Span) { | ^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:392:49 | 392 | fn has_newline_end(args: &HirVec<Expr>, fmtstr: LocalInternedString, fmtlen: usize) -> bool { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:410:76 | 410 | fn has_empty_arg<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, span: Span, fmtstr: LocalInternedString, fmtlen: usize) -> Option<Span> { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:430:54 | 430 | fn get_argument_fmtstr_parts(expr: &Expr) -> Option<(LocalInternedString, usize)> { | ^^^^^^^^^^^^^^^^^^^ not found in this scope error: aborting due to 1107 previous errors Some errors occurred: E0405, E0408, E0412, E0422, E0425, E0432, E0433, E0531. For more information about an error, try `rustc --explain E0405`. thread 'main' panicked at 'Error( CargoError( build failed ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.