Struct rustc_lint::early::RuntimeCombinedEarlyLintPass
source · struct RuntimeCombinedEarlyLintPass<'a> {
passes: &'a mut [Box<dyn EarlyLintPass + 'static>],
}
Fields§
§passes: &'a mut [Box<dyn EarlyLintPass + 'static>]
Trait Implementations§
source§impl EarlyLintPass for RuntimeCombinedEarlyLintPass<'_>
impl EarlyLintPass for RuntimeCombinedEarlyLintPass<'_>
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_attributes(&mut self, context: &EarlyContext<'_>, a: &[Attribute])
fn check_attributes_post(&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_where_predicate( &mut self, context: &EarlyContext<'_>, a: &WherePredicate, )
fn exit_where_predicate( &mut self, context: &EarlyContext<'_>, a: &WherePredicate, )
Auto Trait Implementations§
impl<'a> Freeze for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !RefUnwindSafe for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !Send for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !Sync for RuntimeCombinedEarlyLintPass<'a>
impl<'a> Unpin for RuntimeCombinedEarlyLintPass<'a>
impl<'a> !UnwindSafe for RuntimeCombinedEarlyLintPass<'a>
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
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
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<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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
source§impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
source§impl<I, T> UpcastFrom<I, T> for T
impl<I, T> UpcastFrom<I, T> for T
fn upcast_from(from: T, _tcx: I) -> 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: 16 bytes