Build #151236 2019-03-27T22:06:58.166585+00:00
# 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.208
Downloading crates ...
Downloaded clippy_lints v0.0.208
Fresh cc v1.0.32
Fresh unicode-xid v0.1.0
Fresh autocfg v0.1.2
Fresh rustc-demangle v0.1.13
Fresh cfg-if v0.1.7
Fresh matches v0.1.8
Fresh smallvec v0.6.9
Fresh semver-parser v0.7.0
Fresh itoa v0.4.3
Fresh unicode-width v0.1.5
Fresh lazy_static v1.3.0
Fresh either v1.5.1
Fresh ucd-util v0.1.3
Fresh percent-encoding v1.0.1
Fresh ansi_term v0.11.0
Fresh bitflags v0.9.1
Fresh quine-mc_cluskey v0.2.4
Fresh if_chain v0.1.3
Fresh utf8-ranges v1.0.2
Fresh unicode-bidi v0.3.4
Fresh unicode-normalization v0.1.8
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 backtrace-sys v0.1.28
Fresh quote v0.6.11
Fresh semver v0.9.0
Fresh serde_json v1.0.39
Fresh aho-corasick v0.6.10
Fresh toml v0.4.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
Fresh serde_derive v1.0.89
Fresh error-chain v0.11.0
Compiling clippy v0.0.208
Fresh cargo_metadata v0.5.8
Checking clippy_lints v0.0.208
Running `rustc --edition=2018 --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.208/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=a6abbc52107392e6 -C extra-filename=-a6abbc52107392e6 --out-dir /home/cratesfyi/cratesfyi/debug/build/clippy-a6abbc52107392e6 -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`
Running `rustc --edition=2018 --crate-name clippy_lints /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=16b63505ecedc345 -C extra-filename=-16b63505ecedc345 --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`
Running `/home/cratesfyi/cratesfyi/debug/build/clippy-a6abbc52107392e6/build-script-build`
error[E0432]: unresolved import `rustc::ty::subst::Substs`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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::middle::const_val`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/consts.rs:16:20
|
16 | use rustc::middle::const_val::ConstVal;
| ^^^^^^^^^ could not find `const_val` in `middle`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/mod.rs:20:13
|
20 | use syntax::codemap::{CompilerDesugaringKind, ExpnFormat, ExpnInfo, Span, DUMMY_SP};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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 `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/conf.rs:7:19
|
7 | use syntax::{ast, codemap};
| ^^^^^^^ no `codemap` in the root
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/sugg.rs:12:13
|
12 | use syntax::codemap::{CharPos, Span};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/sugg.rs:384:21
|
384 | use rustc::hir::BinOp_::*;
| ^^^^^^ could not find `BinOp_` in `hir`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/internal_lints.rs:7:13
|
7 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
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.208/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 `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/ptr.rs:6:13
|
6 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/usage.rs:11:13
|
11 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/arithmetic.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/assign_ops.rs:248:21
|
248 | use rustc::hir::BinOp_::*;
| ^^^^^^ could not find `BinOp_` in `hir`
error[E0432]: unresolved import `syntax::ast::NestedMetaItemKind`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/attrs.rs:8:85
|
8 | use syntax::ast::{AttrStyle, Attribute, Lit, LitKind, MetaItemKind, NestedMetaItem, NestedMetaItemKind};
| ^^^^^^^^^^^^^^^^^^
| |
| no `NestedMetaItemKind` in `ast`
| help: a similar name exists in the module: `NestedMetaItem`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/attrs.rs:9:13
|
9 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/bit_mask.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/booleans.rs:5:13
|
5 | use syntax::codemap::{dummy_spanned, Span, DUMMY_SP};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::util::ThinVec`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/booleans.rs:6:5
|
6 | use syntax::util::ThinVec;
| ^^^^^^^^^^^^^^^^^^^^^ no `ThinVec` in `util`
error[E0432]: unresolved import `syntax::util::small_vector`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/copies.rs:7:19
|
7 | use syntax::util::small_vector::SmallVector;
| ^^^^^^^^^^^^ could not find `small_vector` in `util`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/cyclomatic_complexity.rs:9:13
|
9 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/derive.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/doc.rs:5:13
|
5 | use syntax::codemap::{BytePos, Span};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/double_comparison.rs:5:13
|
5 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/duration_subsec.rs:3:13
|
3 | use syntax::codemap::Spanned;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/entry.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::ty::subst::Substs`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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 import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/enum_glob_use.rs:7:13
|
7 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/enum_variants.rs:5:13
|
5 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/erasing_op.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
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.208/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 `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/escape.rs:11:13
|
11 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::ty::TypeVariants`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/excessive_precision.rs:3:5
|
3 | use rustc::ty::TypeVariants;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/functions.rs:9:13
|
9 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/identity_op.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/len_zero.rs:7:13
|
7 | use syntax::codemap::{Span, Spanned};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lifetimes.rs:7:13
|
7 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::intravisit::walk_decl`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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_local`
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.208/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 import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/loops.rs:19:13
|
19 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/map_unit_fn.rs:5:13
|
5 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/matches.rs:7:13
|
7 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved imports `rustc::hir::ExprCall`, `rustc::hir::ExprPath`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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 `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/methods.rs:9:13
|
9 | use syntax::codemap::{Span, BytePos};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/misc.rs:6:13
|
6 | use syntax::codemap::{ExpnFormat, Span};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/misc_early.rs:5:13
|
5 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/missing_doc.rs:26:13
|
26 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/needless_bool.rs:8:13
|
8 | use syntax::codemap::Spanned;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::ExprAddrOf`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/needless_borrow.rs:6:43
|
6 | use rustc::hir::{BindingAnnotation, Expr, ExprAddrOf, MutImmutable, Pat, PatKind};
| ^^^^^^^^^^ no `ExprAddrOf` in `hir`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/needless_continue.rs:32:13
|
32 | use syntax::codemap::{original_sp, DUMMY_SP};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::ExprStruct`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/needless_update.rs:3:24
|
3 | use rustc::hir::{Expr, ExprStruct};
| ^^^^^^^^^^ no `ExprStruct` in `hir`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/neg_multiply.rs:3:13
|
3 | use syntax::codemap::{Span, Spanned};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/new_without_default.rs:5:13
|
5 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
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.208/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 import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/non_expressive_names.rs:2:13
|
2 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved imports `rustc::hir::ExprLit`, `rustc::hir::ExprMethodCall`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/open_options.rs:1:24
|
1 | use rustc::hir::{Expr, ExprLit, ExprMethodCall};
| ^^^^^^^ ^^^^^^^^^^^^^^ no `ExprMethodCall` in `hir`
| |
| no `ExprLit` in `hir`
error[E0433]: failed to resolve: could not find `quote` in `ext`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/panic_unimplemented.rs:5:18
|
5 | use syntax::ext::quote::rt::Span;
| ^^^^^ could not find `quote` in `ext`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/open_options.rs:4:13
|
4 | use syntax::codemap::{Span, Spanned};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/precedence.rs:3:13
|
3 | use syntax::codemap::Spanned;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::map::NodeItem`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/ptr.rs:5:5
|
5 | use rustc::hir::map::NodeItem;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `NodeItem` in `hir::map`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/ptr.rs:10:13
|
10 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/ranges.rs:4:13
|
4 | use syntax::codemap::Spanned;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/regex.rs:6:13
|
6 | use syntax::codemap::{BytePos, Span};
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/returns.rs:3:13
|
3 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/shadow.rs:6:13
|
6 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/strings.rs:3:13
|
3 | use syntax::codemap::Spanned;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `rustc::hir::BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/trivially_copy_pass_by_ref.rs:7:5
|
7 | use rustc::ty::TypeVariants;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `TypeVariants` in `ty`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/types.rs:13:13
|
13 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unicode.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unsafe_removed_from_name.rs:3:13
|
3 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unused_label.rs:6:13
|
6 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unwrap.rs:7:13
|
7 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
error[E0432]: unresolved import `syntax_pos::symbol::keywords::SelfType`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/use_self.rs:6:5
|
6 | use syntax_pos::symbol::keywords::SelfType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SelfType` in `symbol::keywords`
error[E0432]: unresolved import `syntax::codemap`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/vec.rs:4:13
|
4 | use syntax::codemap::Span;
| ^^^^^^^ could not find `codemap` in `syntax`
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.208/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[E0408]: variable `BiAnd` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/consts.rs:407:58
|
407 | (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.208/src/consts.rs:407:17
|
407 | (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[E0416]: identifier `TyInfer` is bound more than once in the same pattern
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:258:25
|
258 | (&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.208/src/utils/hir_utils.rs:270:17
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:270:9
|
270 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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.208/src/utils/hir_utils.rs:275:17
|
275 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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.208/src/utils/hir_utils.rs:275:9
|
275 | 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[E0408]: variable `BiEq` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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.208/src/utils/sugg.rs:398:17
|
398 | 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.208/src/utils/sugg.rs:398:9
|
398 | 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: could not find `Ty_` in `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/author.rs:677:18
|
677 | hir::Ty_::TyPath(ref inner_path) => {
| ^^^ could not find `Ty_` in `hir`
error[E0433]: failed to resolve: could not find `item_path` in `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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: could not find `Item_` in `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `Expr_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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 `Expr_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/bit_mask.rs:128:20
|
128 | if let Expr_::ExprLit(ref lit1) = right.node;
| ^^^^^ use of undeclared type or module `Expr_`
error[E0408]: variable `BiEq` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/src/bit_mask.rs:235:9
|
235 | BiLe | BiGt => match bit_op {
| ^^^^ ---- variable not in all patterns
| |
| 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.208/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.208/src/cyclomatic_complexity.rs:174:21
|
174 | BiAnd | BiOr => self.short_circuits += 1,
| ^^^^^ ---- variable not in all patterns
| |
| pattern doesn't bind `BiOr`
error[E0408]: variable `BiAnd` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/erasing_op.rs:41:17
|
41 | BiMul | BiBitAnd => {
| ^^^^^ -------- variable not in all patterns
| |
| pattern doesn't bind `BiBitAnd`
error[E0408]: variable `BiAdd` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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 `Expr_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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 `BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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: could not find `BinOp_` in `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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: could not find `TyParamBound` in `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/methods.rs:2096:29
|
2096 | if let hir::TyParamBound::TraitTyParamBound(ref ptr, ..) = *bound {
| ^^^^^^^^^^^^ could not find `TyParamBound` 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.208/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: could not find `TypeVariants` in `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/src/neg_cmp_op_on_partial_ord.rs:56:20
|
56 | 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.208/src/neg_cmp_op_on_partial_ord.rs:57:20
|
57 | 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.208/src/neg_cmp_op_on_partial_ord.rs:58:20
|
58 | 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.208/src/neg_cmp_op_on_partial_ord.rs:58:35
|
58 | 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.208/src/neg_cmp_op_on_partial_ord.rs:58:50
|
58 | 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.208/src/neg_cmp_op_on_partial_ord.rs:58:65
|
58 | 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 `Expr_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `Ty_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/ptr.rs:268:12
|
268 | if let Ty_::TyRptr(ref lt, ref m) = ty.node {
| ^^^ use of undeclared type or module `Ty_`
error[E0408]: variable `BiEq` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `Ty_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/src/types.rs:391:5
|
391 | / fn check_decl(&mut self, cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl) {
392 | | check_let_unit(cx, decl)
393 | | }
| |_____^ 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.208/src/types.rs:436:28
|
436 | 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.208/src/types.rs:436:21
|
436 | 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.208/src/types.rs:436:21
|
436 | BiEq | BiLe | BiGe => "true",
| ^^^^ ^^^^ ---- variable not in all patterns
| | |
| | pattern doesn't bind `BiGe`
| pattern doesn't bind `BiGe`
error[E0408]: variable `TyInfer` is not bound in all patterns
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/types.rs:1200:23
|
1200 | 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 `Expr_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unwrap.rs:60:12
|
60 | 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.208/src/unwrap.rs:62:21
|
62 | (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.208/src/unwrap.rs:62:46
|
62 | (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.208/src/unwrap.rs:62:73
|
62 | (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.208/src/unwrap.rs:62:96
|
62 | (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.208/src/unwrap.rs:69:19
|
69 | } 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.208/src/unwrap.rs:73:20
|
73 | 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.208/src/unwrap.rs:74:20
|
74 | 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.208/src/unwrap.rs:113:16
|
113 | 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.208/src/unwrap.rs:122:24
|
122 | 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.208/src/unwrap.rs:123:24
|
123 | 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.208/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 `BinOp_`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/zero_div_zero.rs:36:20
|
36 | if let BinOp_::BiDiv = op.node;
| ^^^^^^ use of undeclared type or module `BinOp_`
error[E0531]: cannot find tuple struct/variant `TyFloat` in module `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/consts.rs:158:17
|
158 | 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.208/src/consts.rs:159:17
|
159 | 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.208/src/consts.rs:204:13
|
204 | 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.208/src/consts.rs:205:13
|
205 | 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.208/src/consts.rs:206:13
|
206 | 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.208/src/consts.rs:207:13
|
207 | 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.208/src/consts.rs:208:13
|
208 | 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.208/src/consts.rs:209:13
|
209 | 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.208/src/consts.rs:210:13
|
210 | 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.208/src/consts.rs:212:25
|
212 | 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.208/src/consts.rs:217:13
|
217 | 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.208/src/consts.rs:222:13
|
222 | 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.208/src/consts.rs:235:25
|
235 | 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.208/src/consts.rs:236:25
|
236 | 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.208/src/consts.rs:249:25
|
249 | ty::TyInt(ity) => ity,
| ^^^^^ 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.208/src/consts.rs:328:25
|
328 | 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.208/src/consts.rs:352:25
|
352 | 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.208/src/consts.rs:421:17
|
421 | 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.208/src/consts.rs:422:17
|
422 | 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.208/src/consts.rs:422:33
|
422 | 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.208/src/consts.rs:423:17
|
423 | 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.208/src/consts.rs:424:17
|
424 | 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.208/src/consts.rs:429:17
|
429 | 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.208/src/consts.rs:430:21
|
430 | ty::TyStr => {
| ^^^^^ not found in `ty`
error[E0412]: cannot find type `NestedMetaItemKind` in module `ast`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/conf.rs:13:35
|
13 | args: &[codemap::Spanned<ast::NestedMetaItemKind>],
| ^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `NestedMetaItem`
error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:79:15
|
79 | (&ExprAgain(li), &ExprAgain(ri)) => {
| ^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:79:31
|
79 | (&ExprAgain(li), &ExprAgain(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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `PathParameters` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:204:45
|
204 | fn eq_path_parameters(&mut self, left: &PathParameters, right: &PathParameters) -> bool {
| ^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `PathParameters` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:204:69
|
204 | fn eq_path_parameters(&mut self, left: &PathParameters, right: &PathParameters) -> 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.208/src/utils/hir_utils.rs:236:15
|
236 | (&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.208/src/utils/hir_utils.rs:236:36
|
236 | (&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.208/src/utils/hir_utils.rs:237:15
|
237 | (&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.208/src/utils/hir_utils.rs:237:44
|
237 | (&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.208/src/utils/hir_utils.rs:252:15
|
252 | (&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.208/src/utils/hir_utils.rs:252:34
|
252 | (&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.208/src/utils/hir_utils.rs:253:15
|
253 | (&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.208/src/utils/hir_utils.rs:253:39
|
253 | (&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.208/src/utils/hir_utils.rs:256:15
|
256 | (&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.208/src/utils/hir_utils.rs:256:31
|
256 | (&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.208/src/utils/hir_utils.rs:257:15
|
257 | (&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.208/src/utils/hir_utils.rs:257:30
|
257 | (&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.208/src/utils/hir_utils.rs:268:26
|
268 | 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.208/src/utils/hir_utils.rs:268:75
|
268 | 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.208/src/utils/hir_utils.rs:271:23
|
271 | 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.208/src/utils/hir_utils.rs:272:23
|
272 | 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.208/src/utils/hir_utils.rs:273:23
|
273 | 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.208/src/utils/hir_utils.rs:274:23
|
274 | 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.208/src/utils/hir_utils.rs:342:13
|
342 | 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.208/src/utils/hir_utils.rs:343:40
|
343 | let c: fn(_, _) -> _ = ExprAddrOf;
| ^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:348:13
|
348 | ExprAgain(i) => {
| ^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/hir_utils.rs:349:37
|
349 | let c: fn(_) -> _ = ExprAgain;
| ^^^^^^^^^ 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.208/src/utils/hir_utils.rs:355:13
|
355 | 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.208/src/utils/hir_utils.rs:356:37
|
356 | 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.208/src/utils/hir_utils.rs:360:13
|
360 | 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.208/src/utils/hir_utils.rs:361:40
|
361 | 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.208/src/utils/hir_utils.rs:366:13
|
366 | 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.208/src/utils/hir_utils.rs:367:43
|
367 | 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.208/src/utils/hir_utils.rs:373:13
|
373 | 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.208/src/utils/hir_utils.rs:374:40
|
374 | 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.208/src/utils/hir_utils.rs:378:13
|
378 | 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.208/src/utils/hir_utils.rs:379:43
|
379 | 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.208/src/utils/hir_utils.rs:385:13
|
385 | 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.208/src/utils/hir_utils.rs:386:40
|
386 | 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.208/src/utils/hir_utils.rs:395:13
|
395 | 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.208/src/utils/hir_utils.rs:396:37
|
396 | 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.208/src/utils/hir_utils.rs:400:13
|
400 | 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.208/src/utils/hir_utils.rs:401:40
|
401 | 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.208/src/utils/hir_utils.rs:406:13
|
406 | 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.208/src/utils/hir_utils.rs:407:40
|
407 | 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.208/src/utils/hir_utils.rs:412:13
|
412 | 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.208/src/utils/hir_utils.rs:413:49
|
413 | 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.208/src/utils/hir_utils.rs:418:13
|
418 | 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.208/src/utils/hir_utils.rs:419:40
|
419 | 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.208/src/utils/hir_utils.rs:424:13
|
424 | 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.208/src/utils/hir_utils.rs:425:40
|
425 | 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.208/src/utils/hir_utils.rs:430:13
|
430 | 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.208/src/utils/hir_utils.rs:431:43
|
431 | 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.208/src/utils/hir_utils.rs:434:13
|
434 | 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.208/src/utils/hir_utils.rs:435:43
|
435 | 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.208/src/utils/hir_utils.rs:443:13
|
443 | 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.208/src/utils/hir_utils.rs:444:37
|
444 | 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.208/src/utils/hir_utils.rs:448:13
|
448 | 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.208/src/utils/hir_utils.rs:449:43
|
449 | 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.208/src/utils/hir_utils.rs:456:13
|
456 | 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.208/src/utils/hir_utils.rs:457:43
|
457 | 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.208/src/utils/hir_utils.rs:471:13
|
471 | 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.208/src/utils/hir_utils.rs:472:43
|
472 | 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.208/src/utils/hir_utils.rs:477:13
|
477 | 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.208/src/utils/hir_utils.rs:478:40
|
478 | 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.208/src/utils/hir_utils.rs:486:13
|
486 | 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.208/src/utils/hir_utils.rs:487:37
|
487 | 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.208/src/utils/hir_utils.rs:493:13
|
493 | 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.208/src/utils/hir_utils.rs:494:37
|
494 | 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.208/src/utils/hir_utils.rs:498:13
|
498 | 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.208/src/utils/hir_utils.rs:499:43
|
499 | 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.208/src/utils/hir_utils.rs:513:13
|
513 | 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.208/src/utils/hir_utils.rs:514:37
|
514 | 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.208/src/utils/hir_utils.rs:518:13
|
518 | 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.208/src/utils/hir_utils.rs:519:40
|
519 | 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.208/src/utils/hir_utils.rs:524:13
|
524 | 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.208/src/utils/hir_utils.rs:525:40
|
525 | 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.208/src/utils/hir_utils.rs:531:13
|
531 | 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.208/src/utils/hir_utils.rs:532:37
|
532 | 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.208/src/utils/hir_utils.rs:537:13
|
537 | 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.208/src/utils/hir_utils.rs:538:43
|
538 | let c: fn(_, _, _) -> _ = ExprWhile;
| ^^^^^^^^^ 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.208/src/utils/hir_utils.rs:581:13
|
581 | 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.208/src/utils/hir_utils.rs:582:40
|
582 | 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.208/src/utils/hir_utils.rs:585:24
|
585 | 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.208/src/utils/hir_utils.rs:591:13
|
591 | 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.208/src/utils/hir_utils.rs:592:40
|
592 | 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.208/src/utils/hir_utils.rs:596:13
|
596 | 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.208/src/utils/hir_utils.rs:597:40
|
597 | let c: fn(_, _) -> _ = StmtSemi;
| ^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/src/utils/sugg.rs:54:22
|
54 | hir::ExprMatch(..) => Sugg::MaybeParen(snippet),
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ExprAgain` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/sugg.rs:55:22
|
55 | hir::ExprAgain(..) |
| ^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/utils/sugg.rs:77:22
|
77 | hir::ExprType(..) => Sugg::BinOp(AssocOp::Colon, snippet),
| ^^^^^^^^ 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.208/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.208/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.208/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 `Decl` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/utils/inspector.rs:271:14
|
271 | hir::ExprField(ref e, ref 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.208/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.208/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.208/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.208/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.208/src/utils/inspector.rs:297:14
|
297 | hir::ExprBreak(_, ref e) => {
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ExprAgain` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/inspector.rs:303:14
|
303 | hir::ExprAgain(_) => 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/utils/inspector.rs:373:14
|
373 | hir::ItemFn(..) => {
| ^^^^^^ not found in `hir`
help: possible candidates are found in other modules, you can import them into scope
|
5 | use rustc::hir::intravisit::FnKind::ItemFn;
|
5 | use syntax::visit::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.208/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.208/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.208/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.208/src/utils/inspector.rs:380:14
|
380 | hir::ItemTy(..) => {
| ^^^^^^ 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.208/src/utils/inspector.rs:383:14
|
383 | 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.208/src/utils/inspector.rs:386:14
|
386 | 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.208/src/utils/inspector.rs:389:14
|
389 | 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.208/src/utils/inspector.rs:392:14
|
392 | 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.208/src/utils/inspector.rs:400:14
|
400 | 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.208/src/utils/inspector.rs:403:14
|
403 | 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.208/src/utils/inspector.rs:406:14
|
406 | hir::ItemImpl(_, _, _, _, None, _, _) => {
| ^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ItemStatic` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/src/utils/internal_lints.rs:180:12
|
180 | if let TyPath(ref path) = ty.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.208/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 `BinOp_` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/utils/higher.rs:229:33
|
229 | if let hir::ExprArray(ref args) = boxed.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.208/src/utils/mod.rs:148:13
|
148 | ty::TyAdt(adt, _) => match_def_path(cx.tcx, adt.did, path),
| ^^^^^ not found in `ty`
error[E0531]: cannot find tuple struct/variant `ExprPath` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/utils/mod.rs:333:16
|
333 | if let ExprMethodCall(ref path, _, ref args) = current.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.208/src/utils/mod.rs:448:12
|
448 | if let ExprBlock(_, _) = expr.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.208/src/utils/mod.rs:527:23
|
527 | node: ItemFn(_, _, _, _, _, eid),
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use rustc::hir::intravisit::FnKind::ItemFn;
|
1 | use syntax::visit::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.208/src/utils/mod.rs:533:17
|
533 | ExprBlock(ref block, _) => Some(block),
| ^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/src/utils/mod.rs:698:12
|
698 | if let ExprLit(ref spanned) = expr.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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/mod.rs:948:12
|
948 | if let ExprBlock(ref block, _) = expr.node {
| ^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SelfValue` in module `keywords`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/mod.rs:992:32
|
992 | name.node == keywords::SelfValue.name()
| ^^^^^^^^^ not found in `keywords`
error[E0531]: cannot find tuple struct/variant `TyPath` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/utils/mod.rs:1000:16
|
1000 | 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.208/src/utils/mod.rs:1022:20
|
1022 | 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.208/src/utils/mod.rs:1040:12
|
1040 | if let ExprMatch(_, ref arms, ref source) = 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.208/src/approx_const.rs:66:16
|
66 | if let ExprLit(ref lit) = e.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/arithmetic.rs:84:18
|
84 | hir::ExprUnary(hir::UnOp::UnNeg, ref arg) => {
| ^^^^^^^^^ 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.208/src/array_indexing.rs:60:21
|
60 | if let hir::ExprIndex(ref array, ref index) = e.node {
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `TyArray` in module `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/array_indexing.rs:63:24
|
63 | if let ty::TyArray(_, size) = ty.sty {
| ^^^^^^^ help: a tuple variant with a similar name exists: `Array`
error[E0531]: cannot find tuple struct/variant `ExprAssignOp` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ItemExternCrate` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/src/attrs.rs:210:12
|
210 | if let ItemFn(_, _, _, _, _, eid) = item.node {
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
3 | use rustc::hir::intravisit::FnKind::ItemFn;
|
3 | use syntax::visit::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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/attrs.rs:250:46
|
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 `ExprBinary` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprClosure` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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 `BinOp_` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/src/booleans.rs:124:17
|
124 | ExprBinary(binop, ref lhs, ref rhs) => {
| ^^^^^^^^^^ 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.208/src/booleans.rs:136:35
|
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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/bytecount.rs:69:47
|
69 | let haystack = if let ExprMethodCall(ref path, _, ref args) =
| ^^^^^^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/src/bytecount.rs:107:9
|
107 | ExprPath(ref qpath) => single_segment_path(qpath).map(|ps| ps.name),
| ^^^^^^^^ 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.208/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.208/src/copies.rs:175:12
|
175 | if let ExprMatch(_, ref arms, MatchSource::Normal) = expr.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.208/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.208/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.208/src/copies.rs:256:16
|
256 | if let ExprBlock(ref block, _) = 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/cyclomatic_complexity.rs:178:13
|
178 | ExprRet(_) => self.returns += 1,
| ^^^^^^^ 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.208/src/derive.rs:73:16
|
73 | if let ItemImpl(_, _, _, _, Some(ref trait_ref), _, _) = 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.208/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.208/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.208/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.208/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 `BinOp_` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/double_comparison.rs:44:13
|
44 | op: BinOp_,
| ^^^^^^ 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.208/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.208/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.208/src/double_comparison.rs:81:16
|
81 | if let ExprBinary(ref kind, ref lhs, ref rhs) = 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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/duration_subsec.rs:42:20
|
42 | if let ExprMethodCall(ref method_path, _ , ref args) = left.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.208/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.208/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.208/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.208/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.208/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.208/src/entry.rs:94:16
|
94 | if let ExprAddrOf(_, ref key) = params[1].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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ItemUse` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/enum_glob_use.rs:50:16
|
50 | if let ItemUse(ref path, UseKind::Glob) = item.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/erasing_op.rs:39:16
|
39 | if let ExprBinary(ref cmp, ref left, ref right) = e.node {
| ^^^^^^^^^^ not found in this scope
error[E0423]: expected function, found type alias `NodeSet`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/escape.rs:70:18
|
70 | set: NodeSet(),
| ^^^^^^^
|
= note: can't use a type alias as a constructor
error[E0531]: cannot find tuple struct/variant `StmtDecl` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/escape.rs:112:24
|
112 | 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.208/src/escape.rs:113:28
|
113 | 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.208/src/escape.rs:115:36
|
115 | if let ExprBox(..) = ex.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/eval_order_dependence.rs:127:13
|
127 | ExprAgain(_) | 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.208/src/eval_order_dependence.rs:127:28
|
127 | ExprAgain(_) | 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.208/src/eval_order_dependence.rs:127:46
|
127 | ExprAgain(_) | 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/excessive_precision.rs:50:25
|
50 | if let hir::ExprLit(ref lit) = expr.node;
| ^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/fallible_impl_from.rs:130:13
|
130 | 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/format.rs:153:16
|
153 | if let ExprPath(ref qpath) = align_field.expr.node;
| ^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/src/functions.rs:89:38
|
89 | matches!(item.node, hir::ItemImpl(_, _, _, _, Some(_), _, _))
| ^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `TyPtr` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/src/functions.rs:219:21
|
219 | if let hir::ExprPath(ref qpath) = ptr.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/identity_op.rs:39:16
|
39 | if let ExprBinary(ref cmp, ref left, ref right) = e.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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/infinite_iter.rs:227:9
|
227 | ExprBinary(op, ref l, ref r) => if op.node.is_comparison() {
| ^^^^^^^^^^ 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.208/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.208/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.208/src/invalid_ref.rs:41:24
|
41 | if let ty::TyRef(..) = cx.tables.expr_ty(expr).sty;
| ^^^^^ not found in `ty`
error[E0531]: cannot find tuple struct/variant `ItemEnum` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprMethodCall` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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[E0531]: cannot find tuple struct/variant `TyDynamic` in module `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/lifetimes.rs:62:16
|
62 | if let ItemFn(ref decl, _, _, _, ref generics, id) = item.node {
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use rustc::hir::intravisit::FnKind::ItemFn;
|
1 | use syntax::visit::FnKind::ItemFn;
|
error[E0531]: cannot find tuple struct/variant `TraitTyParamBound` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lifetimes.rs:106:20
|
106 | if let TraitTyParamBound(ref trait_ref, _) = *bound {
| ^^^^^^^^^^^^^^^^^ 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.208/src/lifetimes.rs:324:13
|
324 | 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.208/src/lifetimes.rs:327:13
|
327 | TyPath(ref path) => {
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `TyImplTraitExistential` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lifetimes.rs:330:13
|
330 | TyImplTraitExistential(ref exist_ty, _) => {
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `RegionTyParamBound` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lifetimes.rs:332:28
|
332 | if let RegionTyParamBound(_) = *bound {
| ^^^^^^^^^^^^^^^^^^ 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.208/src/lifetimes.rs:337:13
|
337 | TyTraitObject(ref bounds, ref lt) => {
| ^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `walk_ty_param_bound` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/lifetimes.rs:373:21
|
373 | walk_ty_param_bound(&mut visitor, bound);
| ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `walk_param_bound`
error[E0531]: cannot find tuple struct/variant `ExprWhile` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:515:20
|
515 | if let ExprMethodCall(ref method, _, ref args) = 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.208/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.208/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.208/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.208/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.208/src/loops.rs:594:9
|
594 | DeclLocal(ref local) => local.init.as_ref().map(|p| &**p),
| ^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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 `ExprAgain` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/loops.rs:643:9
|
643 | ExprAgain(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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:667:9
|
667 | ExprLit(_) => NeverLoopResult::Otherwise,
| ^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:909:28
|
909 | if let ExprMethodCall(ref method, _, ref len_args) = end.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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:1380:17
|
1380 | ExprAddrOf(_, ref expr) => &**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.208/src/loops.rs:1486:16
|
1486 | if let ExprPath(ref qpath) = bound.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:1720:32
|
1720 | if let ty::TyRef(_, _, mutbl) = ty.sty {
| ^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:1845:9
|
1845 | ExprBlock(ref b, _) => match extract_first_expr(b) {
| ^^^^^^^^^ 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.208/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.208/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.208/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.208/src/loops.rs:1899:21
|
1899 | ExprAddrOf(mutability, _) if mutability == MutMutable => *state = VarState::DontWarn,
| ^^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/src/loops.rs:1982:21
|
1982 | ExprAddrOf(mutability, _) if mutability == MutMutable => self.state = VarState::DontWarn,
| ^^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/loops.rs:2056:32
|
2056 | ExprLoop(..) | ExprWhile(..) => {
| ^^^^^^^^^ 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.208/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.208/src/loops.rs:2114:39
|
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 `ExprPath` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/loops.rs:2140:12
|
2140 | if let ExprPath(QPath::Resolved(_, ref 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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/map_clone.rs:54:48
|
54 | 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.208/src/map_clone.rs:64:45
|
64 | 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.208/src/map_clone.rs:79:21
|
79 | 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.208/src/map_clone.rs:102:9
|
102 | 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.208/src/map_clone.rs:128:9
|
128 | 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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprCall` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/matches.rs:402:35
|
402 | let (title, msg) = if let ExprAddrOf(Mutability::MutImmutable, ref inner) = ex.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/methods.rs:816:25
|
816 | if let hir::ItemImpl(_, _, _, _, None, ref self_ty, _) = item.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.208/src/methods.rs:892:25
|
892 | if let hir::ExprPath(ref qpath) = fun.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.208/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.208/src/methods.rs:991:18
|
991 | hir::ExprMethodCall(_, span, ref or_args) => {
| ^^^^^^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/src/methods.rs:1018:29
|
1018 | if let hir::ExprTup(ref format_arg_expr_tup) = format_arg_expr.node {
| ^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprLit` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/methods.rs:2121:19
|
2121 | &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.208/src/methods.rs:2122:19
|
2122 | &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.208/src/methods.rs:2133:17
|
2133 | 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.208/src/methods.rs:2170:70
|
2170 | (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.208/src/methods.rs:2172:69
|
2172 | (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.208/src/methods.rs:2173:76
|
2173 | (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.208/src/methods.rs:2180:17
|
2180 | 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.208/src/minmax.rs:61:12
|
61 | 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.208/src/minmax.rs:62:16
|
62 | if let ExprPath(ref qpath) = path.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `NodeItem` in module `map`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/src/misc.rs:545:38
|
545 | ExprAssign(_, ref rhs) | ExprAssignOp(_, _, ref rhs) => **rhs == *expr,
| ^^^^^^^^^^^^ 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.208/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.208/src/misc.rs:575:16
|
575 | if let ExprLit(ref lit) = e.node;
| ^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ItemConst` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/missing_doc.rs:127:18
|
127 | hir::ItemFn(..) => {
| ^^^^^^ not found in `hir`
help: possible candidates are found in other modules, you can import them into scope
|
21 | use rustc::hir::intravisit::FnKind::ItemFn;
|
21 | use syntax::visit::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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/missing_doc.rs:145:18
|
145 | hir::ItemUnion(..) => "a union",
| ^^^^^^^^^ 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.208/src/missing_doc.rs:146:18
|
146 | 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.208/src/missing_doc.rs:147:18
|
147 | 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.208/src/missing_doc.rs:148:18
|
148 | 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.208/src/missing_doc.rs:149:18
|
149 | hir::ItemUse(..) => return,
| ^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `StmtSemi` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/needless_borrow.rs:82:24
|
82 | if let ty::TyRef(_, _, mutbl) = tam.sty;
| ^^^^^ not found in `ty`
error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/needless_pass_by_value.rs:92:17
|
92 | ItemTrait(..))
| ^^^^^^^^^ 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.208/src/needless_pass_by_value.rs:218:36
|
218 | if let TyPath(QPath::Resolved(_, ref path)) = input.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.208/src/needless_pass_by_value.rs:339:36
|
339 | 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.208/src/needless_pass_by_value.rs:350:40
|
350 | 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.208/src/needless_pass_by_value.rs:351:40
|
351 | 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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprUnary` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/src/neg_multiply.rs:40:22
|
40 | (_, &ExprUnary(UnNeg, ref lit)) => check_mul(cx, e.span, lit, l),
| ^^^^^^^^^ 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.208/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.208/src/new_without_default.rs:92:21
|
92 | if let hir::ItemImpl(_, _, _, _, None, _, ref items) = item.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.208/src/new_without_default.rs:167:13
|
167 | ty::TyAdt(adt_def, substs) if adt_def.is_struct() => {
| ^^^^^ not found in `ty`
error[E0531]: cannot find tuple struct/variant `ExprMatch` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/src/panic_unimplemented.rs:75:35
|
75 | fn get_outer_span(expr: &Expr) -> Span {
| ^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use regex_syntax::ast::Span;
|
1 | use syntax::source_map::Span;
|
1 | use syntax_pos::Span;
|
error[E0531]: cannot find tuple struct/variant `ExprLit` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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[E0531]: cannot find tuple struct/variant `ItemFn` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/ptr.rs:106:16
|
106 | if let ItemFn(ref decl, _, _, _, _, body_id) = item.node {
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
3 | use rustc::hir::intravisit::FnKind::ItemFn;
|
3 | use syntax::visit::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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `TyRef` in module `ty`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/ptr.rs:217:28
|
217 | 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.208/src/ptr.rs:218:28
|
218 | if let TyPath(ref path) = ty.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.208/src/ptr.rs:276:12
|
276 | 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.208/src/ptr.rs:278:20
|
278 | 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.208/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.208/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.208/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.208/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.208/src/question_mark.rs:100:13
|
100 | ExprPath(ref qp) => {
| ^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBinary` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/redundant_field_names.rs:46:16
|
46 | if let ExprStruct(_, ref fields, _) = 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.208/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.208/src/regex.rs:112:20
|
112 | if let ExprPath(ref qpath) = 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.208/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.208/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.208/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.208/src/replace_consts.rs:40:25
|
40 | if let hir::ExprPath(ref qp) = expr.node;
| ^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/serde_api.rs:32:16
|
32 | if let ItemImpl(_, _, _, _, Some(ref trait_ref), _, ref items) = item.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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `DeclLocal` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/src/shadow.rs:153:13
|
153 | ty::TyAdt(..) => false,
| ^^^^^ not found in `ty`
error[E0531]: cannot find tuple struct/variant `ExprStruct` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/shadow.rs:223:20
|
223 | if let ExprBox(ref inner_init) = initp.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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/shadow.rs:329:9
|
329 | ExprMatch(ref init, ref arms, _) => {
| ^^^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBox` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/src/shadow.rs:375:9
|
375 | ExprPath(QPath::Resolved(_, ref path)) => path_eq_name(name, path),
| ^^^^^^^^ 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.208/src/strings.rs:85:16
|
85 | if let ExprBinary(Spanned { node: BiAdd, .. }, ref left, _) = e.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.208/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.208/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.208/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[E0531]: cannot find tuple struct/variant `ExprBlock` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/transmute.rs:461:16
|
461 | if let TyRptr(_, ref to_ty) = to_ty.node;
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `NodeItem` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/trivially_copy_pass_by_ref.rs:104:17
|
104 | ItemTrait(..))
| ^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `NodeItem` in module `map`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/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.208/src/types.rs:186:16
|
186 | 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.208/src/types.rs:206:9
|
206 | 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.208/src/types.rs:271:9
|
271 | 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.208/src/types.rs:273:9
|
273 | 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.208/src/types.rs:273:27
|
273 | 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.208/src/types.rs:273:48
|
273 | 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.208/src/types.rs:274:9
|
274 | 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.208/src/types.rs:283:9
|
283 | 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.208/src/types.rs:329:16
|
329 | 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.208/src/types.rs:362:44
|
362 | 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.208/src/types.rs:363:12
|
363 | 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.208/src/types.rs:391:70
|
391 | 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.208/src/types.rs:432:16
|
432 | 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.208/src/types.rs:487:13
|
487 | 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.208/src/types.rs:487:37
|
487 | 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.208/src/types.rs:498:55
|
498 | 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.208/src/types.rs:525:12
|
525 | 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.208/src/types.rs:534:13
|
534 | 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.208/src/types.rs:541:9
|
541 | 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.208/src/types.rs:739:13
|
739 | 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.208/src/types.rs:747:13
|
747 | 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.208/src/types.rs:761:13
|
761 | 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.208/src/types.rs:761:39
|
761 | 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.208/src/types.rs:798:12
|
798 | 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.208/src/types.rs:937:16
|
937 | 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.208/src/types.rs:939:20
|
939 | 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.208/src/types.rs:957:51
|
957 | 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.208/src/types.rs:998:38
|
998 | 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.208/src/types.rs:998:66
|
998 | 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.208/src/types.rs:1007:38
|
1007 | 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.208/src/types.rs:1007:66
|
1007 | 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.208/src/types.rs:1016:21
|
1016 | 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.208/src/types.rs:1017:21
|
1017 | 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.208/src/types.rs:1018:67
|
1018 | 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.208/src/types.rs:1047:28
|
1047 | 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.208/src/types.rs:1048:28
|
1048 | if let ty::TyRawPtr(to_ptr_ty) = &cast_to.sty;
| ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr`
error[E0531]: cannot find tuple struct/variant `ItemStatic` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/types.rs:1127:13
|
1127 | 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.208/src/types.rs:1127:40
|
1127 | 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.208/src/types.rs:1200:23
|
1200 | 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.208/src/types.rs:1200:35
|
1200 | 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.208/src/types.rs:1203:13
|
1203 | 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.208/src/types.rs:1203:26
|
1203 | 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.208/src/types.rs:1203:40
|
1203 | 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.208/src/types.rs:1203:52
|
1203 | 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.208/src/types.rs:1206:13
|
1206 | 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.208/src/types.rs:1208:13
|
1208 | 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.208/src/types.rs:1272:16
|
1272 | 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.208/src/types.rs:1273:20
|
1273 | 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.208/src/types.rs:1275:28
|
1275 | 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.208/src/types.rs:1345:12
|
1345 | 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.208/src/types.rs:1357:9
|
1357 | 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.208/src/types.rs:1415:15
|
1415 | (&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.208/src/types.rs:1416:15
|
1416 | (&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.208/src/types.rs:1417:15
|
1417 | (&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.208/src/types.rs:1419:15
|
1419 | (&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.208/src/types.rs:1420:15
|
1420 | (&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.208/src/types.rs:1421:15
|
1421 | (&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.208/src/types.rs:1436:16
|
1436 | 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.208/src/types.rs:1547:12
|
1547 | 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.208/src/types.rs:1555:17
|
1555 | 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.208/src/types.rs:1572:17
|
1572 | 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.208/src/types.rs:1600:17
|
1600 | 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.208/src/types.rs:1601:17
|
1601 | ty::TyUint(_) => Some(FullInt::U(const_int)),
| ^^^^^^ 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.208/src/types.rs:1610:12
|
1610 | if let ExprCast(ref cast_val, _) = 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.208/src/types.rs:1676:16
|
1676 | if let ExprBinary(ref cmp, ref lhs, ref rhs) = 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.208/src/types.rs:1780:13
|
1780 | 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.208/src/types.rs:1812:13
|
1812 | ItemFn(ref decl, .., ref generics, body_id) => {
| ^^^^^^ not found in this scope
help: possible candidates are found in other modules, you can import them into scope
|
1 | use rustc::hir::intravisit::FnKind::ItemFn;
|
1 | use syntax::visit::FnKind::ItemFn;
|
error[E0531]: cannot find tuple struct/variant `TyPath` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/types.rs:1861:16
|
1861 | if let TyPath(QPath::Resolved(None, ref path)) = hir_ty.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.208/src/types.rs:1963:20
|
1963 | 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.208/src/types.rs:1964:20
|
1964 | 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.208/src/types.rs:1965:20
|
1965 | 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.208/src/unicode.rs:74:16
|
74 | if let ExprLit(ref lit) = expr.node {
| ^^^^^^^ 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.208/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.208/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.208/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.208/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.208/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.208/src/unused_io_amount.rs:60:18
|
60 | hir::ExprMethodCall(ref path, _, ref args) => match &*path.name.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.208/src/unused_io_amount.rs:73:17
|
73 | if let hir::ExprMethodCall(ref path, _, _) = call.node {
| ^^^^^^^^^^^^^^ 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.208/src/unused_label.rs:72:18
|
72 | hir::ExprBreak(destination, _) | hir::ExprAgain(destination) => if let Some(label) = destination.label {
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ExprAgain` in module `hir`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/unused_label.rs:72:51
|
72 | hir::ExprBreak(destination, _) | hir::ExprAgain(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.208/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.208/src/unused_label.rs:75:53
|
75 | hir::ExprLoop(_, Some(label), _) | hir::ExprWhile(_, _, Some(label)) => {
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `ItemImpl` in this scope
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/use_self.rs:58:20
|
58 | if let ItemImpl(.., ref item_type, ref refs) = item.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.208/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.208/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.208/src/vec.rs:40:20
|
40 | if let ExprAddrOf(_, ref addressee) = 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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/write.rs:377:36
|
377 | if let ExprStruct(_, ref fields, _) = format_exprs[idx].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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/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.208/src/needless_pass_by_value.rs:337:30
|
337 | map::Node::NodeExpr(e) => {
| ^^^^
error[E0603]: enum `Node` is private
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/src/needless_pass_by_value.rs:347:30
|
347 | map::Node::NodeStmt(s) => {
| ^^^^
error[E0603]: enum `Node` is private
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.208/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.208/src/suspicious_trait_impl.rs:169:26
|
169 | if let hir::map::Node::NodeItem(item) = cx.tcx.hir.get(parent_impl);
| ^^^^
error: aborting due to 1429 previous errors
Some errors occurred: E0407, E0408, E0412, E0416, E0423, E0425, E0432, E0433, E0531...
For more information about an error, try `rustc --explain E0407`.
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.208/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=16b63505ecedc345 -C extra-filename=-16b63505ecedc345 --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.