Struct clippy_lints::formatting::Formatting
[−]
[src]
pub struct Formatting;
Trait Implementations
impl Copy for Formatting
[src]
impl Clone for Formatting
[src]
fn clone(&self) -> Formatting
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 Formatting
[src]
fn get_lints(&self) -> LintArray
Unstable (
rustc_private
)Get descriptions of the lints this LintPass
object can emit. Read more
impl EarlyLintPass for Formatting
[src]
fn check_block(&mut self, cx: &EarlyContext, block: &Block)
Unstable (
rustc_private
)fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr)
Unstable (
rustc_private
)fn check_ident(&mut self, &EarlyContext, Span, Ident)
Unstable (
rustc_private
)fn check_crate(&mut self, &EarlyContext, &Crate)
Unstable (
rustc_private
)fn check_crate_post(&mut self, &EarlyContext, &Crate)
Unstable (
rustc_private
)fn check_mod(&mut self, &EarlyContext, &Mod, Span, NodeId)
Unstable (
rustc_private
)fn check_mod_post(&mut self, &EarlyContext, &Mod, Span, NodeId)
Unstable (
rustc_private
)fn check_foreign_item(&mut self, &EarlyContext, &ForeignItem)
Unstable (
rustc_private
)fn check_foreign_item_post(&mut self, &EarlyContext, &ForeignItem)
Unstable (
rustc_private
)fn check_item(&mut self, &EarlyContext, &Item)
Unstable (
rustc_private
)fn check_item_post(&mut self, &EarlyContext, &Item)
Unstable (
rustc_private
)fn check_local(&mut self, &EarlyContext, &Local)
Unstable (
rustc_private
)fn check_block_post(&mut self, &EarlyContext, &Block)
Unstable (
rustc_private
)fn check_stmt(&mut self, &EarlyContext, &Stmt)
Unstable (
rustc_private
)fn check_arm(&mut self, &EarlyContext, &Arm)
Unstable (
rustc_private
)fn check_pat(&mut self, &EarlyContext, &Pat)
Unstable (
rustc_private
)fn check_expr_post(&mut self, &EarlyContext, &Expr)
Unstable (
rustc_private
)fn check_ty(&mut self, &EarlyContext, &Ty)
Unstable (
rustc_private
)fn check_generics(&mut self, &EarlyContext, &Generics)
Unstable (
rustc_private
)fn check_fn(&mut self, &EarlyContext, FnKind, &FnDecl, Span, NodeId)
Unstable (
rustc_private
)fn check_fn_post(&mut self, &EarlyContext, FnKind, &FnDecl, Span, NodeId)
Unstable (
rustc_private
)fn check_trait_item(&mut self, &EarlyContext, &TraitItem)
Unstable (
rustc_private
)fn check_trait_item_post(&mut self, &EarlyContext, &TraitItem)
Unstable (
rustc_private
)fn check_impl_item(&mut self, &EarlyContext, &ImplItem)
Unstable (
rustc_private
)fn check_impl_item_post(&mut self, &EarlyContext, &ImplItem)
Unstable (
rustc_private
)fn check_struct_def(&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId)
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId)
Unstable (
rustc_private
)fn check_struct_def_post(&mut self,
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId)
&EarlyContext,
&VariantData,
Ident,
&Generics,
NodeId)
Unstable (
rustc_private
)fn check_struct_field(&mut self, &EarlyContext, &StructField)
Unstable (
rustc_private
)fn check_variant(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)
Unstable (
rustc_private
)fn check_variant_post(&mut self, &EarlyContext, &Spanned<Variant_>, &Generics)
Unstable (
rustc_private
)fn check_lifetime(&mut self, &EarlyContext, &Lifetime)
Unstable (
rustc_private
)fn check_lifetime_def(&mut self, &EarlyContext, &LifetimeDef)
Unstable (
rustc_private
)fn check_path(&mut self, &EarlyContext, &Path, NodeId)
Unstable (
rustc_private
)fn check_path_list_item(&mut self, &EarlyContext, &Spanned<PathListItem_>)
Unstable (
rustc_private
)fn check_attribute(&mut self, &EarlyContext, &Attribute)
Unstable (
rustc_private
)fn enter_lint_attrs(&mut self, &EarlyContext, &[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, &EarlyContext, &[Attribute])
Unstable (
rustc_private
)Counterpart to enter_lint_attrs
.