Struct clippy::returns::ReturnPass [] [src]

pub struct ReturnPass;

Trait Implementations

impl LintPass for ReturnPass

fn get_lints(&self) -> LintArray

impl EarlyLintPass for ReturnPass

fn check_fn(&mut self, cx: &EarlyContext, _: FnKind, _: &FnDecl, block: &Block, _: Span, _: NodeId)

fn check_block(&mut self, cx: &EarlyContext, block: &Block)

fn check_ident(&mut self, &EarlyContext, Span, Ident)

fn check_crate(&mut self, &EarlyContext, &Crate)

fn check_mod(&mut self, &EarlyContext, &Mod, Span, u32)

fn check_foreign_item(&mut self, &EarlyContext, &ForeignItem)

fn check_item(&mut self, &EarlyContext, &Item)

fn check_local(&mut self, &EarlyContext, &Local)

fn check_stmt(&mut self, &EarlyContext, &Spanned<Stmt_>)

fn check_arm(&mut self, &EarlyContext, &Arm)

fn check_pat(&mut self, &EarlyContext, &Pat)

fn check_decl(&mut self, &EarlyContext, &Spanned<Decl_>)

fn check_expr(&mut self, &EarlyContext, &Expr)

fn check_expr_post(&mut self, &EarlyContext, &Expr)

fn check_ty(&mut self, &EarlyContext, &Ty)

fn check_generics(&mut self, &EarlyContext, &Generics)

fn check_trait_item(&mut self, &EarlyContext, &TraitItem)

fn check_impl_item(&mut self, &EarlyContext, &ImplItem)

fn check_struct_def(&mut self, &EarlyContext, &VariantData, Ident, &Generics, u32)

fn check_struct_def_post(&mut self, &EarlyContext, &VariantData, Ident, &Generics, u32)

fn check_struct_field(&mut self, &EarlyContext, &Spanned<StructField_>)

fn check_variant(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)

fn check_variant_post(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)

fn check_lifetime(&mut self, &EarlyContext, &Lifetime)

fn check_lifetime_def(&mut self, &EarlyContext, &LifetimeDef)

fn check_explicit_self(&mut self, &EarlyContext, &Spanned<ExplicitSelf_>)

fn check_path(&mut self, &EarlyContext, &Path, u32)

fn check_path_list_item(&mut self, &EarlyContext, &Spanned<PathListItem_>)

fn check_attribute(&mut self, &EarlyContext, &Spanned<Attribute_>)

fn enter_lint_attrs(&mut self, &EarlyContext, &[Spanned<Attribute_>])

fn exit_lint_attrs(&mut self, &EarlyContext, &[Spanned<Attribute_>])

Derived Implementations

impl Clone for ReturnPass

fn clone(&self) -> ReturnPass

fn clone_from(&mut self, source: &Self)

impl Copy for ReturnPass