Struct rustc_lint::builtin::ExplicitOutlivesRequirements [−][src]
pub struct ExplicitOutlivesRequirements;
Implementations
fn lifetimes_outliving_lifetime<'tcx>(
inferred_outlives: &'tcx [(Predicate<'tcx>, Span)],
index: u32
) -> Vec<Region<'tcx>>
fn lifetimes_outliving_type<'tcx>(
inferred_outlives: &'tcx [(Predicate<'tcx>, Span)],
index: u32
) -> Vec<Region<'tcx>>
fn collect_outlived_lifetimes<'tcx>(
&self,
param: &'tcx GenericParam<'tcx>,
tcx: TyCtxt<'tcx>,
inferred_outlives: &'tcx [(Predicate<'tcx>, Span)],
ty_generics: &'tcx Generics
) -> Vec<Region<'tcx>>
Trait Implementations
fn check_poly_trait_ref(
&mut self,
_: &LateContext<'tcx>,
_: &'tcx PolyTraitRef<'tcx>,
_: TraitBoundModifier
)
fn check_fn(
&mut self,
_: &LateContext<'tcx>,
_: FnKind<'tcx>,
_: &'tcx FnDecl<'tcx>,
_: &'tcx Body<'tcx>,
_: Span,
_: HirId
)
fn check_fn_post(
&mut self,
_: &LateContext<'tcx>,
_: FnKind<'tcx>,
_: &'tcx FnDecl<'tcx>,
_: &'tcx Body<'tcx>,
_: Span,
_: HirId
)
Auto Trait Implementations
impl Send for ExplicitOutlivesRequirements
impl Sync for ExplicitOutlivesRequirements
impl Unpin for ExplicitOutlivesRequirements
impl UnwindSafe for ExplicitOutlivesRequirements
Blanket Implementations
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: 0 bytes