Struct rustc_lint::BuiltinCombinedEarlyLintPass
source · pub struct BuiltinCombinedEarlyLintPass {Show 16 fields
pub(crate) UnusedParens: UnusedParens,
pub(crate) UnusedBraces: UnusedBraces,
pub(crate) UnusedImportBraces: UnusedImportBraces,
pub(crate) UnsafeCode: UnsafeCode,
pub(crate) SpecialModuleName: SpecialModuleName,
pub(crate) AnonymousParameters: AnonymousParameters,
pub(crate) EllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatterns,
pub(crate) NonCamelCaseTypes: NonCamelCaseTypes,
pub(crate) DeprecatedAttr: DeprecatedAttr,
pub(crate) WhileTrue: WhileTrue,
pub(crate) NonAsciiIdents: NonAsciiIdents,
pub(crate) HiddenUnicodeCodepoints: HiddenUnicodeCodepoints,
pub(crate) IncompleteInternalFeatures: IncompleteInternalFeatures,
pub(crate) RedundantSemicolons: RedundantSemicolons,
pub(crate) UnusedDocComment: UnusedDocComment,
pub(crate) UnexpectedCfgs: UnexpectedCfgs,
}
Fields§
§UnusedParens: UnusedParens
§UnusedBraces: UnusedBraces
§UnusedImportBraces: UnusedImportBraces
§UnsafeCode: UnsafeCode
§SpecialModuleName: SpecialModuleName
§AnonymousParameters: AnonymousParameters
§EllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatterns
§NonCamelCaseTypes: NonCamelCaseTypes
§DeprecatedAttr: DeprecatedAttr
§WhileTrue: WhileTrue
§NonAsciiIdents: NonAsciiIdents
§HiddenUnicodeCodepoints: HiddenUnicodeCodepoints
§IncompleteInternalFeatures: IncompleteInternalFeatures
§RedundantSemicolons: RedundantSemicolons
§UnusedDocComment: UnusedDocComment
§UnexpectedCfgs: UnexpectedCfgs
Implementations§
Trait Implementations§
source§impl EarlyLintPass for BuiltinCombinedEarlyLintPass
impl EarlyLintPass for BuiltinCombinedEarlyLintPass
fn check_param(&mut self, context: &EarlyContext<'_>, a: &Param)
fn check_ident(&mut self, context: &EarlyContext<'_>, a: Ident)
fn check_crate(&mut self, context: &EarlyContext<'_>, a: &Crate)
fn check_crate_post(&mut self, context: &EarlyContext<'_>, a: &Crate)
fn check_item(&mut self, context: &EarlyContext<'_>, a: &Item)
fn check_item_post(&mut self, context: &EarlyContext<'_>, a: &Item)
fn check_local(&mut self, context: &EarlyContext<'_>, a: &Local)
fn check_block(&mut self, context: &EarlyContext<'_>, a: &Block)
fn check_stmt(&mut self, context: &EarlyContext<'_>, a: &Stmt)
fn check_arm(&mut self, context: &EarlyContext<'_>, a: &Arm)
fn check_pat(&mut self, context: &EarlyContext<'_>, a: &Pat)
fn check_pat_post(&mut self, context: &EarlyContext<'_>, a: &Pat)
fn check_expr(&mut self, context: &EarlyContext<'_>, a: &Expr)
fn check_expr_post(&mut self, context: &EarlyContext<'_>, a: &Expr)
fn check_ty(&mut self, context: &EarlyContext<'_>, a: &Ty)
fn check_generic_arg(&mut self, context: &EarlyContext<'_>, a: &GenericArg)
fn check_generic_param(&mut self, context: &EarlyContext<'_>, a: &GenericParam)
fn check_generics(&mut self, context: &EarlyContext<'_>, a: &Generics)
fn check_poly_trait_ref(&mut self, context: &EarlyContext<'_>, a: &PolyTraitRef)
fn check_fn( &mut self, context: &EarlyContext<'_>, a: FnKind<'_>, c: Span, d_: NodeId )
fn check_trait_item(&mut self, context: &EarlyContext<'_>, a: &AssocItem)
fn check_impl_item(&mut self, context: &EarlyContext<'_>, a: &AssocItem)
fn check_variant(&mut self, context: &EarlyContext<'_>, a: &Variant)
fn check_attribute(&mut self, context: &EarlyContext<'_>, a: &Attribute)
fn check_mac_def(&mut self, context: &EarlyContext<'_>, a: &MacroDef)
fn check_mac(&mut self, context: &EarlyContext<'_>, a: &MacCall)
fn enter_lint_attrs(&mut self, context: &EarlyContext<'_>, a: &[Attribute])
fn exit_lint_attrs(&mut self, context: &EarlyContext<'_>, a: &[Attribute])
fn enter_where_predicate( &mut self, context: &EarlyContext<'_>, a: &WherePredicate )
fn exit_where_predicate( &mut self, context: &EarlyContext<'_>, a: &WherePredicate )
Auto Trait Implementations§
impl RefUnwindSafe for BuiltinCombinedEarlyLintPass
impl Send for BuiltinCombinedEarlyLintPass
impl Sync for BuiltinCombinedEarlyLintPass
impl Unpin for BuiltinCombinedEarlyLintPass
impl UnwindSafe for BuiltinCombinedEarlyLintPass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes