Struct rustc_lint::BuiltinCombinedEarlyLintPass
source · pub struct BuiltinCombinedEarlyLintPass {Show 15 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,
}
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
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 DynSend for BuiltinCombinedEarlyLintPass
impl DynSync for BuiltinCombinedEarlyLintPass
impl Freeze for BuiltinCombinedEarlyLintPass
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
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Filterable for T
impl<T> Filterable for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<P> IntoQueryParam<P> for P
impl<P> IntoQueryParam<P> for P
fn into_query_param(self) -> P
source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<'tcx, T> ToPredicate<'tcx, T> for T
impl<'tcx, T> ToPredicate<'tcx, T> for T
fn to_predicate(self, _tcx: TyCtxt<'tcx>) -> T
source§impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
default fn from_cycle_error( tcx: Tcx, cycle_error: &CycleError, _guar: ErrorGuaranteed ) -> T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
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