Struct clippy_lints::needless_bool::BoolComparison
[−]
[src]
pub struct BoolComparison;
Trait Implementations
impl Copy for BoolComparison[src]
impl Clone for BoolComparison[src]
fn clone(&self) -> BoolComparison
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl LintPass for BoolComparison[src]
fn get_lints(&self) -> LintArray
Unstable (
rustc_private)Get descriptions of the lints this LintPass object can emit. Read more
impl LateLintPass for BoolComparison[src]
fn check_expr(&mut self, cx: &LateContext, e: &Expr)
Unstable (
rustc_private)fn check_name(&mut self, &LateContext, Span, Name)
Unstable (
rustc_private)fn check_crate(&mut self, &LateContext, &Crate)
Unstable (
rustc_private)fn check_crate_post(&mut self, &LateContext, &Crate)
Unstable (
rustc_private)fn check_mod(&mut self, &LateContext, &Mod, Span, NodeId)
Unstable (
rustc_private)fn check_mod_post(&mut self, &LateContext, &Mod, Span, NodeId)
Unstable (
rustc_private)fn check_foreign_item(&mut self, &LateContext, &ForeignItem)
Unstable (
rustc_private)fn check_foreign_item_post(&mut self, &LateContext, &ForeignItem)
Unstable (
rustc_private)fn check_item(&mut self, &LateContext, &Item)
Unstable (
rustc_private)fn check_item_post(&mut self, &LateContext, &Item)
Unstable (
rustc_private)fn check_local(&mut self, &LateContext, &Local)
Unstable (
rustc_private)fn check_block(&mut self, &LateContext, &Block)
Unstable (
rustc_private)fn check_block_post(&mut self, &LateContext, &Block)
Unstable (
rustc_private)fn check_stmt(&mut self, &LateContext, &Spanned<Stmt_>)
Unstable (
rustc_private)fn check_arm(&mut self, &LateContext, &Arm)
Unstable (
rustc_private)fn check_pat(&mut self, &LateContext, &Pat)
Unstable (
rustc_private)fn check_decl(&mut self, &LateContext, &Spanned<Decl_>)
Unstable (
rustc_private)fn check_expr_post(&mut self, &LateContext, &Expr)
Unstable (
rustc_private)fn check_ty(&mut self, &LateContext, &Ty)
Unstable (
rustc_private)fn check_generics(&mut self, &LateContext, &Generics)
Unstable (
rustc_private)fn check_fn(&mut self, &LateContext, FnKind, &FnDecl, &Block, Span, NodeId)
Unstable (
rustc_private)fn check_fn_post(&mut self, &LateContext, FnKind, &FnDecl, &Block, Span, NodeId)
Unstable (
rustc_private)fn check_trait_item(&mut self, &LateContext, &TraitItem)
Unstable (
rustc_private)fn check_trait_item_post(&mut self, &LateContext, &TraitItem)
Unstable (
rustc_private)fn check_impl_item(&mut self, &LateContext, &ImplItem)
Unstable (
rustc_private)fn check_impl_item_post(&mut self, &LateContext, &ImplItem)
Unstable (
rustc_private)fn check_struct_def(&mut self,
&LateContext,
&VariantData,
Name,
&Generics,
NodeId)
&LateContext,
&VariantData,
Name,
&Generics,
NodeId)
Unstable (
rustc_private)fn check_struct_def_post(&mut self,
&LateContext,
&VariantData,
Name,
&Generics,
NodeId)
&LateContext,
&VariantData,
Name,
&Generics,
NodeId)
Unstable (
rustc_private)fn check_struct_field(&mut self, &LateContext, &StructField)
Unstable (
rustc_private)fn check_variant(&mut self, &LateContext, &Spanned<Variant_>, &Generics)
Unstable (
rustc_private)fn check_variant_post(&mut self, &LateContext, &Spanned<Variant_>, &Generics)
Unstable (
rustc_private)fn check_lifetime(&mut self, &LateContext, &Lifetime)
Unstable (
rustc_private)fn check_lifetime_def(&mut self, &LateContext, &LifetimeDef)
Unstable (
rustc_private)fn check_path(&mut self, &LateContext, &Path, NodeId)
Unstable (
rustc_private)fn check_path_list_item(&mut self, &LateContext, &Spanned<PathListItem_>)
Unstable (
rustc_private)fn check_attribute(&mut self, &LateContext, &Spanned<Attribute_>)
Unstable (
rustc_private)fn enter_lint_attrs(&mut self, &LateContext, &[Spanned<Attribute_>])
Unstable (
rustc_private)Called when entering a syntax node that can have lint attributes such as #[allow(...)]. Called with all the attributes of that node. Read more
fn exit_lint_attrs(&mut self, &LateContext, &[Spanned<Attribute_>])
Unstable (
rustc_private)Counterpart to enter_lint_attrs.