Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.12.0-nightly (54c0dcfd6 2016-07-28)
# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)
# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading clippy v0.0.11 Documenting clippy v0.0.11 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs --crate-name clippy -o /home/cratesfyi/clippy-0.0.11/doc -L dependency=/home/cratesfyi/clippy-0.0.11/debug -L dependency=/home/cratesfyi/clippy-0.0.11/debug/deps` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs:13:5: 13:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs:13 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs:14:5: 14:32 error: unresolved import `rustc::lint::LintPassObject`. There is no `LintPassObject` in `rustc::lint`. Did you mean to use `LateLintPassObject`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs:14 use rustc::lint::LintPassObject; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:1:19: 1:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:1 use rustc::lint::{Context, Lint, Level}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:2:19: 2:24 error: unresolved import `syntax::ast::DefId`. There is no `DefId` in `syntax::ast` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:2 use syntax::ast::{DefId, Expr, Name, NodeId, Path}; ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:5:5: 5:35 error: unresolved import `rustc::ast_map::Node::NodeExpr`. Could not find `ast_map` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:5 use rustc::ast_map::Node::NodeExpr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:6:5: 6:22 error: unresolved import `rustc::middle::ty`. There is no `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:6 use rustc::middle::ty; ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:7:24: 7:31 error: unresolved import `std::borrow::IntoCow`. There is no `IntoCow` in `std::borrow` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:7 use std::borrow::{Cow, IntoCow}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:4:19: 4:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:4 use rustc::lint::{Context, LintPass, LintArray, Lint, Level}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:4:24: 4:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:4 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:4:45: 4:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:4 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:6:19: 6:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:6 use rustc::lint::{Context, LintPass, LintArray, Lint, Level}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:7:5: 7:22 error: unresolved import `rustc::middle::ty`. There is no `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:7 use rustc::middle::ty; ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:3:5: 3:33 error: unresolved import `syntax::ast_util`. There is no `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:3 use syntax::ast_util as ast_util; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:1:5: 1:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:1 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:3:5: 3:50 error: unresolved import `rustc::middle::const_eval::lookup_const_by_id`. Could not find `const_eval` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:3 use rustc::middle::const_eval::lookup_const_by_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:4:5: 4:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:4 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:6:24: 6:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:6:45: 6:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:5:5: 5:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:5 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:7:5: 7:50 error: unresolved import `rustc::middle::const_eval::lookup_const_by_id`. Could not find `const_eval` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:7 use rustc::middle::const_eval::lookup_const_by_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:8:5: 8:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:8 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:10:24: 10:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:10 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:10:45: 10:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:10 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:5:5: 5:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:5 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:7:5: 7:50 error: unresolved import `rustc::middle::const_eval::lookup_const_by_id`. Could not find `const_eval` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:7 use rustc::middle::const_eval::lookup_const_by_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:8:5: 8:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:8 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:10:24: 10:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:10 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:10:45: 10:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:10 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:1:5: 1:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:1 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:3:5: 3:50 error: unresolved import `rustc::middle::const_eval::lookup_const_by_id`. Could not find `const_eval` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:3 use rustc::middle::const_eval::lookup_const_by_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:4:5: 4:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:4 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:6:24: 6:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:6:45: 6:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:2:19: 2:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:2 use rustc::lint::{Context, LintPass, LintArray, Lint, Level}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:1:5: 1:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:1 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:3:5: 3:50 error: unresolved import `rustc::middle::const_eval::lookup_const_by_id`. Could not find `const_eval` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:3 use rustc::middle::const_eval::lookup_const_by_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:4:5: 4:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:4 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:6:24: 6:43 error: unresolved import `syntax::ast_util::is_comparison_binop`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:6:45: 6:60 error: unresolved import `syntax::ast_util::binop_to_string`. Could not find `ast_util` in `syntax` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:6 use syntax::ast_util::{is_comparison_binop, binop_to_string}; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:3:19: 3:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:3 use rustc::lint::{Context, LintPass, LintArray, Lint}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4:25: 4:37 error: unresolved import `rustc::middle::ty::TypeVariants`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4 use rustc::middle::ty::{TypeVariants, TypeAndMut, TyRef}; ^~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4:39: 4:49 error: unresolved import `rustc::middle::ty::TypeAndMut`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4 use rustc::middle::ty::{TypeVariants, TypeAndMut, TyRef}; ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4:51: 4:56 error: unresolved import `rustc::middle::ty::TyRef`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:4 use rustc::middle::ty::{TypeVariants, TypeAndMut, TyRef}; ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:6:19: 6:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:6 use rustc::lint::{Context, LintPass, LintArray, Lint}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8:25: 8:29 error: unresolved import `rustc::middle::ty`. There is no `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8 use rustc::middle::ty::{self, TypeVariants, TypeAndMut, MethodTraitItemId, ImplOrTraitItemId}; ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8:31: 8:43 error: unresolved import `rustc::middle::ty::TypeVariants`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8 use rustc::middle::ty::{self, TypeVariants, TypeAndMut, MethodTraitItemId, ImplOrTraitItemId}; ^~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8:45: 8:55 error: unresolved import `rustc::middle::ty::TypeAndMut`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8 use rustc::middle::ty::{self, TypeVariants, TypeAndMut, MethodTraitItemId, ImplOrTraitItemId}; ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8:57: 8:74 error: unresolved import `rustc::middle::ty::MethodTraitItemId`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8 use rustc::middle::ty::{self, TypeVariants, TypeAndMut, MethodTraitItemId, ImplOrTraitItemId}; ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8:76: 8:93 error: unresolved import `rustc::middle::ty::ImplOrTraitItemId`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:8 use rustc::middle::ty::{self, TypeVariants, TypeAndMut, MethodTraitItemId, ImplOrTraitItemId}; ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9:26: 9:31 error: unresolved import `rustc::middle::def::DefTy`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9 use rustc::middle::def::{DefTy, DefStruct, DefTrait}; ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9:33: 9:42 error: unresolved import `rustc::middle::def::DefStruct`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9 use rustc::middle::def::{DefTy, DefStruct, DefTrait}; ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9:44: 9:52 error: unresolved import `rustc::middle::def::DefTrait`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:9 use rustc::middle::def::{DefTy, DefStruct, DefTrait}; ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:3:5: 3:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:3 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:15:5: 15:28 error: unresolved import `rustc::plugin::Registry`. Could not find `plugin` in `rustc` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:15 use rustc::plugin::Registry; ^~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:17:5: 17:27 error: unresolved import `rustc::middle::def::*`. Could not find `def` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:17 use rustc::middle::def::*; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:7:5: 7:46 error: unresolved import `rustc::middle::ty::TypeVariants::TyStruct`. Could not find `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:7 use rustc::middle::ty::TypeVariants::TyStruct; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:2:19: 2:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:2 use rustc::lint::{Context, LintPass, LintArray}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:3:5: 3:22 error: unresolved import `rustc::middle::ty`. There is no `ty` in `rustc::middle` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:3 use rustc::middle::ty; ^~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:5:19: 5:26 error: unresolved import `rustc::lint::Context`. There is no `Context` in `rustc::lint`. Did you mean to use `context`? [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:5 use rustc::lint::{Context, LintPass, LintArray, Level}; ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:21:9: 21:15 error: unresolved variant or struct `TyPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:21 TyPath(_, Path {segments: ref seg, ..}) => { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:28:52: 28:76 error: unresolved variant or struct `AngleBracketedParameters` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:28 Some(&PathSegment {parameters: AngleBracketedParameters(ref a), ..}) => { ^~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:46:5: 76:6 error: method `check_ty` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/types.rs:46 fn check_ty(&mut self, cx: &Context, ty: &ast::Ty) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:26:5: 58:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:26 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:27:16: 27:25 error: unresolved variant or struct `ExprMatch` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:27 if let ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:27:44: 27:68 error: failed to resolve. Could not find `MatchSource` in `syntax::ast` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:27 if let ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { ^~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:31:25: 31:32 error: unresolved variant or struct `ExprTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:31 ExprTup(ref v) if v.is_empty() && arms[1].guard.is_none() => (), ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:32:25: 32:34 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:32 ExprBlock(ref b) if b.stmts.is_empty() && arms[1].guard.is_none() => (), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:37:56: 37:69 error: unresolved name `PatWildSingle` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:37 if arms[1].pats[0].node == PatWild(PatWildSingle) && ^~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:37:48: 37:55 error: unresolved name `PatWild` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:37 if arms[1].pats[0].node == PatWild(PatWildSingle) && ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:40:49: 40:58 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:40 let suggestion = if let ExprBlock(_) = arms[0].body.node { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:72:5: 88:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:72 fn check_expr(&mut self, cx: &Context, expr: &ast::Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:74:13: 74:32 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:74 ast::ExprMethodCall(ref method, _, ref args) ^~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:102:5: 112:6 error: method `check_fn` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:102 fn check_fn(&mut self, cx: &Context, _: FnKind, decl: &FnDecl, _: &Block, _: Span, _: NodeId) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:104:20: 104:28 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:104 if let PatIdent(BindByRef(_), _, _) = arg.pat.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:104:29: 104:38 error: unresolved variant or struct `BindByRef` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:104 if let PatIdent(BindByRef(_), _, _) = arg.pat.node { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:125:5: 136:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:125 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:126:16: 126:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:126 if let ExprBinary(ref cmp, ref left, ref right) = expr.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:128:25: 128:33 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:128 if let &ExprPath(_, ref path) = &left.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:131:25: 131:33 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:131 if let &ExprPath(_, ref path) = &right.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:157:5: 167:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:157 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:158:16: 158:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:158 if let ExprBinary(ref cmp, ref left, ref right) = expr.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:160:23: 160:27 error: unresolved name `BiEq` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:160 if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:160:37: 160:41 error: unresolved name `BiNe` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:160 if (op == BiEq || op == BiNe) && (is_float(cx, left) || is_float(cx, right)) { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:189:5: 196:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:189 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:190:16: 190:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:190 if let ExprBinary(Spanned { node: op, ..}, ref left, ref right) = expr.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:201:9: 201:19 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:201 ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(op), ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:206:19: 206:25 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:206 fn is_bit_op(op : BinOp_) -> bool { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:206:19: 206:25 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:206:19: 206:25 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:206:19: 206:25 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:20: 208:28 error: variable `BiBitXor` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:20: 208:28 error: variable `BiBitAnd` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:31: 208:38 error: variable `BiBitXor` from pattern #1 is not bound in pattern #3 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:31: 208:38 error: variable `BiBitOr` from pattern #3 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:41: 208:46 error: variable `BiBitXor` from pattern #1 is not bound in pattern #4 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:41: 208:46 error: variable `BiShl` from pattern #4 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:49: 208:54 error: variable `BiBitXor` from pattern #1 is not bound in pattern #5 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208:49: 208:54 error: variable `BiShr` from pattern #5 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:208 BiBitXor | BiBitAnd | BiBitOr | BiShl | BiShr => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:213:21: 213:27 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:213 fn is_arith_op(op : BinOp_) -> bool { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:213:21: 213:27 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:213:21: 213:27 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:213:21: 213:27 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:17: 215:22 error: variable `BiAdd` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:17: 215:22 error: variable `BiSub` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:25: 215:30 error: variable `BiAdd` from pattern #1 is not bound in pattern #3 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:25: 215:30 error: variable `BiMul` from pattern #3 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:33: 215:38 error: variable `BiAdd` from pattern #1 is not bound in pattern #4 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:33: 215:38 error: variable `BiDiv` from pattern #4 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:41: 215:46 error: variable `BiAdd` from pattern #1 is not bound in pattern #5 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215:41: 215:46 error: variable `BiRem` from pattern #5 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:215 BiAdd | BiSub | BiMul | BiDiv | BiRem => true, ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:231:5: 238:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:231 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:232:16: 232:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:232 if let ExprBinary(ref cmp, ref left, ref right) = expr.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:243:10: 243:24 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:243 &ExprMethodCall(Spanned{node: ref ident, ..}, _, ref args) => { ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:253:10: 253:18 error: unresolved variant or struct `ExprCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:253 &ExprCall(ref path, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:254:21: 254:29 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:254 if let &ExprPath(None, ref path) = &path.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:283:5: 291:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:283 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:284:16: 284:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:284 if let ExprBinary(ref cmp, _, ref right) = expr.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:285:36: 285:49 error: failed to resolve. Use of undeclared type or module `BinOp_` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:285 if let &Spanned {node: BinOp_::BiRem, ..} = cmp { ^~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:295:12: 295:19 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:295 if let ExprLit(ref spanned) = expr.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:296:16: 296:22 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/misc.rs:296 if let LitInt(1, _) = spanned.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22:5: 30:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22:35: 22:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22:35: 22:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22:35: 22:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:22:35: 22:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:23:16: 23:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:23 if let ExprBinary(ref op, ref left, ref right) = e.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:35:11: 35:21 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:35 (&ExprBinary(ref lop, ref ll, ref lr), ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:36:18: 36:28 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:36 &ExprBinary(ref rop, ref rl, ref rr)) => ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:39:11: 39:18 error: unresolved variant or struct `ExprBox` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:39 (&ExprBox(ref lpl, ref lbox), &ExprBox(ref rpl, ref rbox)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:39:40: 39:47 error: unresolved variant or struct `ExprBox` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:39 (&ExprBox(ref lpl, ref lbox), &ExprBox(ref rpl, ref rbox)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:42:11: 42:19 error: unresolved variant or struct `ExprCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:42 (&ExprCall(ref lcallee, ref largs), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:43:11: 43:19 error: unresolved variant or struct `ExprCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:43 &ExprCall(ref rcallee, ref rargs)) => is_exp_equal(lcallee, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:45:11: 45:19 error: unresolved variant or struct `ExprCast` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:45 (&ExprCast(ref lc, ref lty), &ExprCast(ref rc, ref rty)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:45:39: 45:47 error: unresolved variant or struct `ExprCast` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:45 (&ExprCast(ref lc, ref lty), &ExprCast(ref rc, ref rty)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:47:11: 47:20 error: unresolved variant or struct `ExprField` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:47 (&ExprField(ref lfexp, ref lfident), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:48:18: 48:27 error: unresolved variant or struct `ExprField` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:48 &ExprField(ref rfexp, ref rfident)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:50:11: 50:18 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:50 (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:50:28: 50:35 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:50 (&ExprLit(ref l), &ExprLit(ref r)) => l.node == r.node, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:51:11: 51:25 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:51 (&ExprMethodCall(ref lident, ref lcty, ref lmargs), ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:52:18: 52:32 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:52 &ExprMethodCall(ref rident, ref rcty, ref rmargs)) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:55:11: 55:20 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:55 (&ExprParen(ref lparen), _) => is_exp_equal(lparen, right), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:56:14: 56:23 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:56 (_, &ExprParen(ref rparen)) => is_exp_equal(left, rparen), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:57:11: 57:19 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:57 (&ExprPath(ref lqself, ref lsubpath), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:58:18: 58:26 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:58 &ExprPath(ref rqself, ref rsubpath)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:61:11: 61:18 error: unresolved variant or struct `ExprTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:61 (&ExprTup(ref ltup), &ExprTup(ref rtup)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:61:31: 61:38 error: unresolved variant or struct `ExprTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:61 (&ExprTup(ref ltup), &ExprTup(ref rtup)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:63:11: 63:20 error: unresolved variant or struct `ExprUnary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:63 (&ExprUnary(lunop, ref l), &ExprUnary(runop, ref r)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:63:37: 63:46 error: unresolved variant or struct `ExprUnary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:63 (&ExprUnary(lunop, ref l), &ExprUnary(runop, ref r)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:65:11: 65:18 error: unresolved variant or struct `ExprVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:65 (&ExprVec(ref l), &ExprVec(ref r)) => is_exps_equal(l, r), ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:65:28: 65:35 error: unresolved variant or struct `ExprVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:65 (&ExprVec(ref l), &ExprVec(ref r)) => is_exps_equal(l, r), ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:89:7: 89:12 error: unresolved variant or struct `TyVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:89 (&TyVec(ref lvec), &TyVec(ref rvec)) => is_ty_equal(lvec, rvec), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:89:25: 89:30 error: unresolved variant or struct `TyVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:89 (&TyVec(ref lvec), &TyVec(ref rvec)) => is_ty_equal(lvec, rvec), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:90:7: 90:23 error: unresolved variant or struct `TyFixedLengthVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:90 (&TyFixedLengthVec(ref lfvty, ref lfvexp), ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:91:14: 91:30 error: unresolved variant or struct `TyFixedLengthVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:91 &TyFixedLengthVec(ref rfvty, ref rfvexp)) => ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:93:7: 93:12 error: unresolved variant or struct `TyPtr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:93 (&TyPtr(ref lmut), &TyPtr(ref rmut)) => is_mut_ty_equal(lmut, rmut), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:93:25: 93:30 error: unresolved variant or struct `TyPtr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:93 (&TyPtr(ref lmut), &TyPtr(ref rmut)) => is_mut_ty_equal(lmut, rmut), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:94:7: 94:13 error: unresolved variant or struct `TyRptr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:94 (&TyRptr(ref ltime, ref lrmut), &TyRptr(ref rtime, ref rrmut)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:94:38: 94:44 error: unresolved variant or struct `TyRptr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:94 (&TyRptr(ref ltime, ref lrmut), &TyRptr(ref rtime, ref rrmut)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:97:7: 97:15 error: unresolved variant or struct `TyBareFn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:97 (&TyBareFn(ref lbare), &TyBareFn(ref rbare)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:97:29: 97:37 error: unresolved variant or struct `TyBareFn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:97 (&TyBareFn(ref lbare), &TyBareFn(ref rbare)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:99:7: 99:12 error: unresolved variant or struct `TyTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:99 (&TyTup(ref ltup), &TyTup(ref rtup)) => is_tys_equal(ltup, rtup), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:99:25: 99:30 error: unresolved variant or struct `TyTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:99 (&TyTup(ref ltup), &TyTup(ref rtup)) => is_tys_equal(ltup, rtup), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:100:7: 100:13 error: unresolved variant or struct `TyPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:100 (&TyPath(ref lq, ref lpath), &TyPath(ref rq, ref rpath)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:100:35: 100:41 error: unresolved variant or struct `TyPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:100 (&TyPath(ref lq, ref lpath), &TyPath(ref rq, ref rpath)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:102:7: 102:18 error: unresolved variant or struct `TyObjectSum` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:102 (&TyObjectSum(ref lsumty, ref lobounds), ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:103:14: 103:25 error: unresolved variant or struct `TyObjectSum` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:103 &TyObjectSum(ref rsumty, ref robounds)) => ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:106:7: 106:21 error: unresolved variant or struct `TyPolyTraitRef` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:106 (&TyPolyTraitRef(ref ltbounds), &TyPolyTraitRef(ref rtbounds)) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:106:38: 106:52 error: unresolved variant or struct `TyPolyTraitRef` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:106 (&TyPolyTraitRef(ref ltbounds), &TyPolyTraitRef(ref rtbounds)) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:108:7: 108:14 error: unresolved variant or struct `TyParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:108 (&TyParen(ref lty), &TyParen(ref rty)) => is_ty_equal(lty, rty), ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:108:26: 108:33 error: unresolved variant or struct `TyParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:108 (&TyParen(ref lty), &TyParen(ref rty)) => is_ty_equal(lty, rty), ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:109:7: 109:15 error: unresolved variant or struct `TyTypeof` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:109 (&TyTypeof(ref lof), &TyTypeof(ref rof)) => is_exp_equal(lof, rof), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:109:27: 109:35 error: unresolved variant or struct `TyTypeof` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:109 (&TyTypeof(ref lof), &TyTypeof(ref rof)) => is_exp_equal(lof, rof), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:110:17: 110:24 error: identifier `TyInfer` is bound more than once in the same pattern [E0416] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:110 (&TyInfer, &TyInfer) => true, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:157:7: 157:15 error: unresolved variant or struct `NoReturn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:157 (&NoReturn(_), &NoReturn(_)) | ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:157:21: 157:29 error: unresolved variant or struct `NoReturn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:157 (&NoReturn(_), &NoReturn(_)) | ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:158:7: 158:20 error: unresolved variant or struct `DefaultReturn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:158 (&DefaultReturn(_), &DefaultReturn(_)) => true, ^~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:158:26: 158:39 error: unresolved variant or struct `DefaultReturn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:158 (&DefaultReturn(_), &DefaultReturn(_)) => true, ^~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:159:7: 159:13 error: unresolved variant or struct `Return` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:159 (&Return(ref lty), &Return(ref rty)) => is_ty_equal(lty, rty), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:159:25: 159:31 error: unresolved variant or struct `Return` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:159 (&Return(ref lty), &Return(ref rty)) => is_ty_equal(lty, rty), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:174:7: 174:14 error: unresolved variant or struct `PatWild` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:174 (&PatWild(lwild), &PatWild(rwild)) => lwild == rwild, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:174:24: 174:31 error: unresolved variant or struct `PatWild` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:174 (&PatWild(lwild), &PatWild(rwild)) => lwild == rwild, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:175:7: 175:15 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:175 (&PatIdent(ref lmode, ref lident, Option::None), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:176:14: 176:22 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:176 &PatIdent(ref rmode, ref rident, Option::None)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:178:7: 178:15 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:178 (&PatIdent(ref lmode, ref lident, Option::Some(ref lpat)), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:179:14: 179:22 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:179 &PatIdent(ref rmode, ref rident, Option::Some(ref rpat))) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:182:7: 182:14 error: unresolved variant or struct `PatEnum` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:182 (&PatEnum(ref lpath, ref lenum), &PatEnum(ref rpath, ref renum)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:182:39: 182:46 error: unresolved variant or struct `PatEnum` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:182 (&PatEnum(ref lpath, ref lenum), &PatEnum(ref rpath, ref renum)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:185:7: 185:16 error: unresolved variant or struct `PatStruct` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:185 (&PatStruct(ref lpath, ref lfieldpat, lbool), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:186:14: 186:23 error: unresolved variant or struct `PatStruct` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:186 &PatStruct(ref rpath, ref rfieldpat, rbool)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:189:7: 189:13 error: unresolved variant or struct `PatTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:189 (&PatTup(ref ltup), &PatTup(ref rtup)) => is_pats_equal(ltup, rtup), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:189:26: 189:32 error: unresolved variant or struct `PatTup` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:189 (&PatTup(ref ltup), &PatTup(ref rtup)) => is_pats_equal(ltup, rtup), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:190:7: 190:13 error: unresolved variant or struct `PatBox` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:190 (&PatBox(ref lboxed), &PatBox(ref rboxed)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:190:28: 190:34 error: unresolved variant or struct `PatBox` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:190 (&PatBox(ref lboxed), &PatBox(ref rboxed)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:192:7: 192:16 error: unresolved variant or struct `PatRegion` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:192 (&PatRegion(ref lpat, ref lmut), &PatRegion(ref rpat, ref rmut)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:192:39: 192:48 error: unresolved variant or struct `PatRegion` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:192 (&PatRegion(ref lpat, ref lmut), &PatRegion(ref rpat, ref rmut)) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:194:7: 194:13 error: unresolved variant or struct `PatLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:194 (&PatLit(ref llit), &PatLit(ref rlit)) => is_exp_equal(llit, rlit), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:194:26: 194:32 error: unresolved variant or struct `PatLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:194 (&PatLit(ref llit), &PatLit(ref rlit)) => is_exp_equal(llit, rlit), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:195:7: 195:15 error: unresolved variant or struct `PatRange` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:195 (&PatRange(ref lfrom, ref lto), &PatRange(ref rfrom, ref rto)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:195:38: 195:46 error: unresolved variant or struct `PatRange` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:195 (&PatRange(ref lfrom, ref lto), &PatRange(ref rfrom, ref rto)) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:197:7: 197:13 error: unresolved variant or struct `PatVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:197 (&PatVec(ref lfirst, Option::None, ref llast), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:198:14: 198:20 error: unresolved variant or struct `PatVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:198 &PatVec(ref rfirst, Option::None, ref rlast)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:200:7: 200:13 error: unresolved variant or struct `PatVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:200 (&PatVec(ref lfirst, Option::Some(ref lpat), ref llast), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:201:14: 201:20 error: unresolved variant or struct `PatVec` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:201 &PatVec(ref rfirst, Option::Some(ref rpat), ref rlast)) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:16: 261:20 error: variable `BiEq` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:16: 261:20 error: variable `BiLt` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:23: 261:27 error: variable `BiEq` from pattern #1 is not bound in pattern #3 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:23: 261:27 error: variable `BiLe` from pattern #3 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:30: 261:34 error: variable `BiEq` from pattern #1 is not bound in pattern #4 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:30: 261:34 error: variable `BiGt` from pattern #4 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:37: 261:41 error: variable `BiEq` from pattern #1 is not bound in pattern #5 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:37: 261:41 error: variable `BiGe` from pattern #5 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:44: 261:48 error: variable `BiEq` from pattern #1 is not bound in pattern #6 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:44: 261:48 error: variable `BiNe` from pattern #6 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:51: 261:56 error: variable `BiEq` from pattern #1 is not bound in pattern #7 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:51: 261:56 error: variable `BiAnd` from pattern #7 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:59: 261:63 error: variable `BiEq` from pattern #1 is not bound in pattern #8 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261:59: 261:63 error: variable `BiOr` from pattern #8 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:261 BiEq | BiLt | BiLe | BiGt | BiGe | BiNe | BiAnd | BiOr | ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:9: 262:17 error: variable `BiEq` from pattern #1 is not bound in pattern #9 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:9: 262:17 error: variable `BiBitXor` from pattern #9 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:20: 262:28 error: variable `BiEq` from pattern #1 is not bound in pattern #10 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:20: 262:28 error: variable `BiBitAnd` from pattern #10 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:31: 262:38 error: variable `BiEq` from pattern #1 is not bound in pattern #11 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262:31: 262:38 error: variable `BiBitOr` from pattern #11 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eq_op.rs:262 BiBitXor | BiBitAnd | BiBitOr => true, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53:5: 64:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53:35: 53:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53:35: 53:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53:35: 53:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:53:35: 53:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:54:16: 54:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:54 if let ExprBinary(ref cmp, ref left, ref right) = e.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:21: 67:27 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67 fn invert_cmp(cmp : BinOp_) -> BinOp_ { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:21: 67:27 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:21: 67:27 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:21: 67:27 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:32: 67:38 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67 fn invert_cmp(cmp : BinOp_) -> BinOp_ { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:32: 67:38 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:32: 67:38 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:67:32: 67:38 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:71:17: 71:21 error: unresolved name `BiGt`. Did you mean `BiLt`? [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:71 BiLt => BiGt, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:72:17: 72:21 error: unresolved name `BiLt`. Did you mean `BiGt`? [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:72 BiGt => BiLt, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:73:17: 73:21 error: unresolved name `BiGe`. Did you mean `BiLe`? [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:73 BiLe => BiGe, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:74:17: 74:21 error: unresolved name `BiLe`. Did you mean `BiGe`? [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:74 BiGe => BiLe, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:75:14: 75:18 error: unresolved name `BiOr` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:75 _ => BiOr // Dummy ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:23: 80:30 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80 fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:23: 80:30 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:23: 80:30 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:23: 80:30 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:55: 80:61 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80 fn check_compare(cx: &Context, bit_op: &Expr, cmp_op: BinOp_, cmp_value: u64, span: &Span) { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:55: 80:61 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:55: 80:61 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:80:55: 80:61 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:82:10: 82:19 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:82 &ExprParen(ref subexp) => check_compare(cx, subexp, cmp_op, cmp_value, span), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:83:10: 83:20 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:83 &ExprBinary(ref op, ref left, ref right) => { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:84:27: 84:35 error: unresolved name `BiBitAnd` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:84 if op.node != BiBitAnd && op.node != BiBitOr { return; } ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:84:50: 84:57 error: unresolved name `BiBitOr` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:84 if op.node != BiBitAnd && op.node != BiBitOr { return; } ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:24: 93:31 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93 fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:24: 93:31 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:24: 93:31 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:24: 93:31 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:41: 93:47 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93 fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:41: 93:47 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:41: 93:47 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:41: 93:47 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:57: 93:63 error: type name `BinOp_` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93 fn check_bit_mask(cx: &Context, bit_op: BinOp_, cmp_op: BinOp_, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:57: 93:63 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:57: 93:63 help: `len_zero::typeck::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:93:57: 93:63 help: `rustc::hir::BinOp_` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:96:16: 96:20 error: variable `BiEq` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:96 BiEq | BiNe => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:96:16: 96:20 error: variable `BiNe` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:96 BiEq | BiNe => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:116:16: 116:20 error: variable `BiLt` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:116 BiLt | BiGe => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:116:16: 116:20 error: variable `BiGe` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:116 BiLt | BiGe => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:140:16: 140:20 error: variable `BiLe` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:140 BiLe | BiGt => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:140:16: 140:20 error: variable `BiGt` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:140 BiLe | BiGt => match bit_op { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:168:27: 168:34 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:168 fn fetch_int_literal(cx: &Context, lit : &Expr) -> Option<u64> { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:168:27: 168:34 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:168:27: 168:34 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:168:27: 168:34 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:170:10: 170:17 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:170 &ExprLit(ref lit_ptr) => { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:171:21: 171:27 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:171 if let &LitInt(value, _) = &lit_ptr.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:175:10: 175:18 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:175 &ExprPath(_, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:180:23: 180:37 error: unresolved variant, struct or type alias `PathResolution` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:180 Some(&PathResolution { base_def: DefConst(def_id), ..}) => Some(def_id), ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:180:50: 180:58 error: unresolved variant or struct `DefConst` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/bit_mask.rs:180 Some(&PathResolution { base_def: DefConst(def_id), ..}) => Some(def_id), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30:5: 34:6 error: method `check_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30 fn check_item(&mut self, cx: &Context, item: &Item) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30:35: 30:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30 fn check_item(&mut self, cx: &Context, item: &Item) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30:35: 30:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30:35: 30:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:30:35: 30:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:31:17: 31:23 error: unresolved variant or struct `ItemFn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:31 if let &ItemFn(ref decl, _, _, _, _, _) = &item.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36:5: 40:6 error: method `check_impl_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36 fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36:40: 36:47 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36 fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36:40: 36:47 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36:40: 36:47 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:36:40: 36:47 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:37:17: 37:31 error: unresolved variant or struct `MethodImplItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:37 if let &MethodImplItem(ref sig, _) = &item.node { ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42:5: 46:6 error: method `check_trait_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42 fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42:41: 42:48 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42 fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42:41: 42:48 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42:41: 42:48 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:42:41: 42:48 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:43:17: 43:32 error: unresolved variant or struct `MethodTraitItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:43 if let &MethodTraitItem(ref sig, _) = &item.node { ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:49:18: 49:25 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:49 fn check_fn(cx: &Context, decl: &FnDecl) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:49:18: 49:25 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:49:18: 49:25 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:49:18: 49:25 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:52:14: 52:19 error: unresolved variant or struct `TyPtr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:52 &TyPtr(ref p) | &TyRptr(_, ref p) => ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:52:30: 52:36 error: unresolved variant or struct `TyRptr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:52 &TyPtr(ref p) | &TyRptr(_, ref p) => ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:59:27: 59:34 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:59 fn check_ptr_subtype(cx: &Context, span: Span, ty: &Ty) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:59:27: 59:34 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:59:27: 59:34 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/ptr_arg.rs:59:27: 59:34 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29:5: 47:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29:35: 29:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29:35: 29:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29:35: 29:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:29:35: 29:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:30:16: 30:22 error: unresolved variant or struct `ExprIf` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:30 if let ExprIf(_, ref then_block, Option::Some(ref else_expr)) = e.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:58:10: 58:19 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:58 &ExprBlock(ref block) => fetch_bool_block(block), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:59:10: 59:17 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:59 &ExprLit(ref lit_ptr) => if let &LitBool(value) = &lit_ptr.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:59:42: 59:49 error: unresolved variant or struct `LitBool` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/needless_bool.rs:59 &ExprLit(ref lit_ptr) => if let &LitBool(value) = &lit_ptr.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35:5: 39:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35:35: 35:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35:35: 35:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35:35: 35:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:35:35: 35:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:36:17: 36:24 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:36 if let &ExprLit(ref lit) = &e.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:42:19: 42:26 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:42 fn check_lit(cx: &Context, lit: &Lit, span: Span) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:42:19: 42:26 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:42:19: 42:26 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:42:19: 42:26 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:44:10: 44:18 error: unresolved variant or struct `LitFloat` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:44 &LitFloat(ref str, TyF32) => check_known_consts(cx, span, str, "f32"), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:45:10: 45:18 error: unresolved variant or struct `LitFloat` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:45 &LitFloat(ref str, TyF64) => check_known_consts(cx, span, str, "f64"), ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:46:10: 46:28 error: unresolved variant or struct `LitFloatUnsuffixed` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:46 &LitFloatUnsuffixed(ref str) => check_known_consts(cx, span, str, "f{32, 64}"), ^~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:51:28: 51:35 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:51 fn check_known_consts(cx: &Context, span: Span, str: &str, module: &str) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:51:28: 51:35 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:51:28: 51:35 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/approx_const.rs:51:28: 51:35 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:21:5: 59:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:21 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:22:16: 22:27 error: unresolved variant or struct `ExprClosure` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:22 if let ExprClosure(_, ref decl, ref blk) = expr.node { ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:28:24: 28:32 error: unresolved variant or struct `ExprCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:28 if let ExprCall(ref caller, ref args) = ex.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:35:32: 35:40 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:35 if let PatIdent(_, ident, _) = a1.pat.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:37:36: 37:44 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/eta_reduction.rs:37 if let ExprPath(None, ref p) = a2.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23:5: 45:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23:35: 23:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23:35: 23:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23:35: 23:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:23:35: 23:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:24:16: 24:26 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:24 if let ExprBinary(ref cmp, ref left, ref right) = e.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26:25: 26:32 error: variable `BiAdd` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26 BiAdd | BiBitOr | BiBitXor => { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26:25: 26:32 error: variable `BiBitOr` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26 BiAdd | BiBitOr | BiBitXor => { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26:35: 26:43 error: variable `BiAdd` from pattern #1 is not bound in pattern #3 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26 BiAdd | BiBitOr | BiBitXor => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26:35: 26:43 error: variable `BiBitXor` from pattern #3 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:26 BiAdd | BiBitOr | BiBitXor => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30:25: 30:30 error: variable `BiShl` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30 BiShl | BiShr | BiSub => ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30:25: 30:30 error: variable `BiShr` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30 BiShl | BiShr | BiSub => ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30:33: 30:38 error: variable `BiShl` from pattern #1 is not bound in pattern #3 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30 BiShl | BiShr | BiSub => ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30:33: 30:38 error: variable `BiSub` from pattern #3 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:30 BiShl | BiShr | BiSub => ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:49:15: 49:22 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:49 fn check(cx: &Context, e: &Expr, m: i8, span: Span, arg: Span) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:49:15: 49:22 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:49:15: 49:22 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:49:15: 49:22 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:57:18: 57:25 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:57 fn have_lit(cx: &Context, e : &Expr, m: i8) -> bool { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:57:18: 57:25 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:57:18: 57:25 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:57:18: 57:25 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:59:10: 59:19 error: unresolved variant or struct `ExprUnary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:59 &ExprUnary(UnNeg, ref litexp) => have_lit(cx, litexp, -m), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:60:10: 60:17 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:60 &ExprLit(ref lit) => { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:62:19: 62:25 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:62 (&LitInt(0, _), 0) => true, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:63:19: 63:25 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:63 (&LitInt(1, SignedIntLit(_, Plus)), 1) => true, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:63:29: 63:41 error: unresolved variant or struct `SignedIntLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:63 (&LitInt(1, SignedIntLit(_, Plus)), 1) => true, ^~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:64:19: 64:25 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:64 (&LitInt(1, UnsuffixedIntLit(Plus)), 1) => true, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:64:29: 64:45 error: unresolved variant or struct `UnsuffixedIntLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:64 (&LitInt(1, UnsuffixedIntLit(Plus)), 1) => true, ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:65:19: 65:25 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:65 (&LitInt(1, SignedIntLit(_, Minus)), -1) => true, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:65:29: 65:41 error: unresolved variant or struct `SignedIntLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:65 (&LitInt(1, SignedIntLit(_, Minus)), -1) => true, ^~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:66:19: 66:25 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:66 (&LitInt(1, UnsuffixedIntLit(Minus)), -1) => true, ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:66:29: 66:45 error: unresolved variant or struct `UnsuffixedIntLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:66 (&LitInt(1, UnsuffixedIntLit(Minus)), -1) => true, ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:70:10: 70:19 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:70 &ExprParen(ref p) => have_lit(cx, p, m), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:71:10: 71:18 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:71 &ExprPath(_, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:73:23: 73:37 error: unresolved variant, struct or type alias `PathResolution` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:73 Some(&PathResolution { base_def: DefConst(id), ..}) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:73:50: 73:58 error: unresolved variant or struct `DefConst` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/identity_op.rs:73 Some(&PathResolution { base_def: DefConst(id), ..}) => ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:19:5: 22:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:19 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:24:5: 27:6 error: method `check_ty` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:24 fn check_ty(&mut self, cx: &Context, ty: &Ty) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:35:13: 35:23 error: unresolved variant or struct `ExprAddrOf` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:35 ExprAddrOf(MutMutable, ref e) => Option::Some(e), ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:57:9: 57:14 error: unresolved variant or struct `TyPtr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:57 TyPtr(MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:58:9: 58:15 error: unresolved variant or struct `TyRptr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/mut_mut.rs:58 TyRptr(_, MutTy{ ty: ref pty, mutbl: MutMutable }) => Option::Some(pty), ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:28:5: 36:6 error: method `check_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:28 fn check_item(&mut self, cx: &Context, item: &Item) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:30:14: 30:23 error: unresolved variant or struct `ItemTrait` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:30 &ItemTrait(_, _, _, ref trait_items) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:32:14: 32:22 error: unresolved variant or struct `ItemImpl` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:32 &ItemImpl(_, _, _, None, _, ref impl_items) => // only non-trait ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:38:5: 47:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:38 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:39:17: 39:27 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:39 if let &ExprBinary(Spanned{node: cmp, ..}, ref left, ref right) = ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:43:28: 43:32 error: variable `BiGt` from pattern #1 is not bound in pattern #2 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:43 BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:43:28: 43:32 error: variable `BiNe` from pattern #2 is not bound in pattern #1 [E0408] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:43 BiGt | BiNe => check_cmp(cx, expr.span, left, right, "!"), ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:52:43: 52:58 error: unresolved variant or struct `MethodTraitItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:52 item.ident.name == name && if let MethodTraitItem(ref sig, _) = ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:71:43: 71:57 error: unresolved variant or struct `MethodImplItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:71 item.ident.name == name && if let MethodImplItem(ref sig, _) = ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:97:11: 97:18 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:97 (&ExprLit(ref lit), &ExprMethodCall(ref method, _, ref args)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:97:30: 97:44 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:97 (&ExprLit(ref lit), &ExprMethodCall(ref method, _, ref args)) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:99:11: 99:25 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:99 (&ExprMethodCall(ref method, _, ref args), &ExprLit(ref lit)) => ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:99:53: 99:60 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:99 (&ExprMethodCall(ref method, _, ref args), &ExprLit(ref lit)) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:107:27: 107:33 error: unresolved variant or struct `LitInt` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:107 if let &Spanned{node: LitInt(0, _), ..} = lit { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:131:45: 131:50 error: type name `DefId` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:131 fn has_is_empty_impl(cx: &Context, id: &DefId) -> bool { ^~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:131:45: 131:50 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:131:45: 131:50 help: `len_zero::typeck::hir::def_id::DefId` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/len_zero.rs:131:45: 131:50 help: `rustc::hir::def_id::DefId` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23:5: 28:6 error: method `check_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23 fn check_item(&mut self, cx: &Context, item: &Item) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23:35: 23:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23 fn check_item(&mut self, cx: &Context, item: &Item) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23:35: 23:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23:35: 23:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:23:35: 23:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30:5: 35:6 error: method `check_impl_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30 fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30:40: 30:47 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30 fn check_impl_item(&mut self, cx: &Context, item: &ImplItem) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30:40: 30:47 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30:40: 30:47 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:30:40: 30:47 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37:5: 42:6 error: method `check_trait_item` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37 fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37:41: 37:48 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37 fn check_trait_item(&mut self, cx: &Context, item: &TraitItem) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37:41: 37:48 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37:41: 37:48 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:37:41: 37:48 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:46:13: 46:19 error: unresolved variant or struct `ItemFn` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:46 if let &ItemFn(_, _, _, _, _, ref block) = &item.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:53:9: 53:23 error: unresolved variant or struct `MethodImplItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:53 MethodImplItem(_, ref block) => is_relevant_block(block), ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:60:9: 60:24 error: unresolved variant or struct `MethodTraitItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:60 MethodTraitItem(_, None) => true, ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:61:9: 61:24 error: unresolved variant or struct `MethodTraitItem` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:61 MethodTraitItem(_, Some(ref block)) => is_relevant_block(block), ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:69:13: 69:21 error: unresolved variant or struct `StmtDecl` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:69 StmtDecl(_, _) => return true, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:70:13: 70:21 error: unresolved variant or struct `StmtExpr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:70 StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:70:37: 70:45 error: unresolved variant or struct `StmtSemi` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:70 StmtExpr(ref expr, _) | StmtSemi(ref expr, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:81:9: 81:18 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:81 ExprBlock(ref block) => is_relevant_block(block), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:82:9: 82:16 error: unresolved variant or struct `ExprRet` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:82 ExprRet(Some(ref e)) | ExprParen(ref e) => ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:82:32: 82:41 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:82 ExprRet(Some(ref e)) | ExprParen(ref e) => ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84:9: 84:16 error: unresolved variant or struct `ExprRet` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84 ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84:25: 84:34 error: unresolved variant or struct `ExprBreak` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84 ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84:40: 84:47 error: unresolved variant or struct `ExprMac` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:84 ExprRet(None) | ExprBreak(_) | ExprMac(_) => false, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:85:9: 85:17 error: unresolved variant or struct `ExprCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:85 ExprCall(ref path_expr, _) => { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:86:20: 86:28 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:86 if let ExprPath(_, ref path) = path_expr.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:94:21: 94:28 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:94 fn check_attrs(cx: &Context, info: Option<&ExpnInfo>, ident: &Ident, ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:94:21: 94:28 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:94:21: 94:28 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:94:21: 94:28 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:99:16: 99:24 error: unresolved variant or struct `MetaList` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:99 if let MetaList(ref inline, ref values) = attr.node.value.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:101:20: 101:28 error: unresolved variant or struct `MetaWord` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/attrs.rs:101 if let MetaWord(ref always) = values[0].node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37:5: 40:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37:35: 37:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37:35: 37:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37:35: 37:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:37:35: 37:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:43:25: 43:32 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:43 fn check_expr_expd(cx: &Context, e: &Expr, info: Option<&ExpnInfo>) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:43:25: 43:32 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:43:25: 43:32 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:43:25: 43:32 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:46:12: 46:18 error: unresolved variant or struct `ExprIf` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:46 if let ExprIf(ref check, ref then, None) = e.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:47:34: 47:40 error: unresolved variant or struct `ExprIf` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:47 if let Some(&Expr{ node: ExprIf(ref check_inner, ref content, None), ..}) = ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:60:9: 60:19 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:60 ExprBinary(Spanned {node: n, ..}, _, _) if n == BiEq => false, ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:60:57: 60:61 error: unresolved name `BiEq` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:60 ExprBinary(Spanned {node: n, ..}, _, _) if n == BiEq => false, ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:65:25: 65:32 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:65 fn check_to_string(cx: &Context, e: &Expr) -> String { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:65:25: 65:32 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:65:25: 65:32 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:65:25: 65:32 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:75:16: 75:24 error: unresolved variant or struct `StmtExpr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:75 if let StmtExpr(ref expr, _) = block.stmts[0].node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:86:12: 86:21 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/collapsible_if.rs:86 if let ExprBlock(ref block) = expr.node { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16:5: 22:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16:35: 16:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16:35: 16:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16:35: 16:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:16:35: 16:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:17:16: 17:23 error: unresolved variant or struct `ExprLit` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:17 if let ExprLit(ref lit) = expr.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:18:20: 18:26 error: unresolved variant or struct `LitStr` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:18 if let LitStr(ref string, _) = lit.node { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:25:19: 25:26 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:25 fn check_str(cx: &Context, string: &str, span: Span) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:25:19: 25:26 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:25:19: 25:26 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:25:19: 25:26 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:38:25: 38:32 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:38 fn lint_zero_width(cx: &Context, span: Span, start: Option<usize>) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:38:25: 38:32 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:38:25: 38:32 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/unicode.rs:38:25: 38:32 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28:5: 36:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28:35: 28:42 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28 fn check_expr(&mut self, cx: &Context, e: &Expr) { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28:35: 28:42 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28:35: 28:42 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:28:35: 28:42 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:29:17: 29:27 error: unresolved variant or struct `ExprAssign` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:29 if let &ExprAssign(ref target, ref src) = &e.node { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:39:19: 39:26 error: type name `Context` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:39 fn is_string(cx: &Context, e: &Expr) -> bool { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:39:19: 39:26 help: you can import several candidates into scope (`use ...;`): .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:39:19: 39:26 help: `len_zero::typeck::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:39:19: 39:26 help: `rustc::middle::region::Context` .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:47:10: 47:20 error: unresolved variant or struct `ExprBinary` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:47 &ExprBinary(Spanned{ node: BiAdd, .. }, ref left, _) => ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:49:10: 49:19 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:49 &ExprBlock(ref block) => block.stmts.is_empty() && ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:51:10: 51:19 error: unresolved variant or struct `ExprParen` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/strings.rs:51 &ExprParen(ref expr) => is_add(&*expr, target), ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:20:5: 38:6 error: method `check_expr` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:20 fn check_expr(&mut self, cx: &Context, expr: &Expr) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:21:16: 21:30 error: unresolved variant or struct `ExprMethodCall` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/methods.rs:21 if let ExprMethodCall(ref ident, _, ref args) = expr.node { ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:23:20: 23:28 error: unresolved variant or struct `StmtSemi` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:23 if let StmtSemi(ref expr, _) = stmt.node { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:24:24: 24:31 error: unresolved variant or struct `ExprRet` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:24 if let ExprRet(Some(ref inner)) = expr.node { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:35:13: 35:20 error: unresolved variant or struct `ExprRet` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:35 ExprRet(Some(ref inner)) => { ^~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:39:13: 39:22 error: unresolved variant or struct `ExprBlock` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:39 ExprBlock(ref block) => { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:45:13: 45:19 error: unresolved variant or struct `ExprIf` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:45 ExprIf(_, ref ifblock, Some(ref elsexpr)) | ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:46:13: 46:22 error: unresolved variant or struct `ExprIfLet` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:46 ExprIfLet(_, _, ref ifblock, Some(ref elsexpr)) => { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:51:13: 51:22 error: unresolved variant or struct `ExprMatch` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:51 ExprMatch(_, ref arms, _) => { ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:73:17: 73:25 error: unresolved variant or struct `StmtDecl` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:73 StmtDecl(ref decl, _) = stmt.node, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:70:9: 84:10 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:74:17: 74:26 error: unresolved variant or struct `DeclLocal` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:74 DeclLocal(ref local) = decl.node, ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:70:9: 84:10 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:76:17: 76:25 error: unresolved variant or struct `PatIdent` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:76 PatIdent(_, Spanned { node: id, .. }, _) = local.pat.node, ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:70:9: 84:10 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:78:17: 78:25 error: unresolved variant or struct `ExprPath` [E0531] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:78 ExprPath(_, ref path) = retexpr.node ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:115:12: 115:53 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:70:9: 84:10 note: in this expansion of if_let_chain! (defined in .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs) .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:103:5: 107:6 error: method `check_fn` is not a member of trait `LintPass` [E0407] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/returns.rs:103 fn check_fn(&mut self, cx: &Context, _: FnKind, _: &FnDecl, ^ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89:36: 89:38 error: lifetime parameters are not allowed on this type [E0110] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89 pub fn walk_ptrs_ty<'t>(ty: ty::Ty<'t>) -> ty::Ty<'t> { ^~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89:29: 89:39 error: ambiguous associated type; specify the type using the syntax `<[type error] as Trait>::Ty` [E0223] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89 pub fn walk_ptrs_ty<'t>(ty: ty::Ty<'t>) -> ty::Ty<'t> { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89:51: 89:53 error: lifetime parameters are not allowed on this type [E0110] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89 pub fn walk_ptrs_ty<'t>(ty: ty::Ty<'t>) -> ty::Ty<'t> { ^~ .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89:44: 89:54 error: ambiguous associated type; specify the type using the syntax `<[type error] as Trait>::Ty` [E0223] .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/utils.rs:89 pub fn walk_ptrs_ty<'t>(ty: ty::Ty<'t>) -> ty::Ty<'t> { ^~~~~~~~~~ error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `clippy v0.0.11`, intermediate artifacts can be found at `/home/cratesfyi/clippy-0.0.11`, cause: ChainedError { error: Could not document `clippy`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy-0.0.11/src/lib.rs --crate-name clippy -o /home/cratesfyi/clippy-0.0.11/doc -L dependency=/home/cratesfyi/clippy-0.0.11/debug -L dependency=/home/cratesfyi/clippy-0.0.11/debug/deps` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.