clippy 0.0.212

A bunch of helpful lints to avoid common pitfalls in Rust

Build #151232 2019-03-27 21:57:40

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.35.0-nightly (0f88167f8 2019-03-18)

# docs.rs version cratesfyi 0.6.0 (67b2b94 2019-03-26)

# build log Updating crates.io index Downloading crates ... Downloaded clippy v0.0.212 Downloading crates ... Downloaded clippy-mini-macro-test v0.2.0 Downloaded clippy_lints v0.0.212 Downloading crates ... Downloaded quine-mc_cluskey v0.2.4 Fresh cc v1.0.32 Fresh unicode-xid v0.1.0 Fresh autocfg v0.1.2 Fresh cfg-if v0.1.7 Fresh rustc-demangle v0.1.13 Fresh smallvec v0.6.9 Fresh matches v0.1.8 Fresh semver-parser v0.7.0 Fresh unicode-width v0.1.5 Fresh itoa v0.4.3 Fresh either v1.5.1 Fresh ucd-util v0.1.3 Fresh lazy_static v1.3.0 Fresh bitflags v0.9.1 Fresh ansi_term v0.11.0 Fresh percent-encoding v1.0.1 Checking quine-mc_cluskey v0.2.4 Fresh if_chain v0.1.3 Fresh utf8-ranges v1.0.2 Running `rustc --crate-name quine_mc_cluskey /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/quine-mc_cluskey-0.2.4/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=f92e25024ffbfdef -C extra-filename=-f92e25024ffbfdef --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh unicode-normalization v0.1.8 Fresh unicode-bidi v0.3.4 Fresh getopts v0.2.18 Fresh itertools v0.7.11 Fresh thread_local v0.3.6 Fresh regex-syntax v0.6.5 Fresh libc v0.2.50 Fresh proc-macro2 v0.4.27 Fresh serde v1.0.89 Fresh ryu v0.2.7 Fresh memchr v2.2.0 Fresh idna v0.1.5 Fresh pulldown-cmark v0.1.2 Fresh num-traits v0.2.6 Fresh backtrace-sys v0.1.28 Fresh quote v0.6.11 Fresh semver v0.9.0 Fresh toml v0.4.10 Fresh serde_json v1.0.39 Fresh aho-corasick v0.6.10 Fresh url v1.7.2 Fresh backtrace v0.3.14 Fresh syn v0.15.29 Fresh rustc_version v0.2.3 Fresh regex v1.1.2 Checking error-chain v0.11.0 Fresh serde_derive v1.0.89 Compiling clippy v0.0.212 Running `rustc --crate-name error_chain /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.11.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="backtrace"' -C metadata=35f1e0e47ceecce8 -C extra-filename=-35f1e0e47ceecce8 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern backtrace=/home/cratesfyi/cratesfyi/debug/deps/libbacktrace-0cd56392cf17f8f9.rmeta --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-50a50bedf29a7fea/out` Running `rustc --edition=2018 --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.212/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=8dc1d62ee441a692 -C extra-filename=-8dc1d62ee441a692 --out-dir /home/cratesfyi/cratesfyi/debug/build/clippy-8dc1d62ee441a692 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern ansi_term=/home/cratesfyi/cratesfyi/debug/deps/libansi_term-b09bfd55f24c4ed0.rlib --extern rustc_version=/home/cratesfyi/cratesfyi/debug/deps/librustc_version-97171deab4df4188.rlib --cap-lints allow` Checking cargo_metadata v0.5.8 Running `rustc --crate-name cargo_metadata /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.5.8/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="error-chain"' -C metadata=68acec4bf4ff98c6 -C extra-filename=-68acec4bf4ff98c6 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern error_chain=/home/cratesfyi/cratesfyi/debug/deps/liberror_chain-35f1e0e47ceecce8.rmeta --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-66b15482fcbd439d.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-bb0448e919fa99d8.rmeta --extern serde_derive=/home/cratesfyi/cratesfyi/debug/deps/libserde_derive-73cc9520cf3c88e4.so --extern serde_json=/home/cratesfyi/cratesfyi/debug/deps/libserde_json-c8f7280500b4da52.rmeta --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-50a50bedf29a7fea/out` Running `/home/cratesfyi/cratesfyi/debug/build/clippy-8dc1d62ee441a692/build-script-build` Checking clippy_lints v0.0.212 Running `rustc --edition=2018 --crate-name clippy_lints /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=4206e69185dcf3d2 -C extra-filename=-4206e69185dcf3d2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern cargo_metadata=/home/cratesfyi/cratesfyi/debug/deps/libcargo_metadata-68acec4bf4ff98c6.rmeta --extern if_chain=/home/cratesfyi/cratesfyi/debug/deps/libif_chain-1701149fff719dc1.rmeta --extern itertools=/home/cratesfyi/cratesfyi/debug/deps/libitertools-1b863ae2eadc5e41.rmeta --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-7d2965d58209ad65.rmeta --extern matches=/home/cratesfyi/cratesfyi/debug/deps/libmatches-27bd21b8a85e6347.rmeta --extern pulldown_cmark=/home/cratesfyi/cratesfyi/debug/deps/libpulldown_cmark-f856cfd336bfb2c7.rmeta --extern quine_mc_cluskey=/home/cratesfyi/cratesfyi/debug/deps/libquine_mc_cluskey-f92e25024ffbfdef.rmeta --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-e211a563a66a95a6.rmeta --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-66b15482fcbd439d.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-bb0448e919fa99d8.rmeta --extern serde_derive=/home/cratesfyi/cratesfyi/debug/deps/libserde_derive-73cc9520cf3c88e4.so --extern toml=/home/cratesfyi/cratesfyi/debug/deps/libtoml-0d1437fdea1e9702.rmeta --extern unicode_normalization=/home/cratesfyi/cratesfyi/debug/deps/libunicode_normalization-fde7af30606bae02.rmeta --extern url=/home/cratesfyi/cratesfyi/debug/deps/liburl-d82f40dcf5dcb63c.rmeta --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-50a50bedf29a7fea/out` error[E0432]: unresolved import `rustc::ty::subst::Substs` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:8:31 | 8 | use rustc::ty::subst::{Subst, Substs}; | ^^^^^^ | | | no `Substs` in `ty::subst` | help: a similar name exists in the module: `Subst` error[E0432]: unresolved import `rustc::hir::BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/comparisons.rs:5:18 | 5 | use rustc::hir::{BinOp_, Expr}; | ^^^^^^ | | | no `BinOp_` in `hir` | help: a similar name exists in the module: `BinOp` error[E0432]: unresolved import `rustc::hir::BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:385:21 | 385 | use rustc::hir::BinOp_::*; | ^^^^^^ could not find `BinOp_` in `hir` error[E0432]: unresolved imports `rustc::hir::Expr_`, `rustc::hir::Ty_`, `rustc::hir::StmtSemi`, `rustc::hir::StmtExpr`, `rustc::hir::StmtDecl`, `rustc::hir::Decl_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:8:24 | 8 | use rustc::hir::{Expr, Expr_, QPath, Ty_, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt}; | ^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ no `Decl_` in `hir` | | | | | | | | | | | no `StmtDecl` in `hir` | | | | no `StmtExpr` in `hir` | | no `Ty_` in `hir` no `StmtSemi` in `hir` | no `Expr_` in `hir` help: a similar name exists in the module | 8 | use rustc::hir::{Expr, Expr, QPath, Ty_, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt}; | ^^^^ help: a similar name exists in the module | 8 | use rustc::hir::{Expr, Expr_, QPath, Ty, Pat, PatKind, BindingAnnotation, StmtSemi, StmtExpr, StmtDecl, Decl_, Stmt}; | ^^ error[E0432]: unresolved import `rustc::hir::BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:248:21 | 248 | use rustc::hir::BinOp_::*; | ^^^^^^ could not find `BinOp_` in `hir` error[E0432]: unresolved import `rustc::ty::TypeVariants` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/default_trait_access.rs:3:5 | 3 | use rustc::ty::TypeVariants; | ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty` error[E0432]: unresolved import `rustc::ty::subst::Substs` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:7:5 | 7 | use rustc::ty::subst::Substs; | ^^^^^^^^^^^^^^^^^^------ | | | | | help: a similar name exists in the module: `Subst` | no `Substs` in `ty::subst` error[E0432]: unresolved imports `rustc::hir::map::Node::NodeExpr`, `rustc::hir::map::Node::NodeStmt` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:3:29 | 3 | use rustc::hir::map::Node::{NodeExpr, NodeStmt}; | ^^^^^^^^ ^^^^^^^^ no `NodeStmt` in `hir::map::Node` | | | no `NodeExpr` in `hir::map::Node` error[E0432]: unresolved import `rustc::ty::TypeVariants` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:3:5 | 3 | use rustc::ty::TypeVariants; | ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty` error[E0432]: unresolved import `rustc::hir::intravisit::walk_decl` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:6:42 | 6 | use rustc::hir::intravisit::{walk_block, walk_decl, walk_expr, walk_pat, walk_stmt, NestedVisitorMap, Visitor}; | ^^^^^^^^^ | | | no `walk_decl` in `hir::intravisit` | help: a similar name exists in the module: `walk_fn_decl` error[E0432]: unresolved imports `rustc::hir::map::Node::NodeBlock`, `rustc::hir::map::Node::NodeExpr`, `rustc::hir::map::Node::NodeStmt` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:7:29 | 7 | use rustc::hir::map::Node::{NodeBlock, NodeExpr, NodeStmt}; | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `NodeStmt` in `hir::map::Node` | | | | | no `NodeExpr` in `hir::map::Node` | no `NodeBlock` in `hir::map::Node` error[E0432]: unresolved imports `rustc::hir::ExprCall`, `rustc::hir::ExprPath` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mem_forget.rs:2:24 | 2 | use rustc::hir::{Expr, ExprCall, ExprPath}; | ^^^^^^^^ ^^^^^^^^ no `ExprPath` in `hir` | | | no `ExprCall` in `hir` error[E0432]: unresolved import `rustc::hir::ExprAddrOf` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_borrow.rs:6:43 | 6 | use rustc::hir::{BindingAnnotation, Expr, ExprAddrOf, MutImmutable, Pat, PatKind}; | ^^^^^^^^^^ no `ExprAddrOf` in `hir` error[E0432]: unresolved import `rustc::hir::ExprStruct` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_update.rs:3:24 | 3 | use rustc::hir::{Expr, ExprStruct}; | ^^^^^^^^^^ no `ExprStruct` in `hir` error[E0432]: unresolved imports `rustc::hir::BiAnd`, `rustc::hir::BiOr`, `rustc::hir::Expr_`, `rustc::hir::StmtSemi` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/no_effect.rs:3:18 | 3 | use rustc::hir::{BiAnd, BiOr, BlockCheckMode, Expr, Expr_, Stmt, StmtSemi, UnsafeSource}; | ^^^^^ ^^^^ ^^^^^ ^^^^^^^^ no `StmtSemi` in `hir` | | | | | | | no `Expr_` in `hir` | | no `BiOr` in `hir` help: a similar name exists in the module: `Expr` | no `BiAnd` in `hir` error[E0432]: unresolved imports `rustc::hir::ExprLit`, `rustc::hir::ExprMethodCall` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:1:24 | 1 | use rustc::hir::{Expr, ExprLit, ExprMethodCall}; | ^^^^^^^ ^^^^^^^^^^^^^^ no `ExprMethodCall` in `hir` | | | no `ExprLit` in `hir` error[E0432]: unresolved import `rustc::hir::map::NodeItem` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:5:5 | 5 | use rustc::hir::map::NodeItem; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `NodeItem` in `hir::map` error[E0432]: unresolved import `rustc::hir::BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:62:25 | 62 | use rustc::hir::BinOp_::*; | ^^^^^^ could not find `BinOp_` in `hir` error[E0432]: unresolved imports `rustc::hir::ExprAssign`, `rustc::hir::ExprField`, `rustc::hir::ExprStruct`, `rustc::hir::ExprTup` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/temporary_assignment.rs:2:24 | 2 | use rustc::hir::{Expr, ExprAssign, ExprField, ExprStruct, ExprTup}; | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ no `ExprTup` in `hir` | | | | | | | no `ExprStruct` in `hir` | | no `ExprField` in `hir` | | help: a similar name exists in the module: `ExprKind` | no `ExprAssign` in `hir` error[E0432]: unresolved import `rustc::ty::TypeVariants` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:7:5 | 7 | use rustc::ty::TypeVariants; | ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty` error[E0432]: unresolved imports `rustc::hir::map::Node::NodeImplItem`, `rustc::hir::map::Node::NodeItem` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:1:29 | 1 | use rustc::hir::map::Node::{NodeImplItem, NodeItem}; | ^^^^^^^^^^^^ ^^^^^^^^ no `NodeItem` in `hir::map::Node` | | | no `NodeImplItem` in `hir::map::Node` | help: a similar name exists in the module: `ImplItem` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:14:5 | 14 | use syntax::ast::{FloatTy, LitKind}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:15:5 | 15 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:158:9 | 158 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `rustc_plugin` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:21:5 | 21 | use rustc_plugin; | ^^^^^^^^^^^^ no `rustc_plugin` external crate error[E0432]: unresolved import `rustc_errors` --> /home/cratesfyi/.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}; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:18:5 | 18 | use syntax::ast::{self, LitKind}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:18:5 | 18 | use syntax::ast::{self, LitKind}; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:21:5 | 21 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:22:5 | 22 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:23:5 | 23 | use syntax::symbol::keywords; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:19:5 | 19 | use syntax::attr; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:7:5 | 7 | use syntax::ast::Name; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:8:5 | 8 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/conf.rs:7:5 | 7 | use syntax::{ast, codemap}; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:12:5 | 12 | use syntax::codemap::{CharPos, Span}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:13:5 | 13 | use syntax::parse::token; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:15:5 | 15 | use syntax::util::parser::AssocOp; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `rustc_errors` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:8:5 | 8 | use rustc_errors; | ^^^^^^^^^^^^ no `rustc_errors` external crate error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:16:5 | 16 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:90:13 | 90 | use syntax::ast::RangeLimits; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:363:9 | 363 | use syntax::util::parser::AssocOp::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:405:9 | 405 | use syntax::ast::BinOpKind::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:8:5 | 8 | use syntax::ast::Attribute; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:5:5 | 5 | use syntax::symbol::LocalInternedString; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:5:5 | 5 | use syntax::ast::Name; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:11:5 | 11 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:18:5 | 18 | use syntax_pos::{BytePos, Pos}; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:5:5 | 5 | use syntax::ast::{FloatTy, Lit, LitKind}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:117:9 | 117 | use syntax::symbol; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:6:5 | 6 | use syntax::symbol; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:13:5 | 13 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:6:5 | 6 | use syntax::util::ThinVec; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:4:5 | 4 | use syntax::ast::{Name, UintTy}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:6:5 | 6 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/const_static_lifetime.rs:1:5 | 1 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:6:5 | 6 | use syntax::symbol::LocalInternedString; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:7:5 | 7 | use syntax::util::small_vector::SmallVector; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:8:5 | 8 | use syntax::ast::{Attribute, NodeId}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:9:5 | 9 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/collapsible_if.rs:16:5 | 16 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:5:5 | 5 | use syntax::codemap::{BytePos, Span}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_parens.rs:1:5 | 1 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/duration_subsec.rs:3:5 | 3 | use syntax::codemap::Spanned; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/else_if_without_else.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:8:5 | 8 | use syntax::ast::{IntTy, UintTy}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:6:5 | 6 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_variants.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:11:5 | 11 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/doc.rs:6:5 | 6 | use syntax_pos::Pos; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:7:5 | 7 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:4:5 | 4 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:4:5 | 4 | use syntax_pos::Span; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:5:5 | 5 | use syntax_pos::Span; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:4:5 | 4 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/formatting.rs:2:5 | 2 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `rustc_target` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:8:5 | 8 | use rustc_target::spec::abi::Abi; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_target` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:9:5 | 9 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:3:5 | 3 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_not_else.rs:5:5 | 5 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:10:5 | 10 | use syntax::ast::RangeLimits; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:7:5 | 7 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/int_plus_one.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/items_after_statements.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:6:5 | 6 | use syntax::ast::{Lit, LitKind, Name}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:7:5 | 7 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inherent_impl.rs:7:5 | 7 | use syntax_pos::Span; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:9:5 | 9 | use syntax::symbol::keywords; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:5:5 | 5 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:19:5 | 19 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:18:5 | 18 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:6:5 | 6 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `rustc_errors` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:4:5 | 4 | use rustc_errors::{Applicability}; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:9:5 | 9 | use syntax::codemap::{Span, BytePos}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:6:5 | 6 | use syntax::codemap::{ExpnFormat, Span}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:11:5 | 11 | use syntax::ast::{LitKind, CRATE_NODE_ID}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc_early.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:24:5 | 24 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:26:5 | 26 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:25:5 | 25 | use syntax::attr; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:15:5 | 15 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/multiple_crate_versions.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:14:5 | 14 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:7:5 | 7 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:8:5 | 8 | use syntax::codemap::Spanned; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:8:5 | 8 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `rustc_target` --> /home/cratesfyi/.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; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_target` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:10:5 | 10 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_continue.rs:31:5 | 31 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:12:5 | 12 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:3:5 | 3 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:5:5 | 5 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:11:5 | 11 | use syntax_pos::Span; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0432]: unresolved import `rustc_errors` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:10:5 | 10 | use rustc_errors::Applicability; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_errors` error[E0432]: unresolved import `rustc_typeck` --> /home/cratesfyi/.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; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_typeck` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:4:5 | 4 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/open_options.rs:4:5 | 4 | use syntax::codemap::{Span, Spanned}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:3:5 | 3 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:4:5 | 4 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:5:5 | 5 | use syntax::ext::quote::rt::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/precedence.rs:2:5 | 2 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:9:5 | 9 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:10:5 | 10 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.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}; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:5:5 | 5 | use syntax::ptr::P; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:3:5 | 3 | use syntax::ast::RangeLimits; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:4:5 | 4 | use syntax::codemap::Spanned; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/reference.rs:1:5 | 1 | use syntax::ast::{Expr, ExprKind, UnOp}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:5:5 | 5 | use syntax::ast::{LitKind, NodeId, StrStyle}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:6:5 | 6 | use syntax::codemap::{BytePos, Span}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:11:5 | 11 | use syntax_pos::MultiSpan; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:3:5 | 3 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:4:5 | 4 | use syntax::visit::FnKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:3:5 | 3 | use syntax::codemap::Spanned; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:148:13 | 148 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/returns.rs:2:5 | 2 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:4:5 | 4 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `rustc_target` --> /home/cratesfyi/.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; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_target` error[E0433]: failed to resolve: use of undeclared type or module `rustc_target` --> /home/cratesfyi/.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; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_target` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.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; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.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; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:12:5 | 12 | use syntax::ast::{FloatTy, IntTy, UintTy}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:13:5 | 13 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:14:5 | 14 | use syntax::errors::DiagnosticBuilder; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:541:9 | 541 | use syntax_pos::hygiene::CompilerDesugaringKind; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:957:21 | 957 | use syntax::ast::{LitIntType, LitKind}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1290:13 | 1290 | use syntax::ast::{LitKind, UintTy}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1564:9 | 1564 | use syntax::ast::{IntTy, UintTy}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `rustc_typeck` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:8:5 | 8 | use rustc_typeck::hir_ty_to_ty; | ^^^^^^^^^^^^ use of undeclared type or module `rustc_typeck` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:3:5 | 3 | use syntax::ast::{LitKind, NodeId}; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unsafe_removed_from_name.rs:2:5 | 2 | use syntax::ast::*; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1747:13 | 1747 | use syntax_pos::BytePos; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:6:5 | 6 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:7:5 | 7 | use syntax::symbol::LocalInternedString; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:6:5 | 6 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:7:5 | 7 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:5:5 | 5 | use syntax::ast::NodeId; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:6:5 | 6 | use syntax_pos::symbol::keywords::SelfType; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:4:5 | 4 | use syntax::codemap::Span; | ^^^^^^ use of undeclared type or module `syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:5:5 | 5 | use syntax::ast::LitKind; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:5:5 | 5 | use syntax::ast; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:7:5 | 7 | use syntax::symbol::LocalInternedString; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:6:5 | 6 | use syntax::ptr; | ^^^^^^ help: a similar path exists: `rustc::syntax` error[E0433]: failed to resolve: use of undeclared type or module `syntax` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:189:15 | 189 | crate use syntax::ast::{Name, NodeId}; | ^^^^^^ use of undeclared type or module `syntax` error[E0432]: unresolved import `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:8:5 | 8 | use syntax_pos::Span; | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `FloatTy` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:417:58 | 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), | ----- variable not in all patterns ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `BiAnd` error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:417:17 | 417 | (BiAnd, Constant::Bool(true), Some(r)) | (BiOr, Constant::Bool(false), Some(r)) => Some(r), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiOr` error[E0433]: failed to resolve: use of undeclared type or module `FloatTy` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0416]: identifier `TyInfer` is bound more than once in the same pattern --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:265:25 | 265 | (&TyInfer, &TyInfer) => true, | ^^^^^^^ used in a pattern more than once error[E0408]: variable `BiAdd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:17 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ----- ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^ ^^^^^^^ pattern doesn't bind `BiAdd` | | | | | | | | | | | | | pattern doesn't bind `BiAdd` | | | | | pattern doesn't bind `BiAdd` | | | | pattern doesn't bind `BiAdd` | | | pattern doesn't bind `BiAdd` | | pattern doesn't bind `BiAdd` | variable not in all patterns error[E0408]: variable `BiMul` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ----- ^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^ ^^^^^^^ pattern doesn't bind `BiMul` | | | | | | | | | | | | | pattern doesn't bind `BiMul` | | | | | pattern doesn't bind `BiMul` | | | | pattern doesn't bind `BiMul` | | | pattern doesn't bind `BiMul` | | variable not in all patterns | pattern doesn't bind `BiMul` error[E0408]: variable `BiBitXor` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ^^^^^ -------- ^^^^^^^^ ^^^^ ^^^^ ^^^^^^^ pattern doesn't bind `BiBitXor` | | | | | | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | pattern doesn't bind `BiBitXor` | | | | pattern doesn't bind `BiBitXor` | | | variable not in all patterns | | pattern doesn't bind `BiBitXor` | pattern doesn't bind `BiBitXor` error[E0408]: variable `BiBitOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^ ------- variable not in all patterns | | | | | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | pattern doesn't bind `BiBitOr` | | | | pattern doesn't bind `BiBitOr` | | | pattern doesn't bind `BiBitOr` | | pattern doesn't bind `BiBitOr` | pattern doesn't bind `BiBitOr` error[E0408]: variable `BiBitAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ^^^^^ ^^^^^^^^ -------- ^^^^ ^^^^ ^^^^^^^ pattern doesn't bind `BiBitAnd` | | | | | | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | pattern doesn't bind `BiBitAnd` | | | | variable not in all patterns | | | pattern doesn't bind `BiBitAnd` | | pattern doesn't bind `BiBitAnd` | pattern doesn't bind `BiBitAnd` error[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ---- ^^^^ ^^^^^^^ pattern doesn't bind `BiEq` | | | | | | | | | | | | | pattern doesn't bind `BiEq` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiEq` | | | pattern doesn't bind `BiEq` | | pattern doesn't bind `BiEq` | pattern doesn't bind `BiEq` error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:277:9 | 277 | BiAdd | BiMul | BiBitXor | BiBitAnd | BiEq | BiNe | BiBitOr => Some((binop, rhs, lhs)), | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^ ---- ^^^^^^^ pattern doesn't bind `BiNe` | | | | | | | | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiNe` | | | | pattern doesn't bind `BiNe` | | | pattern doesn't bind `BiNe` | | pattern doesn't bind `BiNe` | pattern doesn't bind `BiNe` error[E0408]: variable `BiSub` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ^^^^^ ^^^^^ ----- ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiSub` | | | | | | | | | | | | | pattern doesn't bind `BiSub` | | | | | pattern doesn't bind `BiSub` | | | | variable not in all patterns | | | pattern doesn't bind `BiSub` | | pattern doesn't bind `BiSub` | pattern doesn't bind `BiSub` error[E0408]: variable `BiDiv` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ----- ^^^^^ ^^^^ pattern doesn't bind `BiDiv` | | | | | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiDiv` | | | pattern doesn't bind `BiDiv` | | pattern doesn't bind `BiDiv` | pattern doesn't bind `BiDiv` error[E0408]: variable `BiRem` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiRem` | | | | | | | | | | | | | pattern doesn't bind `BiRem` | | | | | pattern doesn't bind `BiRem` | | | | pattern doesn't bind `BiRem` | | | variable not in all patterns | | pattern doesn't bind `BiRem` | pattern doesn't bind `BiRem` error[E0408]: variable `BiShr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiShr` | | | | | | | | | | | | | pattern doesn't bind `BiShr` | | | | | pattern doesn't bind `BiShr` | | | | pattern doesn't bind `BiShr` | | | pattern doesn't bind `BiShr` | | variable not in all patterns | pattern doesn't bind `BiShr` error[E0408]: variable `BiShl` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:17 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ pattern doesn't bind `BiShl` | | | | | | | | | | | | | pattern doesn't bind `BiShl` | | | | | pattern doesn't bind `BiShl` | | | | pattern doesn't bind `BiShl` | | | pattern doesn't bind `BiShl` | | pattern doesn't bind `BiShl` | variable not in all patterns error[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ----- ^^^^ pattern doesn't bind `BiAnd` | | | | | | | | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiAnd` | | | | pattern doesn't bind `BiAnd` | | | pattern doesn't bind `BiAnd` | | pattern doesn't bind `BiAnd` | pattern doesn't bind `BiAnd` error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:282:9 | 282 | BiShl | BiShr | BiRem | BiSub | BiDiv | BiAnd | BiOr => None, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ---- variable not in all patterns | | | | | | | | | | | | | pattern doesn't bind `BiOr` | | | | | pattern doesn't bind `BiOr` | | | | pattern doesn't bind `BiOr` | | | pattern doesn't bind `BiOr` | | pattern doesn't bind `BiOr` | pattern doesn't bind `BiOr` error[E0433]: failed to resolve: use of undeclared type or module `AssocOp` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0433]: failed to resolve: use of undeclared type or module `AssocOp` --> /home/cratesfyi/.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[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiEq` | | | | | | | | | | | | | | | pattern doesn't bind `BiEq` | | | | | | pattern doesn't bind `BiEq` | | | | | pattern doesn't bind `BiEq` | | | | pattern doesn't bind `BiEq` | | | pattern doesn't bind `BiEq` | | variable not in all patterns | pattern doesn't bind `BiEq` error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ pattern doesn't bind `BiNe` | | | | | | | | | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `BiNe` | | | | | pattern doesn't bind `BiNe` | | | | pattern doesn't bind `BiNe` | | | pattern doesn't bind `BiNe` | | pattern doesn't bind `BiNe` | pattern doesn't bind `BiNe` error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ pattern doesn't bind `BiLt` | | | | | | | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiLt` | | | | pattern doesn't bind `BiLt` | | | pattern doesn't bind `BiLt` | | pattern doesn't bind `BiLt` | pattern doesn't bind `BiLt` error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiLe` | | | | | | | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | pattern doesn't bind `BiLe` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiLe` | | | pattern doesn't bind `BiLe` | | pattern doesn't bind `BiLe` | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiGe` | | | | | | | | | | | | | | | pattern doesn't bind `BiGe` | | | | | | pattern doesn't bind `BiGe` | | | | | pattern doesn't bind `BiGe` | | | | pattern doesn't bind `BiGe` | | | variable not in all patterns | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiGt` | | | | | | | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | pattern doesn't bind `BiGt` | | | | | pattern doesn't bind `BiGt` | | | | variable not in all patterns | | | pattern doesn't bind `BiGt` | | pattern doesn't bind `BiGt` | pattern doesn't bind `BiGt` error[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:17 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ----- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiAnd` | | | | | | | | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | pattern doesn't bind `BiAnd` | | | | | pattern doesn't bind `BiAnd` | | | | pattern doesn't bind `BiAnd` | | | pattern doesn't bind `BiAnd` | | pattern doesn't bind `BiAnd` | variable not in all patterns error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:399:9 | 399 | BiAnd | BiEq | BiGe | BiGt | BiLe | BiLt | BiNe | BiOr => panic!("This operator does not exist"), | ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- variable not in all patterns | | | | | | | | | | | | | | | pattern doesn't bind `BiOr` | | | | | | pattern doesn't bind `BiOr` | | | | | pattern doesn't bind `BiOr` | | | | pattern doesn't bind `BiOr` | | | pattern doesn't bind `BiOr` | | pattern doesn't bind `BiOr` | pattern doesn't bind `BiOr` error[E0433]: failed to resolve: use of undeclared type or module `AssocOp` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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: could not find `Ty_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/author.rs:677:18 | 677 | hir::Ty_::TyPath(ref inner_path) => { | ^^^ could not find `Ty_` in `hir` error[E0433]: failed to resolve: use of undeclared type or module `ExpnFormat` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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: could not find `item_path` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:123:14 | 123 | impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer { | ^^^^^^^^^ could not find `item_path` in `ty` error[E0433]: failed to resolve: could not find `item_path` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:124:37 | 124 | fn root_mode(&self) -> &ty::item_path::RootMode { | ^^^^^^^^^ could not find `item_path` in `ty` error[E0433]: failed to resolve: could not find `item_path` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:125:34 | 125 | const ABSOLUTE: &ty::item_path::RootMode = &ty::item_path::RootMode::Absolute; | ^^^^^^^^^ could not find `item_path` in `ty` error[E0433]: failed to resolve: could not find `item_path` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:125:61 | 125 | const ABSOLUTE: &ty::item_path::RootMode = &ty::item_path::RootMode::Absolute; | ^^^^^^^^^ could not find `item_path` in `ty` error[E0433]: failed to resolve: use of undeclared type or module `Span` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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: could not find `Item_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:162:57 | 162 | if let hir::Item_::ItemImpl(_, _, _, _, Some(ref trait_ref), _, _) = | ^^^^^ could not find `Item_` in `hir` ... 173 | if ops!( | ____________________________- 174 | | op.node, 175 | | cx, 176 | | ty, ... | 189 | | Shl: BiShl 190 | | ) { | |_________________________- in this macro invocation error[E0408]: variable `BiAdd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:17 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ----- ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiAdd` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiAdd` | | | | | | | pattern doesn't bind `BiAdd` | | | | | | pattern doesn't bind `BiAdd` | | | | | pattern doesn't bind `BiAdd` | | | | pattern doesn't bind `BiAdd` | | | pattern doesn't bind `BiAdd` | | pattern doesn't bind `BiAdd` | variable not in all patterns error[E0408]: variable `BiMul` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ----- ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiMul` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiMul` | | | | | | | pattern doesn't bind `BiMul` | | | | | | pattern doesn't bind `BiMul` | | | | | pattern doesn't bind `BiMul` | | | | pattern doesn't bind `BiMul` | | | pattern doesn't bind `BiMul` | | variable not in all patterns | pattern doesn't bind `BiMul` error[E0408]: variable `BiBitXor` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ^^^^ -------- ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiBitXor` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | pattern doesn't bind `BiBitXor` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiBitXor` | | | pattern doesn't bind `BiBitXor` | | pattern doesn't bind `BiBitXor` | pattern doesn't bind `BiBitXor` error[E0408]: variable `BiBitOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ------- ^^^^ ^^^^ pattern doesn't bind `BiBitOr` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `BiBitOr` | | | | | pattern doesn't bind `BiBitOr` | | | | pattern doesn't bind `BiBitOr` | | | pattern doesn't bind `BiBitOr` | | pattern doesn't bind `BiBitOr` | pattern doesn't bind `BiBitOr` error[E0408]: variable `BiBitAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ -------- ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiBitAnd` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiBitAnd` | | | | pattern doesn't bind `BiBitAnd` | | | pattern doesn't bind `BiBitAnd` | | pattern doesn't bind `BiBitAnd` | pattern doesn't bind `BiBitAnd` error[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ---- ^^^^ pattern doesn't bind `BiEq` | | | | | | | | | | | | | | | | | variable not in all patterns | | | | | | | pattern doesn't bind `BiEq` | | | | | | pattern doesn't bind `BiEq` | | | | | pattern doesn't bind `BiEq` | | | | pattern doesn't bind `BiEq` | | | pattern doesn't bind `BiEq` | | pattern doesn't bind `BiEq` | pattern doesn't bind `BiEq` error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ---- variable not in all patterns | | | | | | | | | | | | | | | | | pattern doesn't bind `BiNe` | | | | | | | pattern doesn't bind `BiNe` | | | | | | pattern doesn't bind `BiNe` | | | | | pattern doesn't bind `BiNe` | | | | pattern doesn't bind `BiNe` | | | pattern doesn't bind `BiNe` | | pattern doesn't bind `BiNe` | pattern doesn't bind `BiNe` error[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ----- ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiAnd` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | | pattern doesn't bind `BiAnd` | | | | | | pattern doesn't bind `BiAnd` | | | | | pattern doesn't bind `BiAnd` | | | | pattern doesn't bind `BiAnd` | | | variable not in all patterns | | pattern doesn't bind `BiAnd` | pattern doesn't bind `BiAnd` error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:250:9 | 250 | BiAdd | BiMul | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr | BiEq | BiNe => true, | ^^^^^ ^^^^^ ^^^^^ ---- ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ pattern doesn't bind `BiOr` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiOr` | | | | | | | pattern doesn't bind `BiOr` | | | | | | pattern doesn't bind `BiOr` | | | | | pattern doesn't bind `BiOr` | | | | variable not in all patterns | | | pattern doesn't bind `BiOr` | | pattern doesn't bind `BiOr` | pattern doesn't bind `BiOr` error[E0408]: variable `BiSub` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:17 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ----- ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiSub` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | pattern doesn't bind `BiSub` | | | | | | pattern doesn't bind `BiSub` | | | | | pattern doesn't bind `BiSub` | | | | pattern doesn't bind `BiSub` | | | pattern doesn't bind `BiSub` | | pattern doesn't bind `BiSub` | variable not in all patterns error[E0408]: variable `BiDiv` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ----- ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiDiv` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | pattern doesn't bind `BiDiv` | | | | | | pattern doesn't bind `BiDiv` | | | | | pattern doesn't bind `BiDiv` | | | | pattern doesn't bind `BiDiv` | | | pattern doesn't bind `BiDiv` | | variable not in all patterns | pattern doesn't bind `BiDiv` error[E0408]: variable `BiRem` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ----- ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiRem` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiRem` | | | | | | | pattern doesn't bind `BiRem` | | | | | | pattern doesn't bind `BiRem` | | | | | pattern doesn't bind `BiRem` | | | | pattern doesn't bind `BiRem` | | | variable not in all patterns | | pattern doesn't bind `BiRem` | pattern doesn't bind `BiRem` error[E0408]: variable `BiShr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ----- ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiShr` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiShr` | | | | | | | pattern doesn't bind `BiShr` | | | | | | pattern doesn't bind `BiShr` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiShr` | | | pattern doesn't bind `BiShr` | | pattern doesn't bind `BiShr` | pattern doesn't bind `BiShr` error[E0408]: variable `BiShl` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ----- ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiShl` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiShl` | | | | | | | pattern doesn't bind `BiShl` | | | | | | pattern doesn't bind `BiShl` | | | | | pattern doesn't bind `BiShl` | | | | variable not in all patterns | | | pattern doesn't bind `BiShl` | | pattern doesn't bind `BiShl` | pattern doesn't bind `BiShl` error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ---- ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiLt` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | pattern doesn't bind `BiLt` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiLt` | | | | pattern doesn't bind `BiLt` | | | pattern doesn't bind `BiLt` | | pattern doesn't bind `BiLt` | pattern doesn't bind `BiLt` error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ ---- ^^^^ ^^^^ pattern doesn't bind `BiLe` | | | | | | | | | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `BiLe` | | | | | pattern doesn't bind `BiLe` | | | | pattern doesn't bind `BiLe` | | | pattern doesn't bind `BiLe` | | pattern doesn't bind `BiLe` | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^ ---- ^^^^ pattern doesn't bind `BiGe` | | | | | | | | | | | | | | | | | variable not in all patterns | | | | | | | pattern doesn't bind `BiGe` | | | | | | pattern doesn't bind `BiGe` | | | | | pattern doesn't bind `BiGe` | | | | pattern doesn't bind `BiGe` | | | pattern doesn't bind `BiGe` | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:251:9 | 251 | BiSub | BiDiv | BiRem | BiShl | BiShr | BiLt | BiLe | BiGe | BiGt => false, | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ---- variable not in all patterns | | | | | | | | | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | pattern doesn't bind `BiGt` | | | | | | pattern doesn't bind `BiGt` | | | | | pattern doesn't bind `BiGt` | | | | pattern doesn't bind `BiGt` | | | pattern doesn't bind `BiGt` | | pattern doesn't bind `BiGt` | pattern doesn't bind `BiGt` error[E0433]: failed to resolve: use of undeclared type or module `NestedMetaItemKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:122:20 | 122 | if let Expr_::ExprBinary(ref op, ref left, ref right) = e.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:123:16 | 123 | if BinOp_::BiEq == op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:124:20 | 124 | if let Expr_::ExprBinary(ref op1, ref left1, ref right1) = left.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:125:16 | 125 | if BinOp_::BiBitAnd == op1.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:126:20 | 126 | if let Expr_::ExprLit(ref lit) = right1.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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 `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:128:20 | 128 | if let Expr_::ExprLit(ref lit1) = right.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:172:16 | 172 | BiEq | BiNe => match bit_op { | ---- ^^^^ pattern doesn't bind `BiEq` | | | variable not in all patterns error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:172:9 | 172 | BiEq | BiNe => match bit_op { | ^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiNe` error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:203:16 | 203 | BiLt | BiGe => match bit_op { | ---- ^^^^ pattern doesn't bind `BiLt` | | | variable not in all patterns error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:203:9 | 203 | BiLt | BiGe => match bit_op { | ^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiGe` error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:235:16 | 235 | BiLe | BiGt => match bit_op { | ---- ^^^^ pattern doesn't bind `BiLe` | | | variable not in all patterns error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:235:9 | 235 | BiLe | BiGt => match bit_op { | ^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiGt` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0433]: failed to resolve: use of undeclared type or module `UintTy` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:174:29 | 174 | BiAnd | BiOr => self.short_circuits += 1, | ----- ^^^^ pattern doesn't bind `BiAnd` | | | variable not in all patterns error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:174:21 | 174 | BiAnd | BiOr => self.short_circuits += 1, | ^^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiOr` error[E0433]: failed to resolve: use of undeclared type or module `BytePos` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `ItemKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:75:25 | 75 | BiAnd | BiOr => return, | ----- ^^^^ pattern doesn't bind `BiAnd` | | | variable not in all patterns error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:75:17 | 75 | BiAnd | BiOr => return, | ^^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiOr` error[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:81:17 | 81 | BiNe | BiEq => (cx.tcx.lang_items().eq_trait(), true), | ^^^^ ---- variable not in all patterns | | | pattern doesn't bind `BiEq` error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:81:24 | 81 | BiNe | BiEq => (cx.tcx.lang_items().eq_trait(), true), | ---- ^^^^ pattern doesn't bind `BiNe` | | | variable not in all patterns error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:82:24 | 82 | BiLt | BiLe | BiGe | BiGt => (cx.tcx.lang_items().ord_trait(), true), | ---- ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiLt` | | | | | | | pattern doesn't bind `BiLt` | | pattern doesn't bind `BiLt` | variable not in all patterns error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:82:17 | 82 | BiLt | BiLe | BiGe | BiGt => (cx.tcx.lang_items().ord_trait(), true), | ^^^^ ---- ^^^^ ^^^^ pattern doesn't bind `BiLe` | | | | | | | pattern doesn't bind `BiLe` | | variable not in all patterns | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:82:17 | 82 | BiLt | BiLe | BiGe | BiGt => (cx.tcx.lang_items().ord_trait(), true), | ^^^^ ^^^^ ---- ^^^^ pattern doesn't bind `BiGe` | | | | | | | variable not in all patterns | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:82:17 | 82 | BiLt | BiLe | BiGe | BiGt => (cx.tcx.lang_items().ord_trait(), true), | ^^^^ ^^^^ ^^^^ ---- variable not in all patterns | | | | | | | pattern doesn't bind `BiGt` | | pattern doesn't bind `BiGt` | pattern doesn't bind `BiGt` error[E0408]: variable `BiSub` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:17 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ----- ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiSub` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | | pattern doesn't bind `BiSub` | | | | | | | pattern doesn't bind `BiSub` | | | | | | pattern doesn't bind `BiSub` | | | | | pattern doesn't bind `BiSub` | | | | pattern doesn't bind `BiSub` | | | pattern doesn't bind `BiSub` | | pattern doesn't bind `BiSub` | variable not in all patterns error[E0408]: variable `BiDiv` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ----- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiDiv` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | | pattern doesn't bind `BiDiv` | | | | | | | pattern doesn't bind `BiDiv` | | | | | | pattern doesn't bind `BiDiv` | | | | | pattern doesn't bind `BiDiv` | | | | pattern doesn't bind `BiDiv` | | | pattern doesn't bind `BiDiv` | | variable not in all patterns | pattern doesn't bind `BiDiv` error[E0408]: variable `BiBitXor` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ -------- ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiBitXor` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | | | | | | variable not in all patterns | | | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | | pattern doesn't bind `BiBitXor` | | | | | | pattern doesn't bind `BiBitXor` | | | | | pattern doesn't bind `BiBitXor` | | | | pattern doesn't bind `BiBitXor` | | | pattern doesn't bind `BiBitXor` | | pattern doesn't bind `BiBitXor` | pattern doesn't bind `BiBitXor` error[E0408]: variable `BiBitOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ------- variable not in all patterns | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | | pattern doesn't bind `BiBitOr` | | | | | | pattern doesn't bind `BiBitOr` | | | | | pattern doesn't bind `BiBitOr` | | | | pattern doesn't bind `BiBitOr` | | | pattern doesn't bind `BiBitOr` | | pattern doesn't bind `BiBitOr` | pattern doesn't bind `BiBitOr` error[E0408]: variable `BiBitAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ -------- ^^^^^^^ pattern doesn't bind `BiBitAnd` | | | | | | | | | | | | | | | | | | | | | | | | | variable not in all patterns | | | | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | | pattern doesn't bind `BiBitAnd` | | | | | | pattern doesn't bind `BiBitAnd` | | | | | pattern doesn't bind `BiBitAnd` | | | | pattern doesn't bind `BiBitAnd` | | | pattern doesn't bind `BiBitAnd` | | pattern doesn't bind `BiBitAnd` | pattern doesn't bind `BiBitAnd` error[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiEq` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiEq` | | | | | | | | | | | pattern doesn't bind `BiEq` | | | | | | | | | | pattern doesn't bind `BiEq` | | | | | | | | | pattern doesn't bind `BiEq` | | | | | | | | pattern doesn't bind `BiEq` | | | | | | | pattern doesn't bind `BiEq` | | | | | | pattern doesn't bind `BiEq` | | | | | pattern doesn't bind `BiEq` | | | | pattern doesn't bind `BiEq` | | | variable not in all patterns | | pattern doesn't bind `BiEq` | pattern doesn't bind `BiEq` error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiNe` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiNe` | | | | | | | | | | | pattern doesn't bind `BiNe` | | | | | | | | | | pattern doesn't bind `BiNe` | | | | | | | | | pattern doesn't bind `BiNe` | | | | | | | | variable not in all patterns | | | | | | | pattern doesn't bind `BiNe` | | | | | | pattern doesn't bind `BiNe` | | | | | pattern doesn't bind `BiNe` | | | | pattern doesn't bind `BiNe` | | | pattern doesn't bind `BiNe` | | pattern doesn't bind `BiNe` | pattern doesn't bind `BiNe` error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiLt` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | | pattern doesn't bind `BiLt` | | | | | | | pattern doesn't bind `BiLt` | | | | | | pattern doesn't bind `BiLt` | | | | | pattern doesn't bind `BiLt` | | | | variable not in all patterns | | | pattern doesn't bind `BiLt` | | pattern doesn't bind `BiLt` | pattern doesn't bind `BiLt` error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiLe` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | | pattern doesn't bind `BiLe` | | | | | | | pattern doesn't bind `BiLe` | | | | | | pattern doesn't bind `BiLe` | | | | | variable not in all patterns | | | | pattern doesn't bind `BiLe` | | | pattern doesn't bind `BiLe` | | pattern doesn't bind `BiLe` | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiGe` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiGe` | | | | | | | | | | | pattern doesn't bind `BiGe` | | | | | | | | | | pattern doesn't bind `BiGe` | | | | | | | | | pattern doesn't bind `BiGe` | | | | | | | | pattern doesn't bind `BiGe` | | | | | | | variable not in all patterns | | | | | | pattern doesn't bind `BiGe` | | | | | pattern doesn't bind `BiGe` | | | | pattern doesn't bind `BiGe` | | | pattern doesn't bind `BiGe` | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiGt` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | | pattern doesn't bind `BiGt` | | | | | | | pattern doesn't bind `BiGt` | | | | | | variable not in all patterns | | | | | pattern doesn't bind `BiGt` | | | | pattern doesn't bind `BiGt` | | | pattern doesn't bind `BiGt` | | pattern doesn't bind `BiGt` | pattern doesn't bind `BiGt` error[E0408]: variable `BiAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ----- ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiAnd` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | | | | variable not in all patterns | | | | | | | | pattern doesn't bind `BiAnd` | | | | | | | pattern doesn't bind `BiAnd` | | | | | | pattern doesn't bind `BiAnd` | | | | | pattern doesn't bind `BiAnd` | | | | pattern doesn't bind `BiAnd` | | | pattern doesn't bind `BiAnd` | | pattern doesn't bind `BiAnd` | pattern doesn't bind `BiAnd` error[E0408]: variable `BiOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:162:9 | 162 | BiSub | BiDiv | BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | BiBitXor | BiBitAnd | BiBitOr => true, | ^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^^ ---- ^^^^^^^^ ^^^^^^^^ ^^^^^^^ pattern doesn't bind `BiOr` | | | | | | | | | | | | | | | | | | | | | | | | | pattern doesn't bind `BiOr` | | | | | | | | | | | pattern doesn't bind `BiOr` | | | | | | | | | | variable not in all patterns | | | | | | | | | pattern doesn't bind `BiOr` | | | | | | | | pattern doesn't bind `BiOr` | | | | | | | pattern doesn't bind `BiOr` | | | | | | pattern doesn't bind `BiOr` | | | | | pattern doesn't bind `BiOr` | | | | pattern doesn't bind `BiOr` | | | pattern doesn't bind `BiOr` | | pattern doesn't bind `BiOr` | pattern doesn't bind `BiOr` error[E0408]: variable `BiMul` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:41:25 | 41 | BiMul | BiBitAnd => { | ----- ^^^^^^^^ pattern doesn't bind `BiMul` | | | variable not in all patterns error[E0408]: variable `BiBitAnd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:41:17 | 41 | BiMul | BiBitAnd => { | ^^^^^ -------- variable not in all patterns | | | pattern doesn't bind `BiBitAnd` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0408]: variable `BiAdd` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:41:25 | 41 | BiAdd | BiBitOr | BiBitXor => { | ----- ^^^^^^^ ^^^^^^^^ pattern doesn't bind `BiAdd` | | | | | pattern doesn't bind `BiAdd` | variable not in all patterns error[E0408]: variable `BiBitXor` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:41:17 | 41 | BiAdd | BiBitOr | BiBitXor => { | ^^^^^ ^^^^^^^ -------- variable not in all patterns | | | | | pattern doesn't bind `BiBitXor` | pattern doesn't bind `BiBitXor` error[E0408]: variable `BiBitOr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:41:17 | 41 | BiAdd | BiBitOr | BiBitXor => { | ^^^^^ ------- ^^^^^^^^ pattern doesn't bind `BiBitOr` | | | | | variable not in all patterns | pattern doesn't bind `BiBitOr` error[E0408]: variable `BiSub` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:45:17 | 45 | BiShl | BiShr | BiSub => check(cx, right, 0, e.span, left.span), | ^^^^^ ^^^^^ ----- variable not in all patterns | | | | | pattern doesn't bind `BiSub` | pattern doesn't bind `BiSub` error[E0408]: variable `BiShr` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:45:17 | 45 | BiShl | BiShr | BiSub => check(cx, right, 0, e.span, left.span), | ^^^^^ ----- ^^^^^ pattern doesn't bind `BiShr` | | | | | variable not in all patterns | pattern doesn't bind `BiShr` error[E0408]: variable `BiShl` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:45:25 | 45 | BiShl | BiShr | BiSub => check(cx, right, 0, e.span, left.span), | ----- ^^^^^ ^^^^^ pattern doesn't bind `BiShl` | | | | | pattern doesn't bind `BiShl` | variable not in all patterns error[E0433]: failed to resolve: use of undeclared type or module `ExprKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infallible_destructuring_match.rs:53:20 | 53 | if let Expr_::ExprMatch(ref target, ref arms, MatchSource::Normal) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Item_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/inherent_impl.rs:59:16 | 59 | if let Item_::ItemImpl(_, _, _, ref generics, None, _, _) = item.node { | ^^^^^ use of undeclared type or module `Item_` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `keywords` --> /home/cratesfyi/.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 `syntax_pos` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:230:75 | 230 | crate fn display(&self, grouping_hint: &str, cx: &EarlyContext, span: syntax_pos::Span) { | ^^^^^^^^^^ use of undeclared type or module `syntax_pos` error[E0433]: failed to resolve: use of undeclared type or module `ExprKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:774:17 | 774 | BinOp_::BiAdd => { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:785:17 | 785 | BinOp_::BiSub if same_var(cx, lhs, var) => extract_offset(cx, rhs, var).map(Offset::negative), | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:835:16 | 835 | if let Expr_::ExprAssign(ref lhs, ref rhs) = e.node { | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:852:12 | 852 | if let Expr_::ExprBlock(ref b, _) = body.node { | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Stmt_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:862:17 | 862 | Stmt_::StmtDecl(..) => None, | ^^^^^ use of undeclared type or module `Stmt_` error[E0433]: failed to resolve: use of undeclared type or module `Stmt_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:863:17 | 863 | Stmt_::StmtExpr(ref e, _node_id) | Stmt_::StmtSemi(ref e, _node_id) => Some(get_assignment(cx, e, var)), | ^^^^^ use of undeclared type or module `Stmt_` error[E0433]: failed to resolve: use of undeclared type or module `Stmt_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:863:52 | 863 | Stmt_::StmtExpr(ref e, _node_id) | Stmt_::StmtSemi(ref e, _node_id) => Some(get_assignment(cx, e, var)), | ^^^^^ use of undeclared type or module `Stmt_` error[E0433]: failed to resolve: could not find `TypeVariants` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1226:29 | 1226 | ty::TypeVariants::TyArray(_, size) if size.assert_usize(cx.tcx).expect("array size") > 32 => (), | ^^^^^^^^^^^^ could not find `TypeVariants` in `ty` error[E0407]: method `visit_decl` is not a member of trait `Visitor` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1932:5 | 1932 | / fn visit_decl(&mut self, decl: &'tcx Decl) { 1933 | | // Look for declarations of the variable 1934 | | if let DeclLocal(ref local) = decl.node { 1935 | | if local.pat.id == self.var_id { ... | 1951 | | walk_decl(self, decl); 1952 | | } | |_____^ not a member of trait `Visitor` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `BinOp_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1335:41 | 1335 | cx, fold_args, hir::BinOp_::BiOr, "any", true | ^^^^^^ could not find `BinOp_` in `hir` error[E0433]: failed to resolve: could not find `BinOp_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1338:41 | 1338 | cx, fold_args, hir::BinOp_::BiAnd, "all", true | ^^^^^^ could not find `BinOp_` in `hir` error[E0433]: failed to resolve: could not find `BinOp_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1341:41 | 1341 | cx, fold_args, hir::BinOp_::BiAdd, "sum", false | ^^^^^^ could not find `BinOp_` in `hir` error[E0433]: failed to resolve: could not find `BinOp_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1344:41 | 1344 | cx, fold_args, hir::BinOp_::BiMul, "product", false | ^^^^^^ could not find `BinOp_` in `hir` error[E0433]: failed to resolve: could not find `Expr_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1618:46 | 1618 | let map_or_arg_is_none = if let hir::Expr_::ExprPath(ref qpath) = map_or_args[1].node { | ^^^^^ could not find `Expr_` in `hir` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:307:20 | 307 | if let Expr_::ExprBinary(ref binop, ref a, ref b) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `ExpnFormat` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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: could not find `TypeVariants` in `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:205:36 | 205 | if let ty::TypeVariants::TyAdt(def, ..) = ty.sty { | ^^^^^^^^^^^^ could not find `TypeVariants` in `ty` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:57:20 | 57 | if let Expr_::ExprUnary(UnOp::UnNot, ref inner) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:58:20 | 58 | if let Expr_::ExprBinary(ref op, ref left, _) = inner.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:59:20 | 59 | if let BinOp_::BiLe | BinOp_::BiGe | BinOp_::BiLt | BinOp_::BiGt = op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:59:35 | 59 | if let BinOp_::BiLe | BinOp_::BiGe | BinOp_::BiLt | BinOp_::BiGt = op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:59:50 | 59 | if let BinOp_::BiLe | BinOp_::BiGe | BinOp_::BiLt | BinOp_::BiGt = op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_cmp_op_on_partial_ord.rs:59:65 | 59 | if let BinOp_::BiLe | BinOp_::BiGe | BinOp_::BiLt | BinOp_::BiGt = op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `PatKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `attr` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_expressive_names.rs:329:9 | 329 | if !attr::contains_name(attrs, "test") { | ^^^^ use of undeclared type or module `attr` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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 `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:35:20 | 35 | if let Expr_::ExprBinary(ref op, ref first, ref second) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:36:20 | 36 | if let Expr_::ExprBinary(ref op2, ref ident1, ref ident2) = first.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:37:20 | 37 | if let Expr_::ExprPath(QPath::Resolved(_, ref path1)) = ident1.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:38:20 | 38 | if let Expr_::ExprPath(QPath::Resolved(_, ref path2)) = ident2.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:39:20 | 39 | if let Expr_::ExprPath(QPath::Resolved(_, ref path3)) = second.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:44:24 | 44 | if let BinOp_::BiLt = op.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:45:28 | 45 | if let BinOp_::BiAdd = op2.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:50:24 | 50 | if let BinOp_::BiGt = op.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:51:28 | 51 | if let BinOp_::BiSub = op2.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:60:20 | 60 | if let Expr_::ExprBinary(ref op, ref first, ref second) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:61:20 | 61 | if let Expr_::ExprBinary(ref op2, ref ident1, ref ident2) = second.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:62:20 | 62 | if let Expr_::ExprPath(QPath::Resolved(_, ref path1)) = ident1.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:63:20 | 63 | if let Expr_::ExprPath(QPath::Resolved(_, ref path2)) = ident2.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:64:20 | 64 | if let Expr_::ExprPath(QPath::Resolved(_, ref path3)) = first.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:69:24 | 69 | if let BinOp_::BiGt = op.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:70:28 | 70 | if let BinOp_::BiAdd = op2.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:75:24 | 75 | if let BinOp_::BiLt = op.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/overflow_check_conditional.rs:76:28 | 76 | if let BinOp_::BiSub = op2.node { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 `Ty_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:276:12 | 276 | if let Ty_::TyRptr(ref lt, ref m) = ty.node { | ^^^ use of undeclared type or module `Ty_` error[E0433]: failed to resolve: use of undeclared type or module `RangeLimits` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:24 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ---- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiEq` | | | | | | | | | | | pattern doesn't bind `BiEq` | | | | pattern doesn't bind `BiEq` | | | pattern doesn't bind `BiEq` | | pattern doesn't bind `BiEq` | variable not in all patterns error[E0408]: variable `BiNe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:17 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ^^^^ ^^^^ ^^^^ ---- ^^^^ ^^^^ pattern doesn't bind `BiNe` | | | | | | | | | | | pattern doesn't bind `BiNe` | | | | variable not in all patterns | | | pattern doesn't bind `BiNe` | | pattern doesn't bind `BiNe` | pattern doesn't bind `BiNe` error[E0408]: variable `BiLt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:17 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ^^^^ ---- ^^^^ ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiLt` | | | | | | | | | | | pattern doesn't bind `BiLt` | | | | pattern doesn't bind `BiLt` | | | pattern doesn't bind `BiLt` | | variable not in all patterns | pattern doesn't bind `BiLt` error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:17 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ^^^^ ^^^^ ---- ^^^^ ^^^^ ^^^^ pattern doesn't bind `BiLe` | | | | | | | | | | | pattern doesn't bind `BiLe` | | | | pattern doesn't bind `BiLe` | | | variable not in all patterns | | pattern doesn't bind `BiLe` | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:17 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ^^^^ ^^^^ ^^^^ ^^^^ ---- ^^^^ pattern doesn't bind `BiGe` | | | | | | | | | | | variable not in all patterns | | | | pattern doesn't bind `BiGe` | | | pattern doesn't bind `BiGe` | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0408]: variable `BiGt` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:65:17 | 65 | BiEq | BiLt | BiLe | BiNe | BiGe | BiGt => return, | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ---- variable not in all patterns | | | | | | | | | | | pattern doesn't bind `BiGt` | | | | pattern doesn't bind `BiGt` | | | pattern doesn't bind `BiGt` | | pattern doesn't bind `BiGt` | pattern doesn't bind `BiGt` error[E0433]: failed to resolve: could not find `Item_` in `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:170:21 | 170 | if let hir::Item_::ItemImpl(_, _, _, _, Some(ref trait_ref), _, _) = item.node; | ^^^^^ could not find `Item_` in `hir` error[E0433]: failed to resolve: use of undeclared type or module `Abi` --> /home/cratesfyi/.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 `Ty_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:126:24 | 126 | if let Ty_::TyRptr(_, MutTy { ty: ref decl_ty, .. }) = input.node; | ^^^ use of undeclared type or module `Ty_` error[E0407]: method `check_decl` is not a member of trait `LateLintPass` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:408:5 | 408 | / fn check_decl(&mut self, cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl) { 409 | | check_let_unit(cx, decl) 410 | | } | |_____^ not a member of trait `LateLintPass` error[E0408]: variable `BiEq` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:453:28 | 453 | BiEq | BiLe | BiGe => "true", | ---- ^^^^ ^^^^ pattern doesn't bind `BiEq` | | | | | pattern doesn't bind `BiEq` | variable not in all patterns error[E0408]: variable `BiLe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:453:21 | 453 | BiEq | BiLe | BiGe => "true", | ^^^^ ---- ^^^^ pattern doesn't bind `BiLe` | | | | | variable not in all patterns | pattern doesn't bind `BiLe` error[E0408]: variable `BiGe` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:453:21 | 453 | BiEq | BiLe | BiGe => "true", | ^^^^ ^^^^ ---- variable not in all patterns | | | | | pattern doesn't bind `BiGe` | pattern doesn't bind `BiGe` error[E0433]: failed to resolve: use of undeclared type or module `CompilerDesugaringKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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[E0408]: variable `TyInfer` is not bound in all patterns --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1217:23 | 1217 | TyInfer | TyPtr(..) | TyRptr(..) => (1, 0), | ------- ^^^^^^^^^ ^^^^^^^^^^ pattern doesn't bind `TyInfer` | | | | | pattern doesn't bind `TyInfer` | variable not in all patterns error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `LitKind` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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` --> /home/cratesfyi/.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 `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:81:12 | 81 | if let Expr_::ExprBinary(op, left, right) = &expr.node { | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:83:21 | 83 | (false, BinOp_::BiAnd) | (false, BinOp_::BiBitAnd) | (true, BinOp_::BiOr) | (true, BinOp_::BiBitOr) => { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:83:46 | 83 | (false, BinOp_::BiAnd) | (false, BinOp_::BiBitAnd) | (true, BinOp_::BiOr) | (true, BinOp_::BiBitOr) => { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:83:73 | 83 | (false, BinOp_::BiAnd) | (false, BinOp_::BiBitAnd) | (true, BinOp_::BiOr) | (true, BinOp_::BiBitOr) => { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:83:96 | 83 | (false, BinOp_::BiAnd) | (false, BinOp_::BiBitAnd) | (true, BinOp_::BiOr) | (true, BinOp_::BiBitOr) => { | ^^^^^^ use of undeclared type or module `BinOp_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:90:19 | 90 | } else if let Expr_::ExprUnary(UnNot, expr) = &expr.node { | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:94:20 | 94 | if let Expr_::ExprMethodCall(method_name, _, args) = &expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:95:20 | 95 | if let Expr_::ExprPath(QPath::Resolved(None, path)) = &args[0].node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:134:16 | 134 | if let Expr_::ExprIf(cond, then, els) = &expr.node { | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:143:24 | 143 | if let Expr_::ExprMethodCall(ref method_name, _, ref args) = expr.node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Expr_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:144:24 | 144 | if let Expr_::ExprPath(QPath::Resolved(None, ref path)) = args[0].node; | ^^^^^ use of undeclared type or module `Expr_` error[E0433]: failed to resolve: use of undeclared type or module `Ty_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:59:20 | 59 | if let Ty_::TyPath(QPath::Resolved(_, ref item_path)) = item_type.node; | ^^^ use of undeclared type or module `Ty_` error[E0433]: failed to resolve: use of undeclared type or module `LitKind` --> /home/cratesfyi/.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[E0433]: failed to resolve: use of undeclared type or module `BinOp_` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/zero_div_zero.rs:36:20 | 36 | if let BinOp_::BiDiv = op.node; | ^^^^^^ use of undeclared type or module `BinOp_` error[E0412]: cannot find type `FloatTy` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 `TypeVariants` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:125:52 | 125 | pub fn partial_cmp(tcx: TyCtxt, cmp_type: &ty::TypeVariants, left: &Self, right: &Self) -> Option<Ordering> { | ^^^^^^^^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:130:28 | 130 | if let ty::TyInt(int_ty) = *cmp_type { | ^^^^^ not found in `ty` error[E0412]: cannot find type `LitKind` in this scope --> /home/cratesfyi/.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 { | ^^^^^^^ help: an enum with a similar name exists: `PatKind` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:168:17 | 168 | ty::TyFloat(FloatTy::F32) => Constant::F32(is.as_str().parse().unwrap()), | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:169:17 | 169 | ty::TyFloat(FloatTy::F64) => Constant::F64(is.as_str().parse().unwrap()), | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:214:13 | 214 | ExprPath(ref qpath) => self.fetch_path(qpath, e.hir_id), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:215:13 | 215 | ExprBlock(ref block, _) => self.block(block), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:216:13 | 216 | ExprIf(ref cond, ref then, ref otherwise) => self.ifthenelse(cond, then, otherwise), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:217:13 | 217 | ExprLit(ref lit) => Some(lit_to_constant(&lit.node, self.tables.expr_ty(e))), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:218:13 | 218 | ExprArray(ref vec) => self.multi(vec).map(Constant::Vec), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:219:13 | 219 | ExprTup(ref tup) => self.multi(tup).map(Constant::Tuple), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:220:13 | 220 | ExprRepeat(ref value, _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:222:25 | 222 | ty::TyArray(_, n) => n.assert_usize(self.tcx).expect("array length"), | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:227:13 | 227 | ExprUnary(op, ref operand) => self.expr(operand).and_then(|o| match op { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:232:13 | 232 | ExprBinary(op, ref left, ref right) => self.binop(op, left, right), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:245:25 | 245 | ty::TyInt(ity) => Some(Int(unsext(self.tcx, value as i128, ity))), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:246:25 | 246 | ty::TyUint(ity) => Some(Int(clip(self.tcx, value, ity))), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:259:25 | 259 | ty::TyInt(ity) => ity, | ^^^^^ not found in `ty` error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:338:25 | 338 | ty::TyInt(ity) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:362:25 | 362 | ty::TyUint(_) => { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:431:17 | 431 | ty::TyBool => Some(Constant::Bool(b == 1)), | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:432:17 | 432 | ty::TyUint(_) | ty::TyInt(_) => Some(Constant::Int(b)), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:432:33 | 432 | ty::TyUint(_) | ty::TyInt(_) => Some(Constant::Int(b)), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:433:17 | 433 | ty::TyFloat(FloatTy::F32) => Some(Constant::F32(f32::from_bits(b as u32))), | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:434:17 | 434 | ty::TyFloat(FloatTy::F64) => Some(Constant::F64(f64::from_bits(b as u64))), | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:439:17 | 439 | ty::TyRef(_, tam, _) => match tam.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/consts.rs:440:21 | 440 | ty::TyStr => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:46:15 | 46 | (&StmtDecl(ref l, _), &StmtDecl(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:46:36 | 46 | (&StmtDecl(ref l, _), &StmtDecl(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:47:26 | 47 | if let (&DeclLocal(ref l), &DeclLocal(ref r)) = (&l.node, &r.node) { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:47:45 | 47 | if let (&DeclLocal(ref l), &DeclLocal(ref r)) = (&l.node, &r.node) { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:53:15 | 53 | (&StmtExpr(ref l, _), &StmtExpr(ref r, _)) | (&StmtSemi(ref l, _), &StmtSemi(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:53:36 | 53 | (&StmtExpr(ref l, _), &StmtExpr(ref r, _)) | (&StmtSemi(ref l, _), &StmtSemi(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:53:60 | 53 | (&StmtExpr(ref l, _), &StmtExpr(ref r, _)) | (&StmtSemi(ref l, _), &StmtSemi(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:53:81 | 53 | (&StmtExpr(ref l, _), &StmtExpr(ref r, _)) | (&StmtSemi(ref l, _), &StmtSemi(ref r, _)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:78:15 | 78 | (&ExprAddrOf(l_mut, ref le), &ExprAddrOf(r_mut, ref re)) => l_mut == r_mut && self.eq_expr(le, re), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:78:43 | 78 | (&ExprAddrOf(l_mut, ref le), &ExprAddrOf(r_mut, ref re)) => l_mut == r_mut && self.eq_expr(le, re), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:82:15 | 82 | (&ExprAssign(ref ll, ref lr), &ExprAssign(ref rl, ref rr)) => self.eq_expr(ll, rl) && self.eq_expr(lr, rr), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:82:44 | 82 | (&ExprAssign(ref ll, ref lr), &ExprAssign(ref rl, ref rr)) => self.eq_expr(ll, rl) && self.eq_expr(lr, rr), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:83:15 | 83 | (&ExprAssignOp(ref lo, ref ll, ref lr), &ExprAssignOp(ref ro, ref rl, ref rr)) => { | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:83:54 | 83 | (&ExprAssignOp(ref lo, ref ll, ref lr), &ExprAssignOp(ref ro, ref rl, ref rr)) => { | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:86:15 | 86 | (&ExprBlock(ref l, _), &ExprBlock(ref r, _)) => self.eq_block(l, r), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:86:37 | 86 | (&ExprBlock(ref l, _), &ExprBlock(ref r, _)) => self.eq_block(l, r), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:87:15 | 87 | (&ExprBinary(l_op, ref ll, ref lr), &ExprBinary(r_op, ref rl, ref rr)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:87:50 | 87 | (&ExprBinary(l_op, ref ll, ref lr), &ExprBinary(r_op, ref rl, ref rr)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:93:15 | 93 | (&ExprBreak(li, ref le), &ExprBreak(ri, ref re)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:93:39 | 93 | (&ExprBreak(li, ref le), &ExprBreak(ri, ref re)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:97:15 | 97 | (&ExprBox(ref l), &ExprBox(ref r)) => self.eq_expr(l, r), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:97:32 | 97 | (&ExprBox(ref l), &ExprBox(ref r)) => self.eq_expr(l, r), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:98:15 | 98 | (&ExprCall(ref l_fun, ref l_args), &ExprCall(ref r_fun, ref r_args)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:98:49 | 98 | (&ExprCall(ref l_fun, ref l_args), &ExprCall(ref r_fun, ref r_args)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:101:15 | 101 | (&ExprCast(ref lx, ref lt), &ExprCast(ref rx, ref rt)) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:101:42 | 101 | (&ExprCast(ref lx, ref lt), &ExprCast(ref rx, ref rt)) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprType` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:102:15 | 102 | (&ExprType(ref lx, ref lt), &ExprType(ref rx, ref rt)) => self.eq_expr(lx, rx) && self.eq_ty(lt, rt), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprType` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:102:42 | 102 | (&ExprType(ref lx, ref lt), &ExprType(ref rx, ref rt)) => self.eq_expr(lx, rx) && self.eq_ty(lt, rt), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:103:15 | 103 | (&ExprField(ref l_f_exp, ref l_f_ident), &ExprField(ref r_f_exp, ref r_f_ident)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:103:55 | 103 | (&ExprField(ref l_f_exp, ref l_f_ident), &ExprField(ref r_f_exp, ref r_f_ident)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:106:15 | 106 | (&ExprIndex(ref la, ref li), &ExprIndex(ref ra, ref ri)) => self.eq_expr(la, ra) && self.eq_expr(li, ri), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:106:43 | 106 | (&ExprIndex(ref la, ref li), &ExprIndex(ref ra, ref ri)) => self.eq_expr(la, ra) && self.eq_expr(li, ri), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:107:15 | 107 | (&ExprIf(ref lc, ref lt, ref le), &ExprIf(ref rc, ref rt, ref re)) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:107:48 | 107 | (&ExprIf(ref lc, ref lt, ref le), &ExprIf(ref rc, ref rt, ref re)) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:110:15 | 110 | (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:110:32 | 110 | (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:111:15 | 111 | (&ExprLoop(ref lb, ref ll, ref lls), &ExprLoop(ref rb, ref rl, ref rls)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:111:51 | 111 | (&ExprLoop(ref lb, ref ll, ref lls), &ExprLoop(ref rb, ref rl, ref rls)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:114:15 | 114 | (&ExprMatch(ref le, ref la, ref ls), &ExprMatch(ref re, ref ra, ref rs)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:114:51 | 114 | (&ExprMatch(ref le, ref la, ref ls), &ExprMatch(ref re, ref ra, ref rs)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:120:15 | 120 | (&ExprMethodCall(ref l_path, _, ref l_args), &ExprMethodCall(ref r_path, _, ref r_args)) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:120:59 | 120 | (&ExprMethodCall(ref l_path, _, ref l_args), &ExprMethodCall(ref r_path, _, ref r_args)) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:123:15 | 123 | (&ExprRepeat(ref le, ref ll_id), &ExprRepeat(ref re, ref rl_id)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:123:47 | 123 | (&ExprRepeat(ref le, ref ll_id), &ExprRepeat(ref re, ref rl_id)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:131:15 | 131 | (&ExprRet(ref l), &ExprRet(ref r)) => both(l, r, |l, r| self.eq_expr(l, r)), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:131:32 | 131 | (&ExprRet(ref l), &ExprRet(ref r)) => both(l, r, |l, r| self.eq_expr(l, r)), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:132:15 | 132 | (&ExprPath(ref l), &ExprPath(ref r)) => self.eq_qpath(l, r), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:132:33 | 132 | (&ExprPath(ref l), &ExprPath(ref r)) => self.eq_qpath(l, r), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:133:15 | 133 | (&ExprStruct(ref l_path, ref lf, ref lo), &ExprStruct(ref r_path, ref rf, ref ro)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:133:56 | 133 | (&ExprStruct(ref l_path, ref lf, ref lo), &ExprStruct(ref r_path, ref rf, ref ro)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:137:15 | 137 | (&ExprTup(ref l_tup), &ExprTup(ref r_tup)) => self.eq_exprs(l_tup, r_tup), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:137:36 | 137 | (&ExprTup(ref l_tup), &ExprTup(ref r_tup)) => self.eq_exprs(l_tup, r_tup), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:138:15 | 138 | (&ExprUnary(l_op, ref le), &ExprUnary(r_op, ref re)) => l_op == r_op && self.eq_expr(le, re), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:138:41 | 138 | (&ExprUnary(l_op, ref le), &ExprUnary(r_op, ref re)) => l_op == r_op && self.eq_expr(le, re), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:139:15 | 139 | (&ExprArray(ref l), &ExprArray(ref r)) => self.eq_exprs(l, r), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:139:34 | 139 | (&ExprArray(ref l), &ExprArray(ref r)) => self.eq_exprs(l, r), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:140:15 | 140 | (&ExprWhile(ref lc, ref lb, ref ll), &ExprWhile(ref rc, ref rb, ref rl)) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:140:51 | 140 | (&ExprWhile(ref lc, ref lb, ref ll), &ExprWhile(ref rc, ref rb, ref rl)) => { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `TySlice` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:243:15 | 243 | (&TySlice(ref l_vec), &TySlice(ref r_vec)) => self.eq_ty(l_vec, r_vec), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TySlice` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:243:36 | 243 | (&TySlice(ref l_vec), &TySlice(ref r_vec)) => self.eq_ty(l_vec, r_vec), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:244:15 | 244 | (&TyArray(ref lt, ref ll_id), &TyArray(ref rt, ref rl_id)) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:244:44 | 244 | (&TyArray(ref lt, ref ll_id), &TyArray(ref rt, ref rl_id)) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:259:15 | 259 | (&TyPtr(ref l_mut), &TyPtr(ref r_mut)) => l_mut.mutbl == r_mut.mutbl && self.eq_ty(&*l_mut.ty, &*r_mut.ty), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:259:34 | 259 | (&TyPtr(ref l_mut), &TyPtr(ref r_mut)) => l_mut.mutbl == r_mut.mutbl && self.eq_ty(&*l_mut.ty, &*r_mut.ty), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:260:15 | 260 | (&TyRptr(_, ref l_rmut), &TyRptr(_, ref r_rmut)) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:260:39 | 260 | (&TyRptr(_, ref l_rmut), &TyRptr(_, ref r_rmut)) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:263:15 | 263 | (&TyPath(ref l), &TyPath(ref r)) => self.eq_qpath(l, r), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:263:31 | 263 | (&TyPath(ref l), &TyPath(ref r)) => self.eq_qpath(l, r), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:264:15 | 264 | (&TyTup(ref l), &TyTup(ref r)) => over(l, r, |l, r| self.eq_ty(l, r)), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:264:30 | 264 | (&TyTup(ref l), &TyTup(ref r)) => over(l, r, |l, r| self.eq_ty(l, r)), | ^^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:275:26 | 275 | fn swap_binop<'a>(binop: BinOp_, lhs: &'a Expr, rhs: &'a Expr) -> Option<(BinOp_, &'a Expr, &'a Expr)> { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:275:75 | 275 | fn swap_binop<'a>(binop: BinOp_, lhs: &'a Expr, rhs: &'a Expr) -> Option<(BinOp_, &'a Expr, &'a Expr)> { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0425]: cannot find value `BiGt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:278:23 | 278 | BiLt => Some((BiGt, rhs, lhs)), | ^^^^ help: a local variable with a similar name exists: `BiLt` error[E0425]: cannot find value `BiGe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:279:23 | 279 | BiLe => Some((BiGe, rhs, lhs)), | ^^^^ help: a local variable with a similar name exists: `BiLe` error[E0425]: cannot find value `BiLe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:280:23 | 280 | BiGe => Some((BiLe, rhs, lhs)), | ^^^^ help: a local variable with a similar name exists: `BiGe` error[E0425]: cannot find value `BiLt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:281:23 | 281 | BiGt => Some((BiLt, rhs, lhs)), | ^^^^ help: a local variable with a similar name exists: `BiGt` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:349:13 | 349 | ExprAddrOf(m, ref e) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:350:40 | 350 | let c: fn(_, _) -> _ = ExprAddrOf; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprYield` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:362:13 | 362 | ExprYield(ref e) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprYield` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:363:37 | 363 | let c: fn(_) -> _ = ExprYield; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:367:13 | 367 | ExprAssign(ref l, ref r) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:368:40 | 368 | let c: fn(_, _) -> _ = ExprAssign; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:373:13 | 373 | ExprAssignOp(ref o, ref l, ref r) => { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:374:43 | 374 | let c: fn(_, _, _) -> _ = ExprAssignOp; | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:380:13 | 380 | ExprBlock(ref b, _) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:381:40 | 381 | let c: fn(_, _) -> _ = ExprBlock; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:385:13 | 385 | ExprBinary(op, ref l, ref r) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:386:43 | 386 | let c: fn(_, _, _) -> _ = ExprBinary; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:392:13 | 392 | ExprBreak(i, ref j) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:393:40 | 393 | let c: fn(_, _) -> _ = ExprBreak; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:402:13 | 402 | ExprBox(ref e) => { | ^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:403:37 | 403 | let c: fn(_) -> _ = ExprBox; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:407:13 | 407 | ExprCall(ref fun, ref args) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:408:40 | 408 | let c: fn(_, _) -> _ = ExprCall; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:413:13 | 413 | ExprCast(ref e, ref _ty) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:414:40 | 414 | let c: fn(_, _) -> _ = ExprCast; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:419:13 | 419 | ExprClosure(cap, _, eid, _, _) => { | ^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:420:49 | 420 | let c: fn(_, _, _, _, _) -> _ = ExprClosure; | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:425:13 | 425 | ExprField(ref e, ref f) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:426:40 | 426 | let c: fn(_, _) -> _ = ExprField; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:431:13 | 431 | ExprIndex(ref a, ref i) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:432:40 | 432 | let c: fn(_, _) -> _ = ExprIndex; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprInlineAsm` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:437:13 | 437 | ExprInlineAsm(..) => { | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprInlineAsm` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:438:43 | 438 | let c: fn(_, _, _) -> _ = ExprInlineAsm; | ^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:441:13 | 441 | ExprIf(ref cond, ref t, ref e) => { | ^^^^^^ not found in this scope error[E0425]: cannot find value `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:442:43 | 442 | let c: fn(_, _, _) -> _ = ExprIf; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:450:13 | 450 | ExprLit(ref l) => { | ^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:451:37 | 451 | let c: fn(_) -> _ = ExprLit; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:455:13 | 455 | ExprLoop(ref b, ref i, _) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:456:43 | 456 | let c: fn(_, _, _) -> _ = ExprLoop; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:463:13 | 463 | ExprMatch(ref e, ref arms, ref s) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:464:43 | 464 | let c: fn(_, _, _) -> _ = ExprMatch; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:478:13 | 478 | ExprMethodCall(ref path, ref _tys, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:479:43 | 479 | let c: fn(_, _, _) -> _ = ExprMethodCall; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:484:13 | 484 | ExprRepeat(ref e, ref l_id) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:485:40 | 485 | let c: fn(_, _) -> _ = ExprRepeat; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:493:13 | 493 | ExprRet(ref e) => { | ^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:494:37 | 494 | let c: fn(_) -> _ = ExprRet; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:500:13 | 500 | ExprPath(ref qpath) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:501:37 | 501 | let c: fn(_) -> _ = ExprPath; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:505:13 | 505 | ExprStruct(ref path, ref fields, ref expr) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:506:43 | 506 | let c: fn(_, _, _) -> _ = ExprStruct; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:520:13 | 520 | ExprTup(ref tup) => { | ^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:521:37 | 521 | let c: fn(_) -> _ = ExprTup; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprType` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:525:13 | 525 | ExprType(ref e, ref _ty) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprType` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:526:40 | 526 | let c: fn(_, _) -> _ = ExprType; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:531:13 | 531 | ExprUnary(lop, ref le) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:532:40 | 532 | let c: fn(_, _) -> _ = ExprUnary; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:538:13 | 538 | ExprArray(ref v) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:539:37 | 539 | let c: fn(_) -> _ = ExprArray; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:544:13 | 544 | ExprWhile(ref cond, ref b, l) => { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:545:43 | 545 | let c: fn(_, _, _) -> _ = ExprWhile; | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 563 | pub fn hash_name(&mut self, n: rustc::hir::print::AnnNode) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:588:13 | 588 | StmtDecl(ref decl, _) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:589:40 | 589 | let c: fn(_, _) -> _ = StmtDecl; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:592:24 | 592 | if let DeclLocal(ref local) = decl.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:598:13 | 598 | StmtExpr(ref expr, _) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:599:40 | 599 | let c: fn(_, _) -> _ = StmtExpr; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:603:13 | 603 | StmtSemi(ref expr, _) => { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/hir_utils.rs:604:40 | 604 | let c: fn(_, _) -> _ = StmtSemi; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `AssocOp` in this scope --> /home/cratesfyi/.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 `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:49:22 | 49 | hir::ExprAddrOf(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBox` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:50:22 | 50 | hir::ExprBox(..) | | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprClosure` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:51:22 | 51 | hir::ExprClosure(.., _) | | ^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprIf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:52:22 | 52 | hir::ExprIf(..) | | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:53:22 | 53 | hir::ExprUnary(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:54:22 | 54 | hir::ExprMatch(..) => Sugg::MaybeParen(snippet), | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprYield` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:56:22 | 56 | hir::ExprYield(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprArray` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:57:22 | 57 | hir::ExprArray(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBlock` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:58:22 | 58 | hir::ExprBlock(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBreak` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:59:22 | 59 | hir::ExprBreak(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:60:22 | 60 | hir::ExprCall(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprField` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:61:22 | 61 | hir::ExprField(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprIndex` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:62:22 | 62 | hir::ExprIndex(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprInlineAsm` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:63:22 | 63 | hir::ExprInlineAsm(..) | | ^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:64:22 | 64 | hir::ExprLit(..) | | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprLoop` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:65:22 | 65 | hir::ExprLoop(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:66:22 | 66 | hir::ExprMethodCall(..) | | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:67:22 | 67 | hir::ExprPath(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprRepeat` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:68:22 | 68 | hir::ExprRepeat(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprRet` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:69:22 | 69 | hir::ExprRet(..) | | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:70:22 | 70 | hir::ExprStruct(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprTup` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:71:22 | 71 | hir::ExprTup(..) | | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprWhile` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:72:22 | 72 | hir::ExprWhile(..) => Sugg::NonParen(snippet), | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssign` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:73:22 | 73 | hir::ExprAssign(..) => Sugg::BinOp(AssocOp::Assign, snippet), | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:74:22 | 74 | hir::ExprAssignOp(op, ..) => Sugg::BinOp(hirbinop2assignop(op), snippet), | ^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:75:22 | 75 | hir::ExprBinary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(higher::binop(op.node)), snippet), | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCast` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:76:22 | 76 | hir::ExprCast(..) => Sugg::BinOp(AssocOp::As, snippet), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprType` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:77:22 | 77 | hir::ExprType(..) => Sugg::BinOp(AssocOp::Colon, snippet), | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `AssocOp` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use rustc::hir::ExprKind::AssignOp; | error[E0412]: cannot find type `AssocOp` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 candidates are found in other modules, you can import them into scope | 6 | use quine_mc_cluskey::Bool::And; | 6 | use rustc::hir::BinOpKind::And; | 6 | use rustc::traits::GoalKind::And; | error[E0425]: cannot find value `Or` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/sugg.rs:391:20 | 391 | BiBitOr => Or, | ^^ help: a tuple variant with a similar name exists | 391 | BiBitOr => Ok, | ^^ help: possible candidates are found in other modules, you can import them into scope | 6 | use quine_mc_cluskey::Bool::Or; | 6 | use rustc::hir::BinOpKind::Or; | error[E0425]: cannot find value `Caret` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 candidates are found in other modules, you can import them into scope | 6 | use rustc::hir::BinOpKind::Shl; | 6 | use rustc::mir::BinOp::Shl; | error[E0425]: cannot find value `Shr` in this scope --> /home/cratesfyi/.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 candidates are found in other modules, you can import them into scope | 6 | use rustc::hir::BinOpKind::Shr; | 6 | use rustc::mir::BinOp::Shr; | error[E0425]: cannot find value `Minus` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use core::num::flt2dec::Sign::Minus; | error[E0412]: cannot find type `AssocOp` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0425]: cannot find function `CharPos` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 6 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `StmtDecl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:125:18 | 125 | hir::StmtDecl(ref decl, _) => print_decl(cx, decl), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtExpr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:126:18 | 126 | hir::StmtExpr(ref e, _) | hir::StmtSemi(ref e, _) => print_expr(cx, e, 0), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtSemi` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:126:44 | 126 | hir::StmtExpr(ref e, _) | hir::StmtSemi(ref e, _) => print_expr(cx, e, 0), | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Attribute` in this scope --> /home/cratesfyi/.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[E0412]: cannot find type `Decl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:142:45 | 142 | fn print_decl(cx: &LateContext, decl: &hir::Decl) { | ^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:144:14 | 144 | hir::DeclLocal(ref local) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclItem` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:153:14 | 153 | hir::DeclItem(_) => println!("item decl"), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBox` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:163:14 | 163 | hir::ExprBox(ref e) => { | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprArray` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:167:14 | 167 | hir::ExprArray(ref v) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:173:14 | 173 | hir::ExprCall(ref func, ref args) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:182:14 | 182 | hir::ExprMethodCall(ref path, _, ref args) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprTup` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:189:14 | 189 | hir::ExprTup(ref v) => { | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:195:14 | 195 | hir::ExprBinary(op, ref lhs, ref rhs) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:203:14 | 203 | hir::ExprUnary(op, ref inner) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:208:14 | 208 | hir::ExprLit(ref lit) => { | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCast` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:212:14 | 212 | hir::ExprCast(ref e, ref target) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprType` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:217:14 | 217 | hir::ExprType(ref e, ref target) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprIf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:222:14 | 222 | hir::ExprIf(ref e, _, ref els) => { | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprWhile` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:231:14 | 231 | hir::ExprWhile(ref cond, _, _) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprLoop` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:236:14 | 236 | hir::ExprLoop(..) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:239:14 | 239 | hir::ExprMatch(ref cond, _, ref source) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprClosure` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:245:14 | 245 | hir::ExprClosure(ref clause, _, _, _, _) => { | ^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprYield` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:249:14 | 249 | hir::ExprYield(ref sub) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBlock` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:253:14 | 253 | hir::ExprBlock(_, _) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssign` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:256:14 | 256 | hir::ExprAssign(ref lhs, ref rhs) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:263:14 | 263 | hir::ExprAssignOp(ref binop, ref lhs, ref rhs) => { | ^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprField` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:271:14 | 271 | hir::ExprField(ref e, ident) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprIndex` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:277:14 | 277 | hir::ExprIndex(ref arr, ref idx) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:284:14 | 284 | hir::ExprPath(hir::QPath::Resolved(ref ty, ref path)) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:288:14 | 288 | hir::ExprPath(hir::QPath::TypeRelative(ref ty, ref seg)) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:292:14 | 292 | hir::ExprAddrOf(ref muta, ref e) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBreak` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:297:14 | 297 | hir::ExprBreak(_, ref e) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> /home/cratesfyi/.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 `ExprRet` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:304:14 | 304 | hir::ExprRet(ref e) => { | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprInlineAsm` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:310:14 | 310 | hir::ExprInlineAsm(_, ref input, ref output) => { | ^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:321:14 | 321 | hir::ExprStruct(ref path, ref fields, ref base) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprRepeat` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:333:14 | 333 | hir::ExprRepeat(ref val, ref anon_const) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemExternCrate` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:356:14 | 356 | hir::ItemExternCrate(ref _renamed_from) => { | ^^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUse` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:370:14 | 370 | hir::ItemUse(ref path, ref kind) => println!("{:?}, {:?}", path, kind), | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStatic` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:371:14 | 371 | hir::ItemStatic(..) => println!("static item of type {:#?}", cx.tcx.type_of(did)), | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemConst` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:372:14 | 372 | hir::ItemConst(..) => println!("const item of type {:#?}", cx.tcx.type_of(did)), | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemFn` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:373:14 | 373 | hir::ItemFn(..) => { | ^^^^^^ not found in `hir` help: possible candidate is found in another module, you can import it into scope | 5 | use rustc::hir::intravisit::FnKind::ItemFn; | error[E0531]: cannot find tuple struct/variant `ItemMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:377:14 | 377 | hir::ItemMod(..) => println!("module"), | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemForeignMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:378:14 | 378 | hir::ItemForeignMod(ref fm) => println!("foreign module with abi: {}", fm.abi), | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemGlobalAsm` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:379:14 | 379 | hir::ItemGlobalAsm(ref asm) => println!("global asm: {:?}", asm), | ^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTy` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:380:14 | 380 | hir::ItemTy(..) => { | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemEnum` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:386:14 | 386 | hir::ItemEnum(..) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:389:14 | 389 | hir::ItemStruct(..) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUnion` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:392:14 | 392 | hir::ItemUnion(..) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTrait` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:395:14 | 395 | hir::ItemTrait(..) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTraitAlias` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:403:14 | 403 | hir::ItemTraitAlias(..) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:406:14 | 406 | hir::ItemImpl(_, _, _, _, Some(ref _trait_ref), _, _) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/inspector.rs:409:14 | 409 | hir::ItemImpl(_, _, _, _, None, _, _) => { | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `AstCrate` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 106 | declared_lints: HashMap<rustc::hir::print::AnnNode, Span>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 107 | registered_lints: HashSet<rustc::hir::print::AnnNode>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ItemStatic` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:120:16 | 120 | if let ItemStatic(ref ty, MutImmutable, body_id) = item.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:163:12 | 163 | if let TyRptr( | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:171:16 | 171 | if let TyPath(ref path) = inner.node { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/internal_lints.rs:180:12 | 180 | if let TyPath(ref path) = ty.node { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 188 | output: &'a mut HashSet<rustc::hir::print::AnnNode>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 25 | name: rustc::hir::print::AnnNode, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 46 | name: rustc::hir::print::AnnNode, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/ptr.rs:57:16 | 57 | if let ExprMethodCall(ref seg, _, ref args) = expr.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 81 | fn get_binding_name(arg: &Arg) -> Option<rustc::hir::print::AnnNode> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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>> { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/usage.rs:42:27 | 42 | used_mutably: HashSet<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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 `BinOp_` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:12:23 | 12 | pub fn binop(op: hir::BinOp_) -> ast::BinOpKind { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0531]: cannot find unit struct/variant or constant `BiEq` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:14:14 | 14 | hir::BiEq => ast::BinOpKind::Eq, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiGe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:15:14 | 15 | hir::BiGe => ast::BinOpKind::Ge, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiGt` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:16:14 | 16 | hir::BiGt => ast::BinOpKind::Gt, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiLe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:17:14 | 17 | hir::BiLe => ast::BinOpKind::Le, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiLt` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:18:14 | 18 | hir::BiLt => ast::BinOpKind::Lt, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiNe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:19:14 | 19 | hir::BiNe => ast::BinOpKind::Ne, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:20:14 | 20 | hir::BiOr => ast::BinOpKind::Or, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAdd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:21:14 | 21 | hir::BiAdd => ast::BinOpKind::Add, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:22:14 | 22 | hir::BiAnd => ast::BinOpKind::And, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:23:14 | 23 | hir::BiBitAnd => ast::BinOpKind::BitAnd, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:24:14 | 24 | hir::BiBitOr => ast::BinOpKind::BitOr, | ^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitXor` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:25:14 | 25 | hir::BiBitXor => ast::BinOpKind::BitXor, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiDiv` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:26:14 | 26 | hir::BiDiv => ast::BinOpKind::Div, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiMul` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:27:14 | 27 | hir::BiMul => ast::BinOpKind::Mul, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiRem` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:28:14 | 28 | hir::BiRem => ast::BinOpKind::Rem, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:29:14 | 29 | hir::BiShl => ast::BinOpKind::Shl, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:30:14 | 30 | hir::BiShr => ast::BinOpKind::Shr, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiSub` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:31:14 | 31 | hir::BiSub => ast::BinOpKind::Sub, | ^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:50:13 | 50 | ty::TyAdt(def, _) => cx.tcx.def_path(def.did), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:90:14 | 90 | hir::ExprPath(ref path) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:101:14 | 101 | hir::ExprCall(ref path, ref args) => if let hir::ExprPath(ref path) = path.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:101:58 | 101 | hir::ExprCall(ref path, ref args) => if let hir::ExprPath(ref path) = path.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:114:14 | 114 | hir::ExprStruct(ref path, ref fields, None) => if match_qpath(path, &paths::RANGE_FROM_STD) | ^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Decl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:148:40 | 148 | pub fn is_from_for_desugar(decl: &hir::Decl) -> bool { | ^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:157:21 | 157 | if let hir::DeclLocal(ref loc) = decl.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:159:21 | 159 | if let hir::ExprMatch(_, _, hir::MatchSource::ForLoopDesugar) = expr.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:174:21 | 174 | if let hir::DeclLocal(ref loc) = decl.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:188:21 | 188 | if let hir::ExprMatch(ref iterexpr, ref arms, hir::MatchSource::ForLoopDesugar) = expr.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:189:21 | 189 | if let hir::ExprCall(_, ref iterargs) = iterexpr.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprLoop` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:191:21 | 191 | if let hir::ExprLoop(ref block, _, _) = arms[0].body.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtDecl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:194:21 | 194 | if let hir::StmtDecl(ref decl, _) = let_stmt.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:195:21 | 195 | if let hir::DeclLocal(ref decl) = decl.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtExpr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:196:21 | 196 | if let hir::StmtExpr(ref expr, _) = body.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:216:21 | 216 | if let hir::ExprCall(ref fun, ref args) = expr.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:217:21 | 217 | if let hir::ExprPath(ref path) = fun.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBox` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:228:33 | 228 | if let hir::ExprBox(ref boxed) = args[0].node; | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprArray` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/higher.rs:229:33 | 229 | if let hir::ExprArray(ref args) = boxed.node; | ^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `ExpnInfo` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:148:13 | 148 | ty::TyAdt(adt, _) => match_def_path(cx.tcx, adt.did, path), | ^^^^^ not found in `ty` error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 176 | pub fn match_var(expr: &Expr, var: rustc::hir::print::AnnNode) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:177:12 | 177 | if let ExprPath(QPath::Resolved(None, ref path)) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:213:13 | 213 | TyPath(ref inner_path) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:333:16 | 333 | if let ExprMethodCall(ref path, _, ref args) = current.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 353 | pub fn get_item_name(cx: &LateContext, expr: &Expr) -> Option<rustc::hir::print::AnnNode> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 364 | pub fn get_pat_name(pat: &Pat) -> Option<rustc::hir::print::AnnNode> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 374 | name: rustc::hir::print::AnnNode, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 379 | fn visit_name(&mut self, _: Span, name: rustc::hir::print::AnnNode) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 390 | pub fn contains_name(name: rustc::hir::print::AnnNode, expr: &Expr) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:448:12 | 448 | if let ExprBlock(_, _) = expr.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:505:18 | 505 | let node_id: NodeId = e.id; | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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); | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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> { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ItemFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:527:23 | 527 | node: ItemFn(_, _, _, eid), | ^^^^^^ 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::ItemFn; | error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:533:17 | 533 | ExprBlock(ref block, _) => Some(block), | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> /home/cratesfyi/.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>); | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> /home/cratesfyi/.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>), | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> /home/cratesfyi/.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) | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DiagnosticWrapper` error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:670:9 | 670 | TyPtr(ref mut_ty) | TyRptr(_, ref mut_ty) => walk_ptrs_hir_ty(&mut_ty.ty), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:670:29 | 670 | TyPtr(ref mut_ty) | TyRptr(_, ref mut_ty) => walk_ptrs_hir_ty(&mut_ty.ty), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:678:13 | 678 | ty::TyRef(_, ty, _) => walk_ptrs_ty(ty), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:688:17 | 688 | ty::TyRef(_, ty, _) => inner(ty, depth + 1), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:698:12 | 698 | if let ExprLit(ref spanned) = expr.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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> { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:889:13 | 889 | ty::TyFnDef(..) | ty::TyFnPtr(_) => ty.fn_sig(cx.tcx).unsafety() == Unsafety::Unsafe, | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:889:31 | 889 | ty::TyFnDef(..) | ty::TyFnPtr(_) => ty.fn_sig(cx.tcx).unsafety() == Unsafety::Unsafe, | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0425]: cannot find value `DUMMY_SP` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:948:12 | 948 | if let ExprBlock(ref block, _) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:1001:16 | 1001 | if let TyPath(ref qp) = slf.node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:1023:20 | 1023 | if let ExprPath(QPath::Resolved(None, ref path)) = arm.body.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:1041:12 | 1041 | if let ExprMatch(_, ref arms, ref source) = expr.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/approx_const.rs:66:16 | 66 | if let ExprLit(ref lit) = e.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Lit` in this scope --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 72 | fn check_lit(cx: &LateContext, lit: &rustc::hir::ExprKind, e: &Expr) { | ^^^^^^^^^^^^^^^^^^^^ 72 | fn check_lit(cx: &LateContext, lit: &rustc::hir::PatKind, e: &Expr) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 72 | fn check_lit(cx: &LateContext, lit: &Lint, e: &Expr) { | ^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:58:18 | 58 | hir::ExprBinary(ref op, ref l, ref r) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:60:26 | 60 | hir::BiAnd | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:61:28 | 61 | | hir::BiOr | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:62:28 | 62 | | hir::BiBitAnd | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:63:28 | 63 | | hir::BiBitOr | ^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitXor` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:64:28 | 64 | | hir::BiBitXor | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:65:28 | 65 | | hir::BiShl | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:66:28 | 66 | | hir::BiShr | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiEq` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:67:28 | 67 | | hir::BiEq | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiLt` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:68:28 | 68 | | hir::BiLt | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiLe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:69:28 | 69 | | hir::BiLe | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiNe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:70:28 | 70 | | hir::BiNe | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiGe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:71:28 | 71 | | hir::BiGe | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiGt` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:72:28 | 72 | | hir::BiGt => return, | ^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/arithmetic.rs:84:18 | 84 | hir::ExprUnary(hir::UnOp::UnNeg, ref arg) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:79:18 | 79 | hir::ExprAssignOp(op, ref lhs, ref rhs) => { | ^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:90:29 | 90 | if let hir::ExprBinary(binop, ref l, ref r) = rhs.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssign` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:134:18 | 134 | hir::ExprAssign(ref assignee, ref e) => { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:135:29 | 135 | if let hir::ExprBinary(op, ref l, ref r) = e.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAdd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:178:34 | 178 | Add: BiAdd, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiSub` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:179:34 | 179 | Sub: BiSub, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiMul` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:180:34 | 180 | Mul: BiMul, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiDiv` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:181:34 | 181 | Div: BiDiv, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiRem` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:182:34 | 182 | Rem: BiRem, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:183:34 | 183 | And: BiAnd, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:184:33 | 184 | Or: BiOr, | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:185:37 | 185 | BitAnd: BiBitAnd, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:186:36 | 186 | BitOr: BiBitOr, | ^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitXor` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:187:37 | 187 | BitXor: BiBitXor, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:188:34 | 188 | Shr: BiShr, | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiShl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:189:34 | 189 | Shl: BiShl | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAdd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:227:38 | 227 | hir::BiAdd | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiMul` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:228:40 | 228 | | hir::BiMul | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:229:40 | 229 | | hir::BiAnd | ^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:230:40 | 230 | | hir::BiOr | ^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitXor` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:231:40 | 231 | | hir::BiBitXor | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitAnd` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:232:40 | 232 | | hir::BiBitAnd | ^^^^^^^^ not found in `hir` error[E0531]: cannot find unit struct/variant or constant `BiBitOr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:233:40 | 233 | | hir::BiBitOr => { | ^^^^^^^ not found in `hir` error[E0412]: cannot find type `BinOp_` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:247:28 | 247 | fn is_commutative(op: hir::BinOp_) -> bool { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `Attribute` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemExternCrate` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:157:13 | 157 | ItemExternCrate(_) | ItemUse(_, _) => { | ^^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemUse` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:157:34 | 157 | ItemExternCrate(_) | ItemUse(_, _) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemUse` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:165:48 | 165 | if let ItemUse(_, _) = item.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:210:12 | 210 | if let ItemFn(_, _, _, eid) = item.node { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::intravisit::FnKind::ItemFn; | error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:237:13 | 237 | StmtDecl(_, _) => true, | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:238:13 | 238 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => is_relevant_expr(tcx, tables, expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:238:37 | 238 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => is_relevant_expr(tcx, tables, expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:247:9 | 247 | ExprBlock(ref block, _) => is_relevant_block(tcx, tables, block), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:248:9 | 248 | ExprRet(Some(ref e)) => is_relevant_expr(tcx, tables, e), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:249:9 | 249 | ExprRet(None) | ExprBreak(_, None) => false, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:249:25 | 249 | ExprRet(None) | ExprBreak(_, None) => false, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:250:9 | 250 | ExprCall(ref path_expr, _) => if let ExprPath(ref qpath) = path_expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/attrs.rs:250:46 | 250 | ExprCall(ref path_expr, _) => if let ExprPath(ref qpath) = path_expr.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 263 | fn check_attrs(cx: &LateContext, span: Span, name: rustc::hir::print::AnnNode, attrs: &[Attribute]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Attribute` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Lit` in this scope --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 314 | fn check_semver(cx: &LateContext, span: Span, lit: &rustc::hir::ExprKind) { | ^^^^^^^^^^^^^^^^^^^^ 314 | fn check_semver(cx: &LateContext, span: Span, lit: &rustc::hir::PatKind) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 314 | fn check_semver(cx: &LateContext, span: Span, lit: &Lint) { | ^^^^ error[E0412]: cannot find type `NestedMetaItem` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:112:16 | 112 | if let ExprBinary(ref cmp, ref left, ref right) = e.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:146:20 | 146 | fn invert_cmp(cmp: BinOp_) -> BinOp_ { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:146:31 | 146 | fn invert_cmp(cmp: BinOp_) -> BinOp_ { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0425]: cannot find value `BiGt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:150:17 | 150 | BiLt => BiGt, | ^^^^ help: a local variable with a similar name exists: `BiLt` error[E0425]: cannot find value `BiLt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:151:17 | 151 | BiGt => BiLt, | ^^^^ help: a local variable with a similar name exists: `BiGt` error[E0425]: cannot find value `BiGe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:152:17 | 152 | BiLe => BiGe, | ^^^^ help: a local variable with a similar name exists: `BiLe` error[E0425]: cannot find value `BiLe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:153:17 | 153 | BiGe => BiLe, | ^^^^ help: a local variable with a similar name exists: `BiGe` error[E0425]: cannot find value `BiOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:154:14 | 154 | _ => BiOr, // Dummy | ^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:159:59 | 159 | fn check_compare(cx: &LateContext, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u128, span: Span) { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:160:12 | 160 | if let ExprBinary(ref op, ref left, ref right) = bit_op.node { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiBitAnd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:161:23 | 161 | if op.node != BiBitAnd && op.node != BiBitOr { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiBitOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:161:46 | 161 | if op.node != BiBitAnd && op.node != BiBitOr { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:170:45 | 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bit_mask.rs:170:61 | 170 | fn check_bit_mask(cx: &LateContext, bit_op: BinOp_, cmp_op: BinOp_, mask_value: u128, cmp_value: u128, span: Span) { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/block_in_if_condition.rs:59:16 | 59 | if let ExprClosure(_, _, eid, _, _) = expr.node { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/block_in_if_condition.rs:62:34 | 62 | if matches!(ex.node, ExprBlock(_, _)) { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/block_in_if_condition.rs:80:16 | 80 | if let ExprIf(ref check, ref then, _) = expr.node { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/block_in_if_condition.rs:81:20 | 81 | if let ExprBlock(ref block, _) = check.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:69:12 | 69 | _: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:70:12 | 70 | _: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:87:31 | 87 | fn extract(&mut self, op: BinOp_, a: &[&'v Expr], mut v: Vec<Bool>) -> Result<Vec<Bool>, String> { | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:89:20 | 89 | if let ExprBinary(binop, ref lhs, ref rhs) = a.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:104:17 | 104 | ExprUnary(UnNot, ref inner) => return Ok(Bool::Not(box self.run(inner)?)), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:105:17 | 105 | ExprBinary(binop, ref lhs, ref rhs) => match binop.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:110:17 | 110 | ExprLit(ref lit) => match lit.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:124:17 | 124 | ExprBinary(binop, ref lhs, ref rhs) => { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `DUMMY_NODE_ID` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:132:33 | 132 | id: DUMMY_NODE_ID, | ^^^^^^^^^^^^^ help: a constant with a similar name exists: `DUMMY_HIR_ID` error[E0425]: cannot find value `DUMMY_SP` in this scope --> /home/cratesfyi/.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 `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:136:35 | 136 | node: ExprBinary(dummy_spanned(op), lhs.clone(), rhs.clone()), | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `dummy_spanned` in this scope --> /home/cratesfyi/.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[E0425]: cannot find value `BiNe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:140:41 | 140 | BiEq => mk_expr(BiNe), | ^^^^ not found in this scope error[E0425]: cannot find value `BiEq` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:141:41 | 141 | BiNe => mk_expr(BiEq), | ^^^^ not found in this scope error[E0425]: cannot find value `BiLe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:142:41 | 142 | BiGt => mk_expr(BiLe), | ^^^^ not found in this scope error[E0425]: cannot find value `BiLt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:143:41 | 143 | BiGe => mk_expr(BiLt), | ^^^^ not found in this scope error[E0425]: cannot find value `BiGe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:144:41 | 144 | BiLt => mk_expr(BiGe), | ^^^^ not found in this scope error[E0425]: cannot find value `BiGt` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:145:41 | 145 | BiLe => mk_expr(BiGt), | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:181:13 | 181 | ExprBinary(binop, ref lhs, ref rhs) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:197:13 | 197 | ExprMethodCall(ref path, _, ref args) if args.len() == 1 => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:444:13 | 444 | ExprBinary(binop, _, _) if binop.node == BiOr || binop.node == BiAnd => self.bool_expr(e), | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:444:54 | 444 | ExprBinary(binop, _, _) if binop.node == BiOr || binop.node == BiAnd => self.bool_expr(e), | ^^^^ not found in this scope error[E0425]: cannot find value `BiAnd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:444:76 | 444 | ExprBinary(binop, _, _) if binop.node == BiOr || binop.node == BiAnd => self.bool_expr(e), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/booleans.rs:445:13 | 445 | ExprUnary(UnNot, ref inner) => if self.cx.tables.node_types()[inner.hir_id].is_bool() { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:41:20 | 41 | if let ExprMethodCall(ref count, _, ref count_args) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:44:20 | 44 | if let ExprMethodCall(ref filter, _, ref filter_args) = count_args[0].node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:47:20 | 47 | if let ExprClosure(_, _, body_id, _, _) = filter_args[1].node; | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:53:28 | 53 | if let ExprBinary(ref op, ref l, ref r) = body.value.node; | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiEq` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:54:35 | 54 | if op.node == BiEq; | ^^^^ not found in this scope error[E0425]: cannot find function `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:66:32 | 66 | if ty::TyUint(UintTy::U8) != walk_ptrs_ty(cx.tables.expr_ty(needle)).sty { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:69:47 | 69 | let haystack = if let ExprMethodCall(ref path, _, ref args) = | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 95 | fn check_arg(name: rustc::hir::print::AnnNode, arg: Name, needle: &Expr) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 95 | fn check_arg(name: Name, arg: rustc::hir::print::AnnNode, needle: &Expr) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 99 | fn get_path_name(expr: &Expr) -> Option<rustc::hir::print::AnnNode> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:101:9 | 101 | ExprBox(ref e) | ExprAddrOf(_, ref e) | ExprUnary(UnOp::UnDeref, ref e) => get_path_name(e), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:101:26 | 101 | ExprBox(ref e) | ExprAddrOf(_, ref e) | ExprUnary(UnOp::UnDeref, ref e) => get_path_name(e), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:101:49 | 101 | ExprBox(ref e) | ExprAddrOf(_, ref e) | ExprUnary(UnOp::UnDeref, ref e) => get_path_name(e), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:102:9 | 102 | ExprBlock(ref b, _) => if b.stmts.is_empty() { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/bytecount.rs:107:9 | 107 | ExprPath(ref qpath) => single_segment_path(qpath).map(|ps| ps.ident.name), | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Ty` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:118:23 | 118 | node: ExprIf(_, _, Some(ref else_expr)), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:175:12 | 175 | if let ExprMatch(_, ref arms, MatchSource::Normal) = expr.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `SmallVector` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:239:15 | 239 | while let ExprIf(ref cond, ref then_expr, ref else_expr) = expr.node { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:241:16 | 241 | if let ExprBlock(ref block, _) = then_expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/copies.rs:256:16 | 256 | if let ExprBlock(ref block, _) = expr.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:121:18 | 121 | node_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Attribute` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:150:13 | 150 | ExprMatch(_, ref arms, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:157:13 | 157 | ExprCall(ref callee, _) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:161:25 | 161 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:161:43 | 161 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0425]: cannot find value `TyNever` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:163:66 | 163 | if sig.skip_binder().output().sty == ty::TyNever { | ^^^^^^^ help: a unit variant with a similar name exists: `Never` error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:170:13 | 170 | ExprClosure(.., _) => (), | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:171:13 | 171 | ExprBinary(op, _, _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/cyclomatic_complexity.rs:178:13 | 178 | ExprRet(_) => self.returns += 1, | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/default_trait_access.rs:41:20 | 41 | if let ExprCall(ref path, ..) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/default_trait_access.rs:43:20 | 43 | if let ExprPath(ref qpath) = path.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:73:16 | 73 | if let ItemImpl(_, _, _, _, Some(ref trait_ref), _, _) = item.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:89:11 | 89 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:142:17 | 142 | ty::TyAdt(def, _) if def.is_union() => return, | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:145:17 | 145 | ty::TyAdt(def, substs) => for variant in &def.variants { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:147:32 | 147 | if let ty::TyFnDef(..) = field.ty(cx.tcx, substs).sty { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyParam` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/derive.rs:153:36 | 153 | if let ty::TyParam(_) = subst.sty { | ^^^^^^^ help: a tuple variant with a similar name exists | 153 | if let ty::Param(_) = subst.sty { | ^^^^^ help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::def::Def::TyParam; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0425]: cannot find function `BytePos` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:44:13 | 44 | op: BinOp_, | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:50:14 | 50 | (ExprBinary(lb, llhs, lrhs), ExprBinary(rb, rlhs, rrhs)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:50:42 | 50 | (ExprBinary(lb, llhs, lrhs), ExprBinary(rb, rlhs, rrhs)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/double_comparison.rs:81:16 | 81 | if let ExprBinary(ref kind, ref lhs, ref rhs) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/drop_forget_ref.rs:119:20 | 119 | if let ExprCall(ref path, ref args) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/drop_forget_ref.rs:120:20 | 120 | if let ExprPath(ref qpath) = path.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/drop_forget_ref.rs:129:28 | 129 | if let ty::TyRef(..) = arg_ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/duration_subsec.rs:41:20 | 41 | if let ExprBinary(Spanned { node: BiDiv, .. }, ref left, ref right) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/duration_subsec.rs:42:20 | 42 | if let ExprMethodCall(ref method_path, _ , ref args) = left.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemEnum` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/empty_enum.rs:37:16 | 37 | if let ItemEnum(..) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:44:16 | 44 | if let ExprIf(ref check, ref then_block, ref else_block) = expr.node { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:45:20 | 45 | if let ExprUnary(UnOp::UnNot, ref check) = check.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:50:56 | 50 | else_block.is_none() && if let ExprBlock(ref then_block, _) = then_block.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:91:16 | 91 | if let ExprMethodCall(ref path, _, ref params) = check.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:94:16 | 94 | if let ExprAddrOf(_, ref key) = params[1].node; | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:116:11 | 116 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/entry.rs:126:20 | 126 | if let ExprMethodCall(ref path, _, ref params) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemEnum` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:50:16 | 50 | if let ItemEnum(ref def, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:65:36 | 65 | if let ty::TyAdt(adt, _) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:71:33 | 71 | ty::TyInt(IntTy::Isize) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_clike.rs:77:33 | 77 | ty::TyUint(UintTy::Usize) if val > u128::from(u32::max_value()) => {}, | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ItemUse` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/enum_glob_use.rs:50:16 | 50 | if let ItemUse(ref path, UseKind::Glob) = item.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Item` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:55:16 | 55 | if let ExprBinary(op, ref left, ref right) = e.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:88:23 | 88 | (&ExprLit(..), _) | (_, &ExprLit(..)) => {}, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:88:46 | 88 | (&ExprLit(..), _) | (_, &ExprLit(..)) => {}, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:90:23 | 90 | (&ExprAddrOf(_, ref l), &ExprAddrOf(_, ref r)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:90:46 | 90 | (&ExprAddrOf(_, ref l), &ExprAddrOf(_, ref r)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:131:23 | 131 | (&ExprAddrOf(_, ref l), _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eq_op.rs:142:26 | 142 | (_, &ExprAddrOf(_, ref r)) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/erasing_op.rs:39:16 | 39 | if let ExprBinary(ref cmp, ref left, ref right) = e.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:64:12 | 64 | _: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:65:18 | 65 | node_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0423]: expected function, found type alias `NodeSet` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:70:18 | 70 | set: NodeSet(), | ^^^^^^^ | = note: can't use a type alias as a constructor error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:113:24 | 113 | if let StmtDecl(ref decl, _) = st.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:114:28 | 114 | if let DeclLocal(ref loc) = decl.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:116:36 | 116 | if let ExprBox(..) = ex.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:40:13 | 40 | ExprCall(_, ref args) | ExprMethodCall(_, _, ref args) => for arg in args { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:40:37 | 40 | ExprCall(_, ref args) | ExprMethodCall(_, _, ref args) => for arg in args { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:49:12 | 49 | if let ExprClosure(_, ref decl, eid, _, _) = expr.node { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:52:16 | 52 | if let ExprCall(ref caller, ref args) = ex.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:65:21 | 65 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:65:39 | 65 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0425]: cannot find value `TyNever` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:67:112 | 67 | if sig.skip_binder().unsafety == Unsafety::Unsafe || sig.skip_binder().output().sty == ty::TyNever { | ^^^^^^^ help: a unit variant with a similar name exists: `Never` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eta_reduction.rs:76:28 | 76 | if let ExprPath(QPath::Resolved(None, ref p)) = a2.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:65:13 | 65 | ExprAssign(ref lhs, _) | ExprAssignOp(_, ref lhs, _) => if let ExprPath(ref qpath) = lhs.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:65:38 | 65 | ExprAssign(ref lhs, _) | ExprAssignOp(_, ref lhs, _) => if let ExprPath(ref qpath) = lhs.node { | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:65:76 | 65 | ExprAssign(ref lhs, _) | ExprAssignOp(_, ref lhs, _) => if let ExprPath(ref qpath) = lhs.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:85:13 | 85 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => DivergenceVisitor { cx }.maybe_walk_expr(e), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:85:34 | 85 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => DivergenceVisitor { cx }.maybe_walk_expr(e), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:86:13 | 86 | StmtDecl(ref d, _) => if let DeclLocal(ref local) = d.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:86:42 | 86 | StmtDecl(ref d, _) => if let DeclLocal(ref local) = d.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:105:13 | 105 | ExprClosure(.., _) => {}, | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:106:13 | 106 | ExprMatch(ref e, ref arms, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:127:31 | 127 | ExprContinue(_) | ExprBreak(_, _) | ExprRet(_) => self.report_diverging_sub_expr(e), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:127:49 | 127 | ExprContinue(_) | ExprBreak(_, _) | ExprRet(_) => self.report_diverging_sub_expr(e), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:128:13 | 128 | ExprCall(ref func, _) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:131:25 | 131 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:131:43 | 131 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0531]: cannot find unit struct/variant or constant `TyNever` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:133:36 | 133 | if let ty::TyNever = self.cx.tcx.erase_late_bound_regions(&sig).output().sty { | ^^^^^^^ help: a unit variant with a similar name exists: `Never` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:140:13 | 140 | ExprMethodCall(..) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:221:9 | 221 | ExprArray(_) | | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:222:9 | 222 | ExprTup(_) | | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:223:9 | 223 | ExprMethodCall(..) | | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:224:9 | 224 | ExprCall(_, _) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:225:9 | 225 | ExprAssign(_, _) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:226:9 | 226 | ExprIndex(_, _) | | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:227:9 | 227 | ExprRepeat(_, _) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:228:9 | 228 | ExprStruct(_, _, _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:231:9 | 231 | ExprBinary(op, _, _) | ExprAssignOp(op, _, _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:231:32 | 231 | ExprBinary(op, _, _) | ExprAssignOp(op, _, _) => { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiAnd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:232:27 | 232 | if op.node == BiAnd || op.node == BiOr { | ^^^^^ not found in this scope error[E0425]: cannot find value `BiOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:232:47 | 232 | if op.node == BiAnd || op.node == BiOr { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:239:9 | 239 | ExprClosure(_, _, _, _, _) => { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:265:9 | 265 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => check_expr(vis, expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:265:33 | 265 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => check_expr(vis, expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:266:9 | 266 | StmtDecl(ref decl, _) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:270:17 | 270 | DeclLocal(ref local) => Some(local), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:300:13 | 300 | ExprPath(ref qpath) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:323:13 | 323 | ExprClosure(_, _, _, _, _) | | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:335:13 | 335 | ExprAddrOf(_, _) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:351:16 | 351 | if let ExprAssign(ref lhs, _) = parent.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/excessive_precision.rs:48:25 | 48 | if let hir::ExprLit(ref lit) = expr.node; | ^^^^^^^ not found in `hir` error[E0412]: cannot find type `Symbol` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/explicit_write.rs:38:20 | 38 | if let ExprMethodCall(ref unwrap_fun, _, ref unwrap_args) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/explicit_write.rs:42:20 | 42 | if let ExprMethodCall(ref write_fun, _, ref write_args) = | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/explicit_write.rs:47:20 | 47 | if let ExprCall(ref dest_fun, _) = write_args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/explicit_write.rs:48:20 | 48 | if let ExprPath(ref qpath) = dest_fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:42:25 | 42 | if let hir::ItemImpl(.., ref impl_items) = item.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:66:24 | 66 | if let ExprCall(ref func_expr, _) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:67:24 | 67 | if let ExprPath(QPath::Resolved(_, ref path)) = func_expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/fallible_impl_from.rs:131:13 | 131 | ty::TyAdt(adt, _) => match_def_path(tcx, adt.did, path), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:49:17 | 49 | ExprCall(ref fun, ref args) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:51:32 | 51 | if let ExprPath(ref qpath) = fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:67:17 | 67 | ExprMatch(ref matchee, _, _) => if let ExprTup(ref tup) = matchee.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:67:56 | 67 | ExprMatch(ref matchee, _, _) => if let ExprTup(ref tup) = matchee.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:84:16 | 84 | if let ExprAddrOf(_, ref expr) = expr.node; // &[""] | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:85:16 | 85 | if let ExprArray(ref exprs) = expr.node; // [""] | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:87:16 | 87 | if let ExprLit(ref lit) = exprs[0].node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:108:16 | 108 | if let ExprAddrOf(_, ref expr) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:109:16 | 109 | if let ExprMatch(ref match_expr, ref arms, _) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:114:16 | 114 | if let ExprArray(ref exprs) = arms[0].body.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:116:16 | 116 | if let ExprCall(_, ref args) = exprs[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:118:16 | 118 | if let ExprPath(ref qpath) = args[1].node; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:123:30 | 123 | if ty.sty == ty::TyStr || match_type(cx, ty, &paths::STRING) { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:124:24 | 124 | if let ExprTup(ref values) = match_expr.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:146:16 | 146 | if let ExprAddrOf(_, ref expr) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:147:16 | 147 | if let ExprArray(ref exprs) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:149:16 | 149 | if let ExprStruct(_, ref fields, _) = exprs[0].node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:151:16 | 151 | if let ExprStruct(_, ref fields, _) = format_field.expr.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/format.rs:153:16 | 153 | if let ExprPath(ref qpath) = align_field.expr.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:83:15 | 83 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:88:35 | 88 | let is_impl = if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(nodeid)) { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:89:38 | 89 | matches!(item.node, hir::ItemImpl(_, _, _, _, Some(_), _, _)) | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyPtr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:171:56 | 171 | if let (&hir::PatKind::Binding(_, id, _, _), &hir::TyPtr(_)) = (&arg.pat.node, &ty.node) { | ^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:187:18 | 187 | hir::ExprCall(ref f, ref args) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:196:18 | 196 | hir::ExprMethodCall(_, _, ref args) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:206:18 | 206 | hir::ExprUnary(hir::UnDeref, ref ptr) => self.check_arg(ptr), | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:219:21 | 219 | if let hir::ExprPath(ref qpath) = ptr.node { | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:26:26 | 26 | try_desugar_arm: Vec<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:46:13 | 46 | ExprMatch(_, ref arms, MatchSource::TryDesugar) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:48:21 | 48 | ExprRet(Some(ref e)) | ExprBreak(_, Some(ref e)) => e, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:48:44 | 48 | ExprRet(Some(ref e)) | ExprBreak(_, Some(ref e)) => e, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:51:24 | 51 | if let ExprCall(_, ref args) = e.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:58:13 | 58 | ExprMethodCall(ref name, .., ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:71:13 | 71 | ExprCall(ref path, ref args) => if let ExprPath(ref qpath) = path.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_conversion.rs:71:52 | 71 | ExprCall(ref path, ref args) => if let ExprPath(ref qpath) = path.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:39:16 | 39 | if let ExprBinary(ref cmp, ref left, ref right) = e.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:65:17 | 65 | ty::TyInt(ity) => unsext(cx.tcx, -1i128, ity), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/identity_op.rs:66:17 | 66 | ty::TyUint(uty) => clip(cx.tcx, !0, uty), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/if_let_redundant_pattern_matching.rs:48:16 | 48 | if let ExprMatch(ref op, ref arms, MatchSource::IfLetDesugar { .. }) = expr.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:97:16 | 97 | if let ExprIndex(ref array, ref index) = &expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:101:28 | 101 | if let ty::TyArray(_, s) = ty.sty { | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/indexing_slicing.rs:133:28 | 133 | if let ty::TyArray(..) = ty.sty { | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:144:9 | 144 | ExprMethodCall(ref method, _, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:156:24 | 156 | if let ExprClosure(_, _, body_id, _, _) = args[1].node { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:163:9 | 163 | ExprBlock(ref block, _) => block.expr.as_ref().map_or(Finite, |e| is_infinite(cx, e)), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:164:9 | 164 | ExprBox(ref e) | ExprAddrOf(_, ref e) => is_infinite(cx, e), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:164:26 | 164 | ExprBox(ref e) | ExprAddrOf(_, ref e) => is_infinite(cx, e), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:165:9 | 165 | ExprCall(ref path, _) => if let ExprPath(ref qpath) = path.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:165:41 | 165 | ExprCall(ref path, _) => if let ExprPath(ref qpath) = path.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:170:9 | 170 | ExprStruct(..) => higher::range(cx, expr) | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:208:9 | 208 | ExprMethodCall(ref method, _, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/infinite_iter.rs:227:9 | 227 | ExprBinary(op, ref l, ref r) => if op.node.is_comparison() { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 46 | fn check_attrs(cx: &LateContext, name: rustc::hir::print::AnnNode, attrs: &[Attribute]) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Attribute` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 56 | fn check_lit(&self, lit: &rustc::hir::ExprKind, target_value: i128) -> bool { | ^^^^^^^^^^^^^^^^^^^^ 56 | fn check_lit(&self, lit: &rustc::hir::PatKind, target_value: i128) -> bool { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 56 | fn check_lit(&self, lit: &Lint, target_value: i128) -> bool { | ^^^^ error[E0412]: cannot find type `BinOpKind` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::BinOpKind; | error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::BinOpKind; | error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/invalid_ref.rs:38:20 | 38 | if let ExprCall(ref path, ref args) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/invalid_ref.rs:39:20 | 39 | if let ExprPath(ref qpath) = path.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/invalid_ref.rs:41:24 | 41 | if let ty::TyRef(..) = cx.tables.expr_ty(expr).sty; | ^^^^^ not found in `ty` error[E0412]: cannot find type `Block` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemEnum` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/large_enum_variant.rs:52:16 | 52 | if let ItemEnum(ref def, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemTrait` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:71:13 | 71 | ItemTrait(_, _, _, _, ref trait_items) => check_trait_items(cx, item, trait_items), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:72:13 | 72 | ItemImpl(_, _, _, _, None, _, ref impl_items) => check_impl_items(cx, item, impl_items), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:82:16 | 82 | if let ExprBinary(Spanned { node: cmp, .. }, ref left, ref right) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:197:14 | 197 | if let (&ExprMethodCall(ref method_path, _, ref args), &ExprLit(ref lit)) = (&method.node, &lit.node) { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:197:61 | 197 | if let (&ExprMethodCall(ref method_path, _, ref args), &ExprLit(ref lit)) = (&method.node, &lit.node) { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 209 | fn check_len(cx: &LateContext, span: Span, method_name: rustc::hir::print::AnnNode, args: &[Expr], lit: &Lit, op: &str, compare_to: u32) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Lit` in this scope --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &rustc::hir::ExprKind, op: &str, compare_to: u32) { | ^^^^^^^^^^^^^^^^^^^^ 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &rustc::hir::PatKind, op: &str, compare_to: u32) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 209 | fn check_len(cx: &LateContext, span: Span, method_name: Name, args: &[Expr], lit: &Lint, op: &str, compare_to: u32) { | ^^^^ error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `TyDynamic` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:261:13 | 261 | ty::TyDynamic(..) => cx.tcx | ^^^^^^^^^ help: a tuple variant with a similar name exists: `Dynamic` error[E0531]: cannot find tuple struct/variant `TyProjection` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:264:13 | 264 | ty::TyProjection(_) => ty.ty_to_def_id() | ^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Projection` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:266:13 | 266 | ty::TyAdt(id, _) => has_is_empty_impl(cx, id.did), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:267:13 | 267 | ty::TyArray(..) | ty::TySlice(..) | ty::TyStr => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:267:31 | 267 | ty::TyArray(..) | ty::TySlice(..) | ty::TyStr => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find unit struct/variant or constant `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/len_zero.rs:267:49 | 267 | ty::TyArray(..) | ty::TySlice(..) | ty::TyStr => true, | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `StmtDecl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:68:29 | 68 | if let hir::StmtDecl(ref decl, _) = stmt.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:69:29 | 69 | if let hir::DeclLocal(ref decl) = decl.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtExpr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:71:29 | 71 | if let hir::StmtExpr(ref if_, _) = expr.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprIf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:72:29 | 72 | if let hir::ExprIf(ref cond, ref then, ref else_) = if_.node; | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBlock` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:74:29 | 74 | if let hir::ExprBlock(ref then, _) = then.node; | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBlock` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:81:37 | 81 | if let hir::ExprBlock(ref else_, _) = else_.node { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:143:25 | 143 | if let hir::ExprPath(ref qpath) = expr.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtSemi` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:166:21 | 166 | if let hir::StmtSemi(ref expr, _) = expr.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAssign` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:167:21 | 167 | if let hir::ExprAssign(ref var, ref value) = expr.node; | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/let_if_seq.rs:168:21 | 168 | if let hir::ExprPath(ref qpath) = var.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:62:16 | 62 | if let ItemFn(ref decl, _, ref generics, id) = item.node { | ^^^^^^ 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::ItemFn; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 89 | Named(rustc::hir::print::AnnNode), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:97:11 | 97 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:341:13 | 341 | TyRptr(ref lt, _) if lt.is_elided() => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:344:13 | 344 | TyPath(ref path) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemExistential` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `TyTraitObject` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lifetimes.rs:363:13 | 363 | TyTraitObject(ref bounds, ref lt) => { | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 425 | map: HashMap<rustc::hir::print::AnnNode, Span>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 294 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::ExprKind) { | ^^^^^^^^^^^^^^^^^^^^ 294 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::PatKind) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 294 | fn check_lit(self, cx: &EarlyContext, lit: &Lint) { | ^^^^ error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 439 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::ExprKind) { | ^^^^^^^^^^^^^^^^^^^^ 439 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::PatKind) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 439 | fn check_lit(self, cx: &EarlyContext, lit: &Lint) { | ^^^^ error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:414:13 | 414 | ExprWhile(_, ref block, _) | ExprLoop(ref block, _, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:414:42 | 414 | ExprWhile(_, ref block, _) | ExprLoop(ref block, _, _) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:427:16 | 427 | if let ExprLoop(ref block, _, LoopSource::Loop) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:443:24 | 443 | if let ExprMatch(ref matchexpr, ref arms, ref source) = inner.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:479:16 | 479 | if let ExprMatch(ref match_expr, ref arms, MatchSource::WhileLetDesugar) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:483:18 | 483 | &ExprMethodCall(ref method_path, _, ref method_args), | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:508:16 | 508 | if let ExprWhile(ref cond, _, _) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:514:16 | 514 | if let StmtSemi(ref expr, _) = stmt.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:515:20 | 515 | if let ExprMethodCall(ref method, _, ref args) = expr.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:587:9 | 587 | StmtSemi(ref e, ..) | StmtExpr(ref e, ..) => Some(e), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:587:31 | 587 | StmtSemi(ref e, ..) | StmtExpr(ref e, ..) => Some(e), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:588:9 | 588 | StmtDecl(ref d, ..) => decl_to_expr(d), | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Decl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:592:24 | 592 | fn decl_to_expr(decl: &Decl) -> Option<&Expr> { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:594:9 | 594 | DeclLocal(ref local) => local.init.as_ref().map(|p| &**p), | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:601:9 | 601 | ExprBox(ref e) | | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:602:9 | 602 | ExprUnary(_, ref e) | | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:603:9 | 603 | ExprCast(ref e, _) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprType` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:604:9 | 604 | ExprType(ref e, _) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:605:9 | 605 | ExprField(ref e, _) | | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:606:9 | 606 | ExprAddrOf(_, ref e) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:607:9 | 607 | ExprStruct(_, _, Some(ref e)) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRepeat` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:608:9 | 608 | ExprRepeat(ref e, _) => never_loop_expr(e, main_loop_id), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:609:9 | 609 | ExprArray(ref es) | ExprMethodCall(_, _, ref es) | ExprTup(ref es) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:609:29 | 609 | ExprArray(ref es) | ExprMethodCall(_, _, ref es) | ExprTup(ref es) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:609:60 | 609 | ExprArray(ref es) | ExprMethodCall(_, _, ref es) | ExprTup(ref es) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:612:9 | 612 | ExprCall(ref e, ref es) => never_loop_expr_all(&mut once(&**e).chain(es.iter()), main_loop_id), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:613:9 | 613 | ExprBinary(_, ref e1, ref e2) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:614:9 | 614 | ExprAssign(ref e1, ref e2) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:615:9 | 615 | ExprAssignOp(_, ref e1, ref e2) | | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:616:9 | 616 | ExprIndex(ref e1, ref e2) => never_loop_expr_all(&mut [&**e1, &**e2].iter().cloned(), main_loop_id), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:617:9 | 617 | ExprIf(ref e, ref e2, ref e3) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:623:9 | 623 | ExprLoop(ref b, _, _) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:627:9 | 627 | ExprWhile(ref e, ref b, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:633:9 | 633 | ExprMatch(ref e, ref arms, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:642:9 | 642 | ExprBlock(ref b, _) => never_loop_block(b, main_loop_id), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprContinue` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:652:9 | 652 | ExprBreak(_, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:655:9 | 655 | ExprRet(ref e) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:662:9 | 662 | ExprStruct(_, _, None) | | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprYield` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:663:9 | 663 | ExprYield(_) | | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:664:9 | 664 | ExprClosure(_, _, _, _, _) | | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprInlineAsm` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:665:9 | 665 | ExprInlineAsm(_, _, _) | | ^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:666:9 | 666 | ExprPath(_) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:667:9 | 667 | ExprLit(_) => NeverLoopResult::Otherwise, | ^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:704:16 | 704 | if let ExprPath(ref qpath) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:746:13 | 746 | ty::TyRef(_, subty, _) => is_slice_like(cx, subty), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:747:13 | 747 | ty::TySlice(..) | ty::TyArray(..) => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:747:31 | 747 | ty::TySlice(..) | ty::TyArray(..) => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:757:13 | 757 | ExprLit(ref l) => match l.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:761:13 | 761 | ExprPath(..) if !same_var(cx, e, var) => Some(snippet_opt(cx, e.span).unwrap_or_else(|| "??".into())), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:766:12 | 766 | if let ExprIndex(ref seqexpr, ref idx) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:773:13 | 773 | ExprBinary(op, ref lhs, ref rhs) => match op.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:788:13 | 788 | ExprPath(..) => if same_var(cx, idx, var) { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:813:16 | 813 | if let ExprMethodCall(ref method, _, ref args) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:909:28 | 909 | if let ExprMethodCall(ref method, _, ref len_args) = end.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1099 | fn is_len_call(expr: &Expr, var: rustc::hir::print::AnnNode) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1101:16 | 1101 | if let ExprMethodCall(ref method, _, ref len_args) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1104:16 | 1104 | if let ExprPath(QPath::Resolved(_, ref path)) = len_args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1136:29 | 1136 | ty::TyInt(ity) => sext(cx.tcx, start_idx, ity) > sext(cx.tcx, end_idx, ity), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1137:29 | 1137 | ty::TyUint(_) => start_idx > end_idx, | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1206:12 | 1206 | if let ExprMethodCall(ref method, _, ref args) = arg.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1368:21 | 1368 | ty::TyRef(_, ty, mutbl) => match (&pat[0].node, &pat[1].node) { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1380:17 | 1380 | ExprAddrOf(_, ref expr) => &**expr, | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1408:25 | 1408 | node_id_low: Option<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1409:26 | 1409 | node_id_high: Option<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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> { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1486:16 | 1486 | if let ExprPath(ref qpath) = bound.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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>) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1580 | indexed_mut: HashSet<rustc::hir::print::AnnNode>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1582 | indexed_indirectly: HashMap<rustc::hir::print::AnnNode, Option<region::Scope>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1585 | indexed_directly: HashMap<rustc::hir::print::AnnNode, Option<region::Scope>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1588 | referenced: HashSet<rustc::hir::print::AnnNode>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1601:20 | 1601 | if let ExprPath(ref seqpath) = seqexpr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1658:20 | 1658 | if let ExprMethodCall(ref meth, _, ref args) = expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1667:20 | 1667 | if let ExprIndex(ref seqexpr, ref idx) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1674:20 | 1674 | if let ExprPath(ref qpath) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1690:13 | 1690 | ExprAssignOp(_, ref lhs, ref rhs) | | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1691:13 | 1691 | ExprAssign(ref lhs, ref rhs) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1697:13 | 1697 | ExprAddrOf(mutbl, ref expr) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1703:13 | 1703 | ExprCall(ref f, ref args) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1708:32 | 1708 | if let ty::TyRef(_, _, mutbl) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1716:13 | 1716 | ExprMethodCall(_, _, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1720:32 | 1720 | if let ty::TyRef(_, _, mutbl) = ty.sty { | ^^^^^ not found in `ty` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1757:13 | 1757 | def_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1758:19 | 1758 | iter_expr_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1801:13 | 1801 | ty::TyArray(_, n) => (0..=32).contains(&n.assert_usize(cx.tcx).expect("array length")), | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1812:12 | 1812 | if let StmtDecl(ref decl, _) = block.stmts[0].node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1813:16 | 1813 | if let DeclLocal(ref local) = decl.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1832:13 | 1832 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => Some(expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1832:37 | 1832 | StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => Some(expr), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1833:13 | 1833 | StmtDecl(..) => None, | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBreak` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1844:9 | 1844 | ExprBreak(dest, ref passed_expr) if dest.label.is_none() && passed_expr.is_none() => true, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1845:9 | 1845 | ExprBlock(ref b, _) => match extract_first_expr(b) { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1868:21 | 1868 | states: HashMap<NodeId, VarState>, // incremented variables | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1885:21 | 1885 | ExprAssignOp(op, ref lhs, ref rhs) => { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiAdd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1887:43 | 1887 | if op.node == BiAdd && is_integer_literal(rhs, 1) { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1898:21 | 1898 | ExprAssign(ref lhs, _) if lhs.id == expr.id => *state = VarState::DontWarn, | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1899:21 | 1899 | ExprAddrOf(mutability, _) if mutability == MutMutable => *state = VarState::DontWarn, | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1924:13 | 1924 | var_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 1926 | name: Option<rustc::hir::print::AnnNode>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Decl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1932:42 | 1932 | fn visit_decl(&mut self, decl: &'tcx Decl) { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1934:16 | 1934 | if let DeclLocal(ref local) = decl.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1972:21 | 1972 | ExprAssignOp(_, ref lhs, _) if lhs.id == expr.id => { | ^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1975:21 | 1975 | ExprAssign(ref lhs, ref rhs) if lhs.id == expr.id => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1982:21 | 1982 | ExprAddrOf(mutability, _) if mutability == MutMutable => self.state = VarState::DontWarn, | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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> { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2008:12 | 2008 | if let ExprPath(ref qpath) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2019:9 | 2019 | ExprLoop(..) | ExprWhile(..) => true, | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2019:24 | 2019 | ExprLoop(..) | ExprWhile(..) => true, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2026:9 | 2026 | ExprIf(..) | ExprMatch(..) => true, | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2026:22 | 2026 | ExprIf(..) | ExprMatch(..) => true, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2056:17 | 2056 | ExprLoop(..) | ExprWhile(..) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2056:32 | 2056 | ExprLoop(..) | ExprWhile(..) => { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2091:9 | 2091 | id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 2092 | iterator: rustc::hir::print::AnnNode, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2114:13 | 2114 | ExprAssign(ref path, _) | ExprAssignOp(_, ref path, _) => if match_var(path, self.iterator) { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2114:39 | 2114 | ExprAssign(ref path, _) | ExprAssignOp(_, ref path, _) => if match_var(path, self.iterator) { | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 2139 | fn path_name(e: &Expr) -> Option<rustc::hir::print::AnnNode> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2140:12 | 2140 | if let ExprPath(QPath::Resolved(_, ref path)) = e.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2188:18 | 2188 | ids: HashSet<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2196:20 | 2196 | if let ExprPath(ref qpath) = ex.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2217:13 | 2217 | ExprPath(_) => self.insert_def_id(ex), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2219:13 | 2219 | ExprCall(..) | ExprMethodCall(..) => self.skip = true, | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2219:28 | 2219 | ExprCall(..) | ExprMethodCall(..) => self.skip = true, | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:33:16 | 33 | if let ExprMethodCall(ref method, _, ref args) = expr.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:36:21 | 36 | ExprClosure(_, ref decl, closure_eid, _, _) => { | ^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:55:48 | 55 | if let ty::TyRef(_, _, mutbl) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:65:45 | 65 | else if let ExprMethodCall(ref clone_call, _, ref clone_args) = closure_expr.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:80:21 | 80 | ExprPath(ref path) => if match_qpath(path, &paths::CLONE) { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:103:9 | 103 | ExprPath(QPath::Resolved(None, ref path)) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_clone.rs:129:9 | 129 | ExprUnary(UnDeref, ref subexpr) if !is_adjusted(cx, subexpr) => only_derefs(cx, subexpr, id), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTuple` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:87:13 | 87 | ty::TyTuple(slice) => slice.is_empty(), | ^^^^^^^ help: a tuple variant with a similar name exists: `Tuple` error[E0531]: cannot find unit struct/variant or constant `TyNever` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:88:13 | 88 | ty::TyNever => true, | ^^^^^^^ help: a unit variant with a similar name exists: `Never` error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:96:16 | 96 | if let ty::TyFnDef(id, _) = ty.sty { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:118:14 | 118 | hir::ExprCall(_, _) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:119:14 | 119 | hir::ExprMethodCall(_, _, _) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBlock` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:123:14 | 123 | hir::ExprBlock(ref block, _) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtDecl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:134:30 | 134 | hir::StmtDecl(ref d, _) => Some(d.span), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtExpr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:135:30 | 135 | hir::StmtExpr(ref e, _) => Some(e.span), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtSemi` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:136:30 | 136 | hir::StmtSemi(_, _) => Some(inner_stmt.span), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprClosure` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:154:17 | 154 | if let hir::ExprClosure(_, ref decl, inner_expr_id, _, _) = expr.node { | ^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprField` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:178:14 | 178 | hir::ExprField(_, _) => snippet(cx, var_arg.span, "_").replace(".", "_"), | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:179:14 | 179 | hir::ExprPath(_) => format!("_{}", snippet(cx, var_arg.span, "")), | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtSemi` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:250:21 | 250 | if let hir::StmtSemi(ref expr, _) = stmt.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/map_unit_fn.rs:251:25 | 251 | if let hir::ExprMethodCall(_, _, _) = expr.node { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:187:16 | 187 | if let ExprMatch(ref ex, ref arms, MatchSource::Normal) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:194:16 | 194 | if let ExprMatch(ref ex, ref arms, _) = expr.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:208:23 | 208 | } else if let ExprBlock(_, _) = els.node { | ^^^^^^^^^ not found in this scope error[E0425]: cannot find value `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:216:26 | 216 | if ty.sty != ty::TyBool || is_allowed(cx, MATCH_BOOL, ex.id) { | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0425]: cannot find value `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:287:41 | 287 | if cx.tables.expr_ty(ex).sty == ty::TyBool { | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:297:32 | 297 | if let ExprLit(ref lit) = arm_bool.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:368:28 | 368 | if let ExprBlock(ref block, _) = arm.body.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:402:35 | 402 | let (title, msg) = if let ExprAddrOf(Mutability::MutImmutable, ref inner) = ex.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:536:9 | 536 | ExprTup(ref v) if v.is_empty() => true, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:537:9 | 537 | ExprBlock(ref b, _) if b.stmts.is_empty() && b.expr.is_none() => true, | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:557:16 | 557 | if let ExprCall(ref e, ref args) = remove_blocks(&arm.body).node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:558:16 | 558 | if let ExprPath(ref some_path) = e.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/matches.rs:560:16 | 560 | if let ExprPath(ref qpath) = args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:721:18 | 721 | hir::ExprMethodCall(ref method_call, ref method_span, ref args) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:784:25 | 784 | ty::TyRef(_, ty, _) if ty.sty == ty::TyStr => for &(method, pos) in &PATTERN_METHODS { | ^^^^^ not found in `ty` error[E0425]: cannot find value `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:784:58 | 784 | ty::TyRef(_, ty, _) if ty.sty == ty::TyStr => for &(method, pos) in &PATTERN_METHODS { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:792:18 | 792 | hir::ExprBinary(op, ref lhs, ref rhs) if op.node == hir::BiEq || op.node == hir::BiNe => { | ^^^^^^^^^^ not found in `hir` error[E0425]: cannot find value `BiEq` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:792:70 | 792 | hir::ExprBinary(op, ref lhs, ref rhs) if op.node == hir::BiEq || op.node == hir::BiNe => { | ^^^^ not found in `hir` error[E0425]: cannot find value `BiNe` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:792:94 | 792 | hir::ExprBinary(op, ref lhs, ref rhs) if op.node == hir::BiEq || op.node == hir::BiNe => { | ^^^^ not found in `hir` error[E0425]: cannot find value `BiEq` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:797:41 | 797 | eq: op.node == hir::BiEq, | ^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:816:25 | 816 | if let hir::ItemImpl(_, _, _, _, None, ref self_ty, _) = item.node; | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:885:15 | 885 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:892:25 | 892 | if let hir::ExprPath(ref qpath) = fun.node { | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:931:15 | 931 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:985:18 | 985 | hir::ExprCall(ref fun, ref or_args) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:991:18 | 991 | hir::ExprMethodCall(_, span, ref or_args) => { | ^^^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1002:21 | 1002 | if let hir::ExprAddrOf(_, ref addr_of) = arg.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1003:25 | 1003 | if let hir::ExprCall(ref inner_fun, ref inner_args) = addr_of.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1005:33 | 1005 | if let hir::ExprCall(_, ref format_args) = inner_args[0].node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1016:21 | 1016 | if let hir::ExprAddrOf(_, ref format_arg) = a.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1017:25 | 1017 | if let hir::ExprMatch(ref format_arg_expr, _, _) = format_arg.node { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprTup` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1018:29 | 1018 | if let hir::ExprTup(ref format_arg_expr_tup) = format_arg_expr.node { | ^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1033:15 | 1033 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1093:18 | 1093 | hir::ExprLit(_) => {}, | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1102:16 | 1102 | if let ty::TyRef(_, inner, _) = arg_ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1103:20 | 1103 | if let ty::TyRef(_, innermost, _) = inner.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1113:35 | 1113 | while let ty::TyRef(_, inner, _) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1131:24 | 1131 | if let ty::TyRef(..) = cx.tables.expr_ty(arg).sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `NodeExpr` in module `hir::map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1134:31 | 1134 | hir::map::NodeExpr(parent) => match parent.node { | ^^^^^^^^ not found in `hir::map` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1136:30 | 1136 | hir::ExprAddrOf(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1138:30 | 1138 | hir::ExprMethodCall(..) => return, | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `NodeStmt` in module `hir::map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1141:31 | 1141 | hir::map::NodeStmt(stmt) => { | ^^^^^^^^ not found in `hir::map` error[E0531]: cannot find tuple struct/variant `StmtDecl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1142:37 | 1142 | if let hir::StmtDecl(ref decl, _) = stmt.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `DeclLocal` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1143:41 | 1143 | if let hir::DeclLocal(ref loc) = decl.node { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1171:16 | 1171 | if let ty::TyAdt(_, subst) = obj_ty.sty { | ^^^^^ not found in `ty` error[E0425]: cannot find value `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1199:45 | 1199 | let ref_str = if self_ty.sty == ty::TyStr { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1232:21 | 1232 | if let hir::ExprCall(ref fun, ref args) = new.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1234:21 | 1234 | if let hir::ExprPath(ref path) = fun.node; | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `BinOp_` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1277:18 | 1277 | op: hir::BinOp_, | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0531]: cannot find tuple struct/variant `ExprClosure` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1283:25 | 1283 | if let hir::ExprClosure(_, _, body_id, _, _) = fold_args[2].node; | ^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1288:25 | 1288 | if let hir::ExprBinary(ref bin_op, ref left_expr, ref right_expr) = closure_expr.node; | ^^^^^^^^^^ not found in `hir` error[E0425]: cannot find function `BytePos` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1332:14 | 1332 | hir::ExprLit(ref lit) => { | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1431:17 | 1431 | ty::TySlice(_) => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1432:17 | 1432 | ty::TyAdt(def, _) if def.is_box() => may_slice(cx, ty.boxed_ty()), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1433:17 | 1433 | ty::TyAdt(..) => match_type(cx, ty, &paths::VEC), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1434:17 | 1434 | ty::TyArray(_, size) => size.assert_usize(cx.tcx).expect("array length") < 32, | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1435:17 | 1435 | ty::TyRef(_, inner, _) => may_slice(cx, inner), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1440:17 | 1440 | if let hir::ExprMethodCall(ref path, _, ref args) = expr.node { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1448:17 | 1448 | ty::TySlice(_) => sugg::Sugg::hir_opt(cx, expr), | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1449:17 | 1449 | ty::TyAdt(def, _) if def.is_box() && may_slice(cx, ty.boxed_ty()) => sugg::Sugg::hir_opt(cx, expr), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1450:17 | 1450 | ty::TyRef(_, inner, _) => if may_slice(cx, inner) { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1793:21 | 1793 | if let hir::ExprCall(ref fun, ref arg_char) = info.other.node; | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1795:21 | 1795 | if let hir::ExprPath(ref qpath) = fun.node; | ^^^^^^^^ not found in `hir` error[E0425]: cannot find value `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1801:35 | 1801 | if self_ty.sty != ty::TyStr { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1847:21 | 1847 | if let hir::ExprLit(ref lit) = info.other.node; | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:1932:16 | 1932 | if let ty::TyAdt(_, substs) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRptr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2059:30 | 2059 | hir::TyRptr(_, ref mt_ty) => { | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2130:19 | 2130 | &hir::TyPath(hir::QPath::Resolved(_, ref ty_path)), | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2131:19 | 2131 | &hir::TyPath(hir::QPath::Resolved(_, ref self_ty_path)), | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2142:17 | 2142 | if let hir::TyPath(ref path) = ty.node { | ^^^^^^ not found in `hir` error[E0425]: cannot find function `TyTup` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2179:70 | 2179 | (OutType::Unit, &hir::Return(ref ty)) if ty.node == hir::TyTup(vec![].into()) => true, | ^^^^^ not found in `hir` error[E0425]: cannot find function `TyTup` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2181:69 | 2181 | (OutType::Any, &hir::Return(ref ty)) if ty.node != hir::TyTup(vec![].into()) => true, | ^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyRptr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2182:76 | 2182 | (OutType::Ref, &hir::Return(ref ty)) => matches!(ty.node, hir::TyRptr(_, _)), | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/methods.rs:2189:17 | 2189 | if let hir::TyPath(ref p) = ty.node { | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/minmax.rs:69:12 | 69 | if let ExprCall(ref path, ref args) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/minmax.rs:70:16 | 70 | if let ExprPath(ref qpath) = path.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:246:12 | 246 | _: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:247:12 | 247 | _: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:272:20 | 272 | if let StmtDecl(ref d, _) = s.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:273:20 | 273 | if let DeclLocal(ref l) = d.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:306:20 | 306 | if let StmtSemi(ref expr, _) = s.node; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiAnd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:308:30 | 308 | if binop.node == BiAnd || binop.node == BiOr; | ^^^^^ not found in this scope error[E0425]: cannot find value `BiOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:308:53 | 308 | if binop.node == BiAnd || binop.node == BiOr; | ^^^^ not found in this scope error[E0425]: cannot find value `BiOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:316:53 | 316 | let sugg = if binop.node == BiOr { !sugg } else { sugg }; | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:326:13 | 326 | ExprCast(ref e, ref ty) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:330:13 | 330 | ExprBinary(ref cmp, ref left, ref right) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:333:28 | 333 | if let ExprPath(QPath::Resolved(_, ref path)) = left.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:336:28 | 336 | if let ExprPath(QPath::Resolved(_, ref path)) = right.node { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiEq` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:342:27 | 342 | if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { | ^^^^ not found in this scope error[E0425]: cannot find value `BiNe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:342:41 | 342 | if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { | ^^^^ not found in this scope error[E0425]: cannot find value `BiRem` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:370:33 | 370 | } else if op == BiRem && is_integer_literal(right, 1) { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:381:13 | 381 | ExprPath(ref qpath) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:395:13 | 395 | ExprField(_, ident) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:465:61 | 465 | matches!(walk_ptrs_ty(cx.tables.expr_ty(expr)).sty, ty::TyFloat(_)) | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:470:9 | 470 | ExprMethodCall(.., ref args) if args.len() == 1 => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:477:9 | 477 | ExprCall(ref path, ref v) if v.len() == 1 => if let ExprPath(ref path) = path.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:477:61 | 477 | ExprCall(ref path, ref v) if v.len() == 1 => if let ExprPath(ref path) = path.node { | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `CRATE_NODE_ID` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:521:31 | 521 | if parent_impl != CRATE_NODE_ID { | ^^^^^^^^^^^^^ help: a constant with a similar name exists: `CRATE_HIR_ID` error[E0531]: cannot find tuple struct/variant `NodeItem` in module `map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:522:29 | 522 | if let map::NodeItem(item) = cx.tcx.hir.get(parent_impl) { | ^^^^^^^^ not found in `map` error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:523:28 | 523 | if let ItemImpl(.., Some(ref trait_ref), _, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:545:13 | 545 | ExprAssign(_, ref rhs) | ExprAssignOp(_, _, ref rhs) => **rhs == *expr, | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:545:38 | 545 | ExprAssign(_, ref rhs) | ExprAssignOp(_, _, ref rhs) => **rhs == *expr, | ^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:574:16 | 574 | if let TyPtr(MutTy { mutbl, .. }) = ty.node; | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/misc.rs:575:16 | 575 | if let ExprLit(ref lit) = e.node; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Generics` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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) { | ^^^ help: there is an enum variant `rustc::hir::ExprKind::Lit` and 1 other; try using the variant's enum | 352 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::ExprKind) { | ^^^^^^^^^^^^^^^^^^^^ 352 | fn check_lit(self, cx: &EarlyContext, lit: &rustc::hir::PatKind) { | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists | 352 | fn check_lit(self, cx: &EarlyContext, lit: &Lint) { | ^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 21 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ItemConst` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:125:18 | 125 | hir::ItemConst(..) => "a constant", | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemEnum` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:126:18 | 126 | hir::ItemEnum(..) => "an enum", | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemFn` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:127:18 | 127 | hir::ItemFn(..) => { | ^^^^^^ not found in `hir` help: possible candidate is found in another module, you can import it into scope | 21 | use rustc::hir::intravisit::FnKind::ItemFn; | error[E0531]: cannot find tuple struct/variant `ItemMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:138:18 | 138 | hir::ItemMod(..) => "a module", | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStatic` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:139:18 | 139 | hir::ItemStatic(..) => "a static", | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:140:18 | 140 | hir::ItemStruct(..) => "a struct", | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTrait` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:141:18 | 141 | hir::ItemTrait(..) => "a trait", | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTraitAlias` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:142:18 | 142 | hir::ItemTraitAlias(..) => "a trait alias", | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemGlobalAsm` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:143:18 | 143 | hir::ItemGlobalAsm(..) => "an assembly blob", | ^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTy` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:144:18 | 144 | hir::ItemTy(..) => "a type alias", | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUnion` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:145:18 | 145 | hir::ItemUnion(..) => "a union", | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemExternCrate` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:147:18 | 147 | hir::ItemExternCrate(..) | | ^^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemForeignMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:148:18 | 148 | hir::ItemForeignMod(..) | | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:149:18 | 149 | hir::ItemImpl(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUse` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_doc.rs:150:18 | 150 | hir::ItemUse(..) => return, | ^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 12 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ItemFn` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:111:18 | 111 | hir::ItemFn(..) => { | ^^^^^^ not found in `hir` help: possible candidate is found in another module, you can import it into scope | 12 | use rustc::hir::intravisit::FnKind::ItemFn; | error[E0531]: cannot find tuple struct/variant `ItemTrait` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:115:18 | 115 | hir::ItemTrait(ref _is_auto, ref _unsafe, ref _generics, | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemConst` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:137:18 | 137 | hir::ItemConst(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemEnum` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:138:18 | 138 | hir::ItemEnum(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:139:18 | 139 | hir::ItemMod(..) | | ^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStatic` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:140:18 | 140 | hir::ItemStatic(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemStruct` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:141:18 | 141 | hir::ItemStruct(..) | | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTraitAlias` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:142:18 | 142 | hir::ItemTraitAlias(..) | | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemGlobalAsm` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:143:18 | 143 | hir::ItemGlobalAsm(..) | | ^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemTy` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:144:18 | 144 | hir::ItemTy(..) | | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUnion` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:145:18 | 145 | hir::ItemUnion(..) | | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemExistential` in module `hir` --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ItemExternCrate` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:147:18 | 147 | hir::ItemExternCrate(..) | | ^^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemForeignMod` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:148:18 | 148 | hir::ItemForeignMod(..) | | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:149:18 | 149 | hir::ItemImpl(..) | | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ItemUse` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/missing_inline.rs:150:18 | 150 | hir::ItemUse(..) => {}, | ^^^^^^^ not found in `hir` error[E0412]: cannot find type `Crate` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_mut.rs:65:28 | 65 | } else if let hir::ExprAddrOf(hir::MutMutable, ref e) = expr.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_mut.rs:66:25 | 66 | if let hir::ExprAddrOf(hir::MutMutable, _) = e.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_mut.rs:73:31 | 73 | } else if let ty::TyRef( | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRptr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_mut.rs:90:21 | 90 | if let hir::TyRptr( | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `TyRptr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_mut.rs:98:25 | 98 | if let hir::TyRptr( | ^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:39:13 | 39 | ExprCall(ref fn_expr, ref arguments) => if let ExprPath(ref path) = fn_expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:39:60 | 39 | ExprCall(ref fn_expr, ref arguments) => if let ExprPath(ref path) = fn_expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:47:13 | 47 | ExprMethodCall(ref path, _, ref arguments) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:60:13 | 60 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:60:31 | 60 | ty::TyFnDef(..) | ty::TyFnPtr(_) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:64:25 | 64 | ty::TyRef( | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:69:25 | 69 | ty::TyRawPtr(ty::TypeAndMut { | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mut_reference.rs:72:34 | 72 | }) => if let ExprAddrOf(MutMutable, _) = argument.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:62:20 | 62 | if let ty::TyAdt(_, subst) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:72:29 | 72 | ty::TyUint(t) if t != ast::UintTy::Usize => span_lint(cx, MUTEX_INTEGER, expr.span, &msg), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:73:29 | 73 | ty::TyInt(t) if t != ast::IntTy::Isize => span_lint(cx, MUTEX_INTEGER, expr.span, &msg), | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:84:13 | 84 | ty::TyBool => Some("AtomicBool"), | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:85:13 | 85 | ty::TyUint(_) => Some("AtomicUsize"), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:86:13 | 86 | ty::TyInt(_) => Some("AtomicIsize"), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/mutex_atomic.rs:87:13 | 87 | ty::TyRawPtr(_) => Some("AtomicPtr"), | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:63:16 | 63 | if let ExprIf(ref pred, ref then_block, Some(ref else_expr)) = e.node { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:83:20 | 83 | if let ExprBlock(ref then_block, _) = then_block.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:126:16 | 126 | if let ExprBinary(Spanned { node: BiEq, .. }, ref left_side, ref right_side) = e.node { | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 5 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:187:36 | 187 | (&[ref e], None) => if let StmtSemi(ref e, _) = e.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:188:20 | 188 | if let ExprRet(_) = e.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:202:9 | 202 | ExprBlock(ref block, _) => fetch_bool_block(block), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:203:9 | 203 | ExprLit(ref lit_ptr) => if let LitKind::Bool(value) = lit_ptr.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_bool.rs:208:9 | 208 | ExprRet(Some(ref expr)) => match fetch_bool_expr(expr) { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_borrow.rs:44:24 | 44 | if let ty::TyRef(..) = cx.tables.expr_ty(inner).sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_borrow.rs:80:24 | 80 | if let ty::TyRef(_, tam, mutbl) = cx.tables.pat_ty(pat).sty; | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_borrow.rs:82:24 | 82 | if let ty::TyRef(_, _, mutbl) = tam.sty; | ^^^^^ not found in `ty` error[E0425]: cannot find function `original_sp` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:68:18 | 68 | node_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:90:21 | 90 | if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(node_id)) { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:91:36 | 91 | if matches!(item.node, ItemImpl(_, _, _, _, Some(_), _, _) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemTrait` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:92:17 | 92 | ItemTrait(..)) | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:218:36 | 218 | if let TyPath(QPath::Resolved(_, ref path)) = input.node; | ^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:302:25 | 302 | moved_vars: HashSet<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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>>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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>) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:342:36 | 342 | if let ExprMatch(ref c, ..) = e.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:353:40 | 353 | if let StmtDecl(ref decl, _) = s.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:354:40 | 354 | if let DeclLocal(ref local) = decl.node; | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) {} | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_update.rs:37:24 | 37 | if let ty::TyAdt(def, _) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:36:16 | 36 | if let ExprBinary(Spanned { node: BiMul, .. }, ref l, ref r) = e.node { | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:38:19 | 38 | (&ExprUnary(..), &ExprUnary(..)) => (), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:38:35 | 38 | (&ExprUnary(..), &ExprUnary(..)) => (), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:39:19 | 39 | (&ExprUnary(UnNeg, ref lit), _) => check_mul(cx, e.span, lit, r), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:40:22 | 40 | (_, &ExprUnary(UnNeg, ref lit)) => check_mul(cx, e.span, lit, l), | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/neg_multiply.rs:49:16 | 49 | if let ExprLit(ref l) = lit.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:92:21 | 92 | if let hir::ItemImpl(_, _, _, _, None, _, ref items) = item.node { | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/new_without_default.rs:170:13 | 170 | ty::TyAdt(adt_def, substs) if adt_def.is_struct() => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ItemConst` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:167:16 | 167 | if let ItemConst(hir_ty, ..) = &it.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:185:20 | 185 | if let ItemImpl(_, _, _, _, None, _, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:193:16 | 193 | if let ExprPath(qpath) = &expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `NodeExpr` in module `map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:214:34 | 214 | if let Some(map::NodeExpr(parent_expr)) = cx.tcx.hir.find(parent_id) { | ^^^^^^^^ not found in `map` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:216:25 | 216 | ExprAddrOf(..) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:220:25 | 220 | ExprField(..) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:224:25 | 224 | ExprIndex(e, _) if ptr::eq(&**e, cur_expr) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/non_copy_const.rs:231:25 | 231 | ExprUnary(UnDeref, _) => { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0405]: cannot find trait `Visitor` in this scope --> /home/cratesfyi/.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 regex_syntax::ast::Visitor; | 1 | use regex_syntax::hir::Visitor; | 1 | use rustc::hir::intravisit::Visitor; | 1 | use rustc::mir::visit::Visitor; | and 1 other candidates error[E0412]: cannot find type `Pat` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 148 | fn check_name(&mut self, span: Span, name: rustc::hir::print::AnnNode) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0405]: cannot find trait `Visitor` in this scope --> /home/cratesfyi/.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 regex_syntax::ast::Visitor; | 1 | use regex_syntax::hir::Visitor; | 1 | use rustc::hir::intravisit::Visitor; | 1 | use rustc::mir::visit::Visitor; | and 1 other candidates error[E0412]: cannot find type `Local` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ok_if_let.rs:47:20 | 47 | if let ExprMatch(ref op, ref body, ref source) = expr.node; //test if expr is a match | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ok_if_let.rs:49:20 | 49 | if let ExprMethodCall(_, _, ref result_types) = op.node; //check is expr.ok() has type Result<T,E>.ok() | ^^^^^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:55:20 | 55 | if let ExprBlock(ref block, _) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:57:20 | 57 | if let ExprCall(ref fun, ref params) = ex.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:58:20 | 58 | if let ExprPath(ref qpath) = fun.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/panic_unimplemented.rs:89:16 | 89 | if let ExprLit(ref lit) = params[0].node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/partialeq_ne_impl.rs:41:20 | 41 | if let ItemImpl(_, _, _, _, Some(ref trait_ref), _, ref impl_items) = item.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0412]: cannot find type `BinOpKind` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::BinOpKind; | error[E0412]: cannot find type `BinOpKind` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use rustc::hir::BinOpKind; | error[E0531]: cannot find tuple struct/variant `ItemFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:106:16 | 106 | if let ItemFn(ref decl, _, _, body_id) = item.node { | ^^^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 3 | use rustc::hir::intravisit::FnKind::ItemFn; | error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:114:24 | 114 | if let ItemImpl(_, _, _, _, Some(_), _, _) = it.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:134:16 | 134 | if let ExprBinary(ref op, ref l, ref r) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiEq` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:135:28 | 135 | if (op.node == BiEq || op.node == BiNe) && (is_null_path(l) || is_null_path(r)) { | ^^^^ not found in this scope error[E0425]: cannot find value `BiNe` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:135:47 | 135 | if (op.node == BiEq || op.node == BiNe) && (is_null_path(l) || is_null_path(r)) { | ^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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>) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:153:20 | 153 | if let ty::TyRef( | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:162:28 | 162 | if let TyPath(QPath::Resolved(_, ref path)) = walk_ptrs_hir_ty(arg).node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:222:28 | 222 | if let TyRptr(_, MutTy { ref ty, ..} ) = arg.node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:223:28 | 223 | if let TyPath(ref path) = ty.node; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 3 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:284:12 | 284 | if let ExprCall(ref pathexp, ref args) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ptr.rs:286:20 | 286 | if let ExprPath(ref path) = pathexp.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:55:20 | 55 | if let ExprIf(ref if_expr, ref body, _) = expr.node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:56:20 | 56 | if let ExprMethodCall(ref segment, _, ref args) = if_expr.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:90:13 | 90 | ExprBlock(ref block, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:97:13 | 97 | ExprRet(Some(ref expr)) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:100:13 | 100 | ExprPath(ref qp) => { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `P` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:116:20 | 116 | if let StmtSemi(ref expr, _) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprRet` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/question_mark.rs:117:20 | 117 | if let ExprRet(ref ret_expr) = expr.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:91:16 | 91 | if let ExprMethodCall(ref path, _, ref args) = expr.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:110:28 | 110 | if let ExprMethodCall(ref iter_path, _, ref iter_args ) = *iter; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:116:28 | 116 | if let ExprMethodCall(ref len_path, _, ref len_args) = end.node; | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:119:28 | 119 | if let ExprPath(QPath::Resolved(_, ref iter_path)) = iter_args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:120:28 | 120 | if let ExprPath(QPath::Resolved(_, ref len_path)) = len_args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:187:9 | 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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/ranges.rs:200:9 | 200 | ExprBinary(Spanned { node: BiSub, .. }, ref lhs, ref rhs) if is_integer_literal(rhs, 1) => Some(lhs), | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/redundant_field_names.rs:46:16 | 46 | if let ExprStruct(_, ref fields, _) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Expr` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:69:18 | 69 | last: Option<NodeId>, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:111:20 | 111 | if let ExprCall(ref fun, ref args) = expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:112:20 | 112 | if let ExprPath(ref qpath) = fun.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0425]: cannot find function `BytePos` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:179:16 | 179 | if let ExprAddrOf(_, ref expr) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:180:16 | 180 | if let ExprArray(ref exprs) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/regex.rs:195:12 | 195 | if let ExprLit(ref lit) = expr.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/replace_consts.rs:40:25 | 40 | if let hir::ExprPath(ref qp) = expr.node; | ^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `FnKind` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/serde_api.rs:32:16 | 32 | if let ItemImpl(_, _, _, _, Some(ref trait_ref), _, ref items) = item.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:89:12 | 89 | _: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:90:12 | 90 | _: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 109 | fn check_block<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, block: &'tcx Block, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:113:13 | 113 | StmtDecl(ref decl, _) => check_decl(cx, decl, bindings), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtExpr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:114:13 | 114 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => check_expr(cx, e, bindings), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:114:34 | 114 | StmtExpr(ref e, _) | StmtSemi(ref e, _) => check_expr(cx, e, bindings), | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Decl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:123:65 | 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 `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 123 | fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:130:12 | 130 | if let DeclLocal(ref local) = decl.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:153:13 | 153 | ty::TyAdt(..) => false, | ^^^^^ not found in `ty` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:162:11 | 162 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 163 | bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:188:20 | 188 | if let ExprStruct(_, ref efields, _) = init_struct.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:208:20 | 208 | if let ExprTup(ref tup) = init_tup.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:223:20 | 223 | if let ExprBox(ref inner_init) = initp.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 239 | name: rustc::hir::print::AnnNode, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:240:11 | 240 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 304 | fn check_expr<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:309:9 | 309 | ExprUnary(_, ref e) | ExprField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(ref e) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprField` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:309:31 | 309 | ExprUnary(_, ref e) | ExprField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(ref e) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:309:53 | 309 | ExprUnary(_, ref e) | ExprField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(ref e) => { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:309:76 | 309 | ExprUnary(_, ref e) | ExprField(ref e, _) | ExprAddrOf(_, ref e) | ExprBox(ref e) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:312:9 | 312 | ExprBlock(ref block, _) | ExprLoop(ref block, _, _) => check_block(cx, block, bindings), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLoop` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:312:35 | 312 | ExprBlock(ref block, _) | ExprLoop(ref block, _, _) => check_block(cx, block, bindings), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:315:9 | 315 | ExprArray(ref v) | ExprTup(ref v) => for e in v { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:315:28 | 315 | ExprArray(ref v) | ExprTup(ref v) => for e in v { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:318:9 | 318 | ExprIf(ref cond, ref then, ref otherwise) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:325:9 | 325 | ExprWhile(ref cond, ref block, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:329:9 | 329 | ExprMatch(ref init, ref arms, _) => { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 348 | fn check_ty<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: &'tcx Ty, bindings: &mut Vec<(rustc::hir::print::AnnNode, Span)>) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TySlice` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:350:9 | 350 | TySlice(ref sty) => check_ty(cx, sty, bindings), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:351:9 | 351 | TyArray(ref fty, ref anon_const) => { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:355:9 | 355 | TyPtr(MutTy { ty: ref mty, .. }) | TyRptr(_, MutTy { ty: ref mty, .. }) => check_ty(cx, mty, bindings), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:355:44 | 355 | TyPtr(MutTy { ty: ref mty, .. }) | TyRptr(_, MutTy { ty: ref mty, .. }) => check_ty(cx, mty, bindings), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:356:9 | 356 | TyTup(ref tup) => for t in tup { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTypeof` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:359:9 | 359 | TyTypeof(ref anon_const) => check_expr(cx, &cx.tcx.hir.body(anon_const.body).value, bindings), | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 364 | fn is_self_shadow(name: rustc::hir::print::AnnNode, expr: &Expr) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprBox` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:366:9 | 366 | ExprBox(ref inner) | ExprAddrOf(_, ref inner) => is_self_shadow(name, inner), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:366:30 | 366 | ExprBox(ref inner) | ExprAddrOf(_, ref inner) => is_self_shadow(name, inner), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:367:9 | 367 | ExprBlock(ref block, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:374:9 | 374 | ExprUnary(op, ref inner) => (UnDeref == op) && is_self_shadow(name, inner), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/shadow.rs:375:9 | 375 | ExprPath(QPath::Resolved(_, ref path)) => path_eq_name(name, path), | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Name` in this scope --> /home/cratesfyi/.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::print::AnnNode::Name`; try using the variant's enum | 380 | fn path_eq_name(name: rustc::hir::print::AnnNode, path: &Path) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:85:16 | 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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:90:32 | 90 | if let ExprAssign(ref target, _) = p.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:105:23 | 105 | } else if let ExprAssign(ref target, ref src) = e.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:125:9 | 125 | ExprBinary(Spanned { node: BiAdd, .. }, ref left, _) => SpanlessEq::new(cx).eq_expr(target, left), | ^^^^^^^^^^ not found in this scope error[E0422]: cannot find struct, variant or union type `Spanned` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use toml::Spanned; | error[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:126:9 | 126 | ExprBlock(ref block, _) => { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:151:16 | 151 | if let ExprMethodCall(ref path, _, ref args) = e.node { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/strings.rs:153:24 | 153 | if let ExprLit(ref lit) = args[0].node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:63:21 | 63 | if let hir::ExprBinary(binop, _, _) = expr.node { | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:74:30 | 74 | hir::ExprBinary(..) | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:75:32 | 75 | | hir::ExprUnary(hir::UnOp::UnNot, _) | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:76:32 | 76 | | hir::ExprUnary(hir::UnOp::UnNeg, _) => return, | ^^^^^^^^^ not found in `hir` error[E0425]: cannot find value `BiAdd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:97:19 | 97 | &[BiAdd, BiSub, BiMul, BiDiv], | ^^^^^ not found in this scope error[E0425]: cannot find value `BiSub` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:97:26 | 97 | &[BiAdd, BiSub, BiMul, BiDiv], | ^^^^^ not found in this scope error[E0425]: cannot find value `BiMul` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:97:33 | 97 | &[BiAdd, BiSub, BiMul, BiDiv], | ^^^^^ not found in this scope error[E0425]: cannot find value `BiDiv` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:97:40 | 97 | &[BiAdd, BiSub, BiMul, BiDiv], | ^^^^^ not found in this scope error[E0425]: cannot find value `BiAdd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:21 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiSub` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:28 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiMul` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:35 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiDiv` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:42 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiBitAnd` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:49 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiBitOr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:59 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^^^ not found in this scope error[E0425]: cannot find value `BiBitXor` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:68 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `BiRem` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:78 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiShl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:85 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0425]: cannot find value `BiShr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:127:92 | 127 | BiAdd, BiSub, BiMul, BiDiv, BiBitAnd, BiBitOr, BiBitXor, BiRem, BiShl, BiShr | ^^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:147:17 | 147 | binop: hir::BinOp_, | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0412]: cannot find type `BinOp_` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:149:26 | 149 | expected_ops: &[hir::BinOp_], | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0531]: cannot find tuple struct/variant `ExprBinary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:188:18 | 188 | hir::ExprBinary(..) | ^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:189:20 | 189 | | hir::ExprUnary(hir::UnOp::UnNot, _) | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprUnary` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:190:20 | 190 | | hir::ExprUnary(hir::UnOp::UnNeg, _) => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:64:20 | 64 | if let StmtDecl(ref tmp, _) = w[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:65:20 | 65 | if let DeclLocal(ref tmp) = tmp.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:70:20 | 70 | if let StmtSemi(ref first, _) = w[1].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:71:20 | 71 | if let ExprAssign(ref lhs1, ref rhs1) = first.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:74:20 | 74 | if let StmtSemi(ref second, _) = w[2].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:75:20 | 75 | if let ExprAssign(ref lhs2, ref rhs2) = second.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:76:20 | 76 | if let ExprPath(QPath::Resolved(None, ref rhs2)) = rhs2.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:88:28 | 88 | if let ExprIndex(ref lhs1, ref idx1) = lhs1.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprIndex` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:89:32 | 89 | if let ExprIndex(ref lhs2, ref idx2) = lhs2.node { | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:93:57 | 93 | if matches!(ty.sty, ty::TySlice(_)) || | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:94:58 | 94 | matches!(ty.sty, ty::TyArray(_, _)) || | ^^^^^^^ help: a tuple variant with a similar name exists: `Array` error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:148:20 | 148 | if let StmtSemi(ref first, _) = w[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:149:20 | 149 | if let StmtSemi(ref second, _) = w[1].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:151:20 | 151 | if let ExprAssign(ref lhs0, ref rhs0) = first.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAssign` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/swap.rs:152:20 | 152 | if let ExprAssign(ref lhs1, ref rhs1) = second.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:218:16 | 218 | if let ExprCall(ref path_expr, ref args) = e.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:219:20 | 219 | if let ExprPath(ref qpath) = path_expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:232:35 | 232 | (&ty::TyRef(_, rty, rty_mutbl), &ty::TyRawPtr(ptr_ty)) => span_lint_and_then( | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:232:66 | 232 | (&ty::TyRef(_, rty, rty_mutbl), &ty::TyRawPtr(ptr_ty)) => span_lint_and_then( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:249:35 | 249 | (&ty::TyInt(_), &ty::TyRawPtr(_)) | (&ty::TyUint(_), &ty::TyRawPtr(_)) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:249:50 | 249 | (&ty::TyInt(_), &ty::TyRawPtr(_)) | (&ty::TyUint(_), &ty::TyRawPtr(_)) => { | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:249:71 | 249 | (&ty::TyInt(_), &ty::TyRawPtr(_)) | (&ty::TyUint(_), &ty::TyRawPtr(_)) => { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:249:87 | 249 | (&ty::TyInt(_), &ty::TyRawPtr(_)) | (&ty::TyUint(_), &ty::TyRawPtr(_)) => { | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:260:35 | 260 | (&ty::TyFloat(_), &ty::TyRef(..)) | | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:260:52 | 260 | (&ty::TyFloat(_), &ty::TyRef(..)) | | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:261:35 | 261 | (&ty::TyFloat(_), &ty::TyRawPtr(_)) | | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:261:52 | 261 | (&ty::TyFloat(_), &ty::TyRawPtr(_)) | | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find unit struct/variant or constant `TyChar` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:262:35 | 262 | (&ty::TyChar, &ty::TyRef(..)) | | ^^^^^^ help: a unit variant with a similar name exists: `Char` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:262:48 | 262 | (&ty::TyChar, &ty::TyRef(..)) | | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyChar` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:263:35 | 263 | (&ty::TyChar, &ty::TyRawPtr(_)) => span_lint( | ^^^^^^ help: a unit variant with a similar name exists: `Char` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:263:48 | 263 | (&ty::TyChar, &ty::TyRawPtr(_)) => span_lint( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:269:35 | 269 | (&ty::TyRawPtr(from_ptr), _) if from_ptr.ty == to_ty => span_lint( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:279:38 | 279 | (_, &ty::TyRawPtr(to_ptr)) if to_ptr.ty == from_ty => span_lint( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:289:35 | 289 | (&ty::TyRawPtr(from_pty), &ty::TyRef(_, to_ref_ty, mutbl)) => span_lint_and_then( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:289:60 | 289 | (&ty::TyRawPtr(from_pty), &ty::TyRef(_, to_ref_ty, mutbl)) => span_lint_and_then( | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:316:35 | 316 | (&ty::TyInt(ast::IntTy::I32), &ty::TyChar) | | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyChar` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:316:64 | 316 | (&ty::TyInt(ast::IntTy::I32), &ty::TyChar) | | ^^^^^^ help: a unit variant with a similar name exists: `Char` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:317:35 | 317 | (&ty::TyUint(ast::UintTy::U32), &ty::TyChar) => span_lint_and_then( | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find unit struct/variant or constant `TyChar` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:317:66 | 317 | (&ty::TyUint(ast::UintTy::U32), &ty::TyChar) => span_lint_and_then( | ^^^^^^ help: a unit variant with a similar name exists: `Char` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:324:58 | 324 | let arg = if let ty::TyInt(_) = from_ty.sty { | ^^^^^ not found in `ty` error[E0425]: cannot find function `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:325:55 | 325 | arg.as_ty(ty::TyUint(ast::UintTy::U32)) | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:336:35 | 336 | (&ty::TyRef(_, ty_from, from_mutbl), &ty::TyRef(_, ty_to, to_mutbl)) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:336:71 | 336 | (&ty::TyRef(_, ty_from, from_mutbl), &ty::TyRef(_, ty_to, to_mutbl)) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:338:50 | 338 | if let (&ty::TySlice(slice_ty), &ty::TyStr) = (&ty_from.sty, &ty_to.sty); | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find unit struct/variant or constant `TyStr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:338:74 | 338 | if let (&ty::TySlice(slice_ty), &ty::TyStr) = (&ty_from.sty, &ty_to.sty); | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:339:48 | 339 | if let ty::TyUint(ast::UintTy::U8) = slice_ty.sty; | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:388:35 | 388 | (&ty::TyRawPtr(_), &ty::TyRawPtr(to_ty)) => span_lint_and_then( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:388:53 | 388 | (&ty::TyRawPtr(_), &ty::TyRawPtr(to_ty)) => span_lint_and_then( | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:398:35 | 398 | (&ty::TyInt(ast::IntTy::I8), &ty::TyBool) | (&ty::TyUint(ast::UintTy::U8), &ty::TyBool) => { | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:398:63 | 398 | (&ty::TyInt(ast::IntTy::I8), &ty::TyBool) | (&ty::TyUint(ast::UintTy::U8), &ty::TyBool) => { | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:398:79 | 398 | (&ty::TyInt(ast::IntTy::I8), &ty::TyBool) | (&ty::TyUint(ast::UintTy::U8), &ty::TyBool) => { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:398:109 | 398 | (&ty::TyInt(ast::IntTy::I8), &ty::TyBool) | (&ty::TyUint(ast::UintTy::U8), &ty::TyBool) => { | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:415:35 | 415 | (&ty::TyInt(_), &ty::TyFloat(_)) | (&ty::TyUint(_), &ty::TyFloat(_)) => { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:415:50 | 415 | (&ty::TyInt(_), &ty::TyFloat(_)) | (&ty::TyUint(_), &ty::TyFloat(_)) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:415:70 | 415 | (&ty::TyInt(_), &ty::TyFloat(_)) | (&ty::TyUint(_), &ty::TyFloat(_)) => { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:415:86 | 415 | (&ty::TyInt(_), &ty::TyFloat(_)) | (&ty::TyUint(_), &ty::TyFloat(_)) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:423:62 | 423 | let arg = if let ty::TyInt(int_ty) = from_ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/transmute.rs:464:16 | 464 | if let TyRptr(_, ref to_ty) = to_ty.node; | ^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:80:18 | 80 | node_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:102:21 | 102 | if let Some(NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(node_id)) { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:103:36 | 103 | if matches!(item.node, ItemImpl(_, _, _, _, Some(_), _, _) | | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemTrait` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/trivially_copy_pass_by_ref.rs:104:17 | 104 | ItemTrait(..)) | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `NodeItem` in module `map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:141:26 | 141 | if let Some(map::NodeItem(item)) = cx.tcx.hir.find(cx.tcx.hir.get_parent(id)) { | ^^^^^^^^ not found in `map` error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:142:20 | 142 | if let ItemImpl(_, _, _, _, Some(..), _, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:189:16 | 189 | if let TyPath(ref qpath) = ty.node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:209:9 | 209 | TyPath(ref qpath) if !is_local => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:285:9 | 285 | TyRptr(ref lt, ref mut_ty) => check_ty_rptr(cx, ast_ty, is_local, lt, mut_ty), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TySlice` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:287:9 | 287 | TySlice(ref ty) | TyArray(ref ty, _) | TyPtr(MutTy { ref ty, .. }) => check_ty(cx, ty, is_local), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:287:27 | 287 | TySlice(ref ty) | TyArray(ref ty, _) | TyPtr(MutTy { ref ty, .. }) => check_ty(cx, ty, is_local), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:287:48 | 287 | TySlice(ref ty) | TyArray(ref ty, _) | TyPtr(MutTy { ref ty, .. }) => check_ty(cx, ty, is_local), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:288:9 | 288 | TyTup(ref tys) => for ty in tys { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:297:9 | 297 | TyPath(ref qpath) => { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTraitObject` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:346:16 | 346 | if let TyTraitObject(ref traits, _) = t.node; | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Decl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:379:44 | 379 | fn check_let_unit(cx: &LateContext, decl: &Decl) { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:380:12 | 380 | if let DeclLocal(ref local) = decl.node { | ^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Decl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:408:70 | 408 | fn check_decl(&mut self, cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl) { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:449:16 | 449 | if let ExprBinary(ref cmp, ref left, _) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:504:13 | 504 | ExprCall(_, ref args) | ExprMethodCall(_, _, ref args) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:504:37 | 504 | ExprCall(_, ref args) | ExprMethodCall(_, _, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `NodeExpr` in module `hir::map` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:515:55 | 515 | if let Some(hir::map::NodeExpr(parent_expr)) = opt_parent_node; | ^^^^^^^^ not found in `hir::map` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:542:12 | 542 | if let ExprCall(ref callee, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTuple` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:551:13 | 551 | ty::TyTuple(slice) if slice.is_empty() => true, | ^^^^^^^ help: a tuple variant with a similar name exists: `Tuple` error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:558:9 | 558 | ExprTup(ref slice) if slice.is_empty() => true, | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:756:13 | 756 | ty::TyInt(i) => match i { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:764:13 | 764 | ty::TyUint(i) => match i { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:778:13 | 778 | ty::TyInt(IntTy::Isize) | ty::TyUint(UintTy::Usize) => true, | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:778:39 | 778 | ty::TyInt(IntTy::Isize) | ty::TyUint(UintTy::Usize) => true, | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:815:12 | 815 | if let ExprBinary(_, _, _) = op.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:954:16 | 954 | if let ExprCast(ref ex, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:956:20 | 956 | if let ExprLit(ref lit) = ex.node { | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:974:51 | 974 | let to_nbits = if let ty::TyFloat(FloatTy::F32) = cast_to.sty { | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1015:38 | 1015 | if let (&ty::TyFloat(FloatTy::F64), &ty::TyFloat(FloatTy::F32)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1015:66 | 1015 | if let (&ty::TyFloat(FloatTy::F64), &ty::TyFloat(FloatTy::F32)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1024:38 | 1024 | if let (&ty::TyFloat(FloatTy::F32), &ty::TyFloat(FloatTy::F64)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1024:66 | 1024 | if let (&ty::TyFloat(FloatTy::F32), &ty::TyFloat(FloatTy::F64)) = (&cast_from.sty, &cast_to.sty) | ^^^^^^^ help: a tuple variant with a similar name exists: `Float` error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1033:21 | 1033 | ty::TyFnDef(..) | | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1034:21 | 1034 | ty::TyFnPtr(..) => { | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` error[E0425]: cannot find function `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1035:67 | 1035 | if cast_to.is_numeric() && cast_to.sty != ty::TyUint(UintTy::Usize){ | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1064:28 | 1064 | if let ty::TyRawPtr(from_ptr_ty) = &cast_from.sty; | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1065:28 | 1065 | if let ty::TyRawPtr(to_ptr_ty) = &cast_to.sty; | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1131:12 | 1131 | _: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1132:12 | 1132 | _: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ItemStatic` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1144:13 | 1144 | ItemStatic(ref ty, _, _) | ItemConst(ref ty, _) => self.check_type(cx, ty), | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemConst` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1144:40 | 1144 | ItemStatic(ref ty, _, _) | ItemConst(ref ty, _) => self.check_type(cx, ty), | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPtr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1217:23 | 1217 | TyInfer | TyPtr(..) | TyRptr(..) => (1, 0), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyRptr` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1217:35 | 1217 | TyInfer | TyPtr(..) | TyRptr(..) => (1, 0), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1220:13 | 1220 | TyPath(..) | TySlice(..) | TyTup(..) | TyArray(..) => (10 * self.nest, 1), | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TySlice` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1220:26 | 1220 | TyPath(..) | TySlice(..) | TyTup(..) | TyArray(..) => (10 * self.nest, 1), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1220:40 | 1220 | TyPath(..) | TySlice(..) | TyTup(..) | TyArray(..) => (10 * self.nest, 1), | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1220:52 | 1220 | TyPath(..) | TySlice(..) | TyTup(..) | TyArray(..) => (10 * self.nest, 1), | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyBareFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1223:13 | 1223 | TyBareFn(..) => (50 * self.nest, 1), | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyTraitObject` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1225:13 | 1225 | TyTraitObject(ref param_bounds, _) => { | ^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1292:16 | 1292 | if let ExprCast(ref e, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1293:20 | 1293 | if let ExprLit(ref l) = e.node { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1295:28 | 1295 | if ty::TyUint(UintTy::U8) == cx.tables.expr_ty(expr).sty && !in_macro(expr.span) { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1365:12 | 1365 | if let ExprCast(ref cast_exp, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `BinOp_` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1377:9 | 1377 | op: BinOp_, | ^^^^^^ help: a type alias with a similar name exists: `BinOp` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1435:15 | 1435 | (&ty::TyBool, Constant::Bool(false)) | | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1436:15 | 1436 | (&ty::TyUint(_), Constant::Int(0)) => Minimum, | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1437:15 | 1437 | (&ty::TyInt(ity), Constant::Int(i)) if i == unsext(cx.tcx, i128::min_value() >> (128 - int_bits(cx.tcx, ity)), ity) => Minimum, | ^^^^^ not found in `ty` error[E0531]: cannot find unit struct/variant or constant `TyBool` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1439:15 | 1439 | (&ty::TyBool, Constant::Bool(true)) => Maximum, | ^^^^^^ help: a unit variant with a similar name exists: `Bool` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1440:15 | 1440 | (&ty::TyInt(ity), Constant::Int(i)) if i == unsext(cx.tcx, i128::max_value() >> (128 - int_bits(cx.tcx, ity)), ity) => Maximum, | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1441:15 | 1441 | (&ty::TyUint(uty), Constant::Int(i)) if clip(cx.tcx, u128::max_value(), uty) == i => Maximum, | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1456:16 | 1456 | if let ExprBinary(ref cmp, ref lhs, ref rhs) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1567:12 | 1567 | if let ExprCast(ref cast_exp, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1575:17 | 1575 | ty::TyInt(int_ty) => Some(match int_ty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1592:17 | 1592 | ty::TyUint(uint_ty) => Some(match uint_ty { | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0531]: cannot find tuple struct/variant `TyInt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1620:17 | 1620 | ty::TyInt(ity) => Some(FullInt::S(sext(cx.tcx, const_int, ity))), | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TyUint` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1621:17 | 1621 | ty::TyUint(_) => Some(FullInt::U(const_int)), | ^^^^^^ help: a tuple variant with a similar name exists: `Uint` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCast` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1630:12 | 1630 | if let ExprCast(ref cast_val, _) = expr.node { | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1646:11 | 1646 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1696:16 | 1696 | if let ExprBinary(ref cmp, ref lhs, ref rhs) = expr.node { | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `DiagnosticBuilder` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1800:13 | 1800 | ItemImpl(_, _, _, ref generics, _, ref ty, ref items) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemFn` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1832:13 | 1832 | ItemFn(ref decl, .., ref generics, body_id) => { | ^^^^^^ 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::ItemFn; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1881:16 | 1881 | if let TyPath(QPath::Resolved(None, ref path)) = hir_ty.node { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1987:20 | 1987 | if let ExprCall(ref fun, ref args) = e.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1988:20 | 1988 | if let ExprPath(QPath::TypeRelative(ref ty, ref method)) = fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `TyPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/types.rs:1989:20 | 1989 | if let TyPath(QPath::Resolved(None, ref ty_path)) = ty.node; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unicode.rs:74:16 | 74 | if let ExprLit(ref lit) = expr.node { | ^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0412]: cannot find type `Item` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Ident` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `StmtSemi` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:43:18 | 43 | hir::StmtSemi(ref expr, _) | hir::StmtExpr(ref expr, _) => &**expr, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `StmtExpr` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:43:47 | 43 | hir::StmtSemi(ref expr, _) | hir::StmtExpr(ref expr, _) => &**expr, | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:48:18 | 48 | hir::ExprMatch(ref res, _, _) if is_try(expr).is_some() => { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:49:29 | 49 | if let hir::ExprCall(ref func, ref args) = res.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprPath` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:50:33 | 50 | if let hir::ExprPath(ref path) = func.node { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:60:18 | 60 | hir::ExprMethodCall(ref path, _, ref args) => match &*path.ident.as_str() { | ^^^^^^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_io_amount.rs:73:17 | 73 | if let hir::ExprMethodCall(ref path, _, _) = call.node { | ^^^^^^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `ExprBreak` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:72:18 | 72 | hir::ExprBreak(destination, _) | hir::ExprContinue(destination) => if let Some(label) = destination.label { | ^^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprContinue` in module `hir` --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprLoop` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:75:18 | 75 | hir::ExprLoop(_, Some(label), _) | hir::ExprWhile(_, _, Some(label)) => { | ^^^^^^^^ not found in `hir` error[E0531]: cannot find tuple struct/variant `ExprWhile` in module `hir` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unused_label.rs:75:53 | 75 | hir::ExprLoop(_, Some(label), _) | hir::ExprWhile(_, _, Some(label)) => { | ^^^^^^^^^ not found in `hir` error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:194:15 | 194 | span: Span, | ^^^^ not found in this scope help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/unwrap.rs:195:16 | 195 | fn_id: NodeId, | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/use_self.rs:58:20 | 58 | if let ItemImpl(.., ref item_type, ref refs) = item.node; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `NodeId` in this scope --> /home/cratesfyi/.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) { | ^^^^^^ help: a struct with a similar name exists: `BodyId` error[E0425]: cannot find value `SelfType` in this scope --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:38:24 | 38 | if let ty::TyRef(_, ty, _) = cx.tables.expr_ty_adjusted(expr).sty; | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `TySlice` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:39:24 | 39 | if let ty::TySlice(..) = ty.sty; | ^^^^^^^ help: a tuple variant with a similar name exists: `Slice` error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:40:20 | 40 | if let ExprAddrOf(_, ref addressee) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `Span` in this scope --> /home/cratesfyi/.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 help: possible candidate is found in another module, you can import it into scope | 1 | use regex_syntax::ast::Span; | error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/vec.rs:96:16 | 96 | if let ty::TyAdt(_, substs) = ty.sty { | ^^^^^ not found in `ty` error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:178:13 | 178 | ExprCall(ref fun, ref args) => { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:180:28 | 180 | if let ExprPath(ref qpath) = fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:188:13 | 188 | ExprMethodCall(ref fun, _, ref args) => { | ^^^^^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:209:20 | 209 | if let ExprCall(ref args_fun, ref args_args) = write_args[1].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:210:20 | 210 | if let ExprPath(ref qpath) = args_fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:222:28 | 222 | if let ExprAddrOf(_, ref match_expr) = args_args[1].node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:223:28 | 223 | if let ExprMatch(ref args, _, _) = match_expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:224:28 | 224 | if let ExprTup(ref args) = args.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:272:24 | 272 | if let ExprCall(ref args_fun, ref args_args) = args[0].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:280:32 | 280 | if let ExprPath(ref qpath) = args_fun.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:284:32 | 284 | if let ExprAddrOf(_, ref match_expr) = args_args[1].node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:285:32 | 285 | if let ExprMatch(ref args, _, _) = match_expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:286:32 | 286 | if let ExprTup(ref args) = args.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:318:16 | 318 | if let ExprPath(ref qpath) = args[1].node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:344:16 | 344 | if let ExprAddrOf(_, ref match_expr) = args[1].node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:345:16 | 345 | if let ExprMatch(ref matchee, ref arms, _) = match_expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprTup` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:346:16 | 346 | if let ExprTup(ref tup) = matchee.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:348:16 | 348 | if let ExprArray(ref arm_body_exprs) = arms[0].body.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:355:28 | 355 | if let ExprAddrOf(_, ref tup_val) = tup_arg.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:356:28 | 356 | if let ExprLit(_) = tup_val.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprCall` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:360:28 | 360 | if let ExprCall(_, ref body_args) = arm_body_exprs[idx].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:362:28 | 362 | if let ExprPath(ref body_qpath) = body_args[1].node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:374:36 | 374 | if let ExprAddrOf(_, ref format_expr) = args[2].node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:375:36 | 375 | if let ExprArray(ref format_exprs) = format_expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:377:36 | 377 | if let ExprStruct(_, ref fields, _) = format_exprs[idx].node; | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `LocalInternedString` in this scope --> /home/cratesfyi/.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 --> /home/cratesfyi/.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 --> /home/cratesfyi/.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[E0531]: cannot find tuple struct/variant `ExprAddrOf` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:432:16 | 432 | if let ExprAddrOf(_, ref expr) = expr.node; // &["…", "…", …] | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprArray` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:433:16 | 433 | if let ExprArray(ref exprs) = expr.node; | ^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:435:16 | 435 | if let ExprLit(ref lit) = expr.node; | ^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:451:20 | 451 | if let ItemImpl(_, _, _, _, Some(ref tr), _, _) = item.node { | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:471:16 | 471 | if let ExprStruct(_, ref fields, _) = format_field.node; | ^^^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:473:16 | 473 | if let ExprPath(ref qpath) = width_field.expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:476:16 | 476 | if let ExprPath(ref qpath) = align_field.expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:479:16 | 479 | if let ExprPath(ref qpath_precision) = precision_field.expr.node; | ^^^^^^^^ not found in this scope error[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/zero_div_zero.rs:35:20 | 35 | if let ExprBinary(ref op, ref left, ref right) = expr.node; | ^^^^^^^^^^ not found in this scope error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/mod.rs:7:22 | 7 | use rustc::hir::map::Node; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/escape.rs:3:22 | 3 | use rustc::hir::map::Node::{NodeExpr, NodeStmt}; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/functions.rs:86:30 | 86 | use rustc::hir::map::Node::*; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:7:22 | 7 | use rustc::hir::map::Node::{NodeBlock, NodeExpr, NodeStmt}; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/write.rs:1:22 | 1 | use rustc::hir::map::Node::{NodeImplItem, NodeItem}; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/assign_ops.rs:161:62 | 161 | if let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl); | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:190:18 | 190 | map::Node::NodeExpr(expr) => check_expr(vis, expr), | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:191:18 | 191 | map::Node::NodeStmt(stmt) => check_stmt(vis, stmt), | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/eval_order_dependence.rs:192:18 | 192 | map::Node::NodeItem(_) => { | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:1493:33 | 1493 | if let map::Node::NodeBinding(pat) = node_str; | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/loops.rs:2034:26 | 2034 | if let Some(map::Node::NodeExpr(loop_expr)) = cx.tcx.hir.find(cx.tcx.hir.get_parent_node(loop_block.id)); | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:340:30 | 340 | map::Node::NodeExpr(e) => { | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/needless_pass_by_value.rs:350:30 | 350 | map::Node::NodeStmt(s) => { | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:72:34 | 72 | if let hir::map::Node::NodeExpr(e) = cx.tcx.hir.get(parent_expr) { | ^^^^ error[E0603]: enum `Node` is private --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/suspicious_trait_impl.rs:169:26 | 169 | if let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl); | ^^^^ error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/utils/conf.rs:104:21 | 104 | crate fn deserialize<'de, D: serde::Deserializer<'de>>(deserializer: D) | ^^^^^ ... 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 | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:93:5 | 93 | crate fn suggest_grouping(&self) -> usize { | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:104:5 | 104 | crate digits: &'a str, | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:106:5 | 106 | crate radix: Radix, | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:108:5 | 108 | crate prefix: Option<&'a str>, | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:110:5 | 110 | crate suffix: Option<&'a str>, | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:112:5 | 112 | crate float: bool, | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:116:5 | 116 | crate fn new(lit: &'a str, float: bool) -> Self { | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:163:5 | 163 | crate fn grouping_hint(&self) -> String { | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/literal_representation.rs:230:5 | 230 | crate fn display(&self, grouping_hint: &str, cx: &EarlyContext, span: syntax_pos::Span) { | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error[E0658]: `crate` visibility modifier is experimental (see issue #53120) --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs:189:5 | 189 | crate use syntax::ast::{Name, NodeId}; | ^^^^^ | = help: add #![feature(crate_visibility_modifier)] to the crate attributes to enable error: aborting due to 2332 previous errors Some errors occurred: E0405, E0407, E0408, E0412, E0416, E0422, E0423, E0425, E0432... For more information about an error, try `rustc --explain E0405`. thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustc --edition=2018 --crate-name clippy_lints /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.212/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=4206e69185dcf3d2 -C extra-filename=-4206e69185dcf3d2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern cargo_metadata=/home/cratesfyi/cratesfyi/debug/deps/libcargo_metadata-68acec4bf4ff98c6.rmeta --extern if_chain=/home/cratesfyi/cratesfyi/debug/deps/libif_chain-1701149fff719dc1.rmeta --extern itertools=/home/cratesfyi/cratesfyi/debug/deps/libitertools-1b863ae2eadc5e41.rmeta --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-7d2965d58209ad65.rmeta --extern matches=/home/cratesfyi/cratesfyi/debug/deps/libmatches-27bd21b8a85e6347.rmeta --extern pulldown_cmark=/home/cratesfyi/cratesfyi/debug/deps/libpulldown_cmark-f856cfd336bfb2c7.rmeta --extern quine_mc_cluskey=/home/cratesfyi/cratesfyi/debug/deps/libquine_mc_cluskey-f92e25024ffbfdef.rmeta --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-e211a563a66a95a6.rmeta --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-66b15482fcbd439d.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-bb0448e919fa99d8.rmeta --extern serde_derive=/home/cratesfyi/cratesfyi/debug/deps/libserde_derive-73cc9520cf3c88e4.so --extern toml=/home/cratesfyi/cratesfyi/debug/deps/libtoml-0d1437fdea1e9702.rmeta --extern unicode_normalization=/home/cratesfyi/cratesfyi/debug/deps/libunicode_normalization-fde7af30606bae02.rmeta --extern url=/home/cratesfyi/cratesfyi/debug/deps/liburl-d82f40dcf5dcb63c.rmeta --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/backtrace-sys-50a50bedf29a7fea/out` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None } Could not compile `clippy_lints`.', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.