Struct clippy_lints::unused_label::UnusedLabel
[−]
[src]
pub struct UnusedLabel;
Trait Implementations
impl LintPass for UnusedLabel
[src]
fn get_lints(&self) -> LintArray
Unstable (
rustc_private
)Get descriptions of the lints this LintPass
object can emit. Read more
impl LateLintPass for UnusedLabel
[src]
fn check_fn(&mut self,
cx: &LateContext,
kind: FnKind,
decl: &FnDecl,
body: &Block,
span: Span,
fn_id: NodeId)
cx: &LateContext,
kind: FnKind,
decl: &FnDecl,
body: &Block,
span: Span,
fn_id: NodeId)
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(&mut self, &LateContext, &Expr)
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_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
.