[−][src]Struct rustc_lint::builtin::ExplicitOutlivesRequirements

pub struct ExplicitOutlivesRequirements;

Implementations

impl ExplicitOutlivesRequirements[src]

pub fn get_lints() -> LintArray[src]

impl ExplicitOutlivesRequirements[src]

pub(in builtin) fn lifetimes_outliving_lifetime<'tcx>(
    inferred_outlives: &'tcx [(Predicate<'tcx>, Span)],
    index: u32
) -> Vec<Region<'tcx>>
[src]

pub(in builtin) fn lifetimes_outliving_type<'tcx>(
    inferred_outlives: &'tcx [(Predicate<'tcx>, Span)],
    index: u32
) -> Vec<Region<'tcx>>
[src]

pub(in builtin) 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>>
[src]

pub(in builtin) fn collect_outlives_bound_spans<'tcx>(
    &self,
    tcx: TyCtxt<'tcx>,
    bounds: &GenericBounds<'_>,
    inferred_outlives: &[Region<'tcx>],
    infer_static: bool
) -> Vec<(usize, Span)>
[src]

pub(in builtin) fn consolidate_outlives_bound_spans(
    &self,
    lo: Span,
    bounds: &GenericBounds<'_>,
    bound_spans: Vec<(usize, Span)>
) -> Vec<Span>
[src]

Trait Implementations

impl Clone for ExplicitOutlivesRequirements[src]

impl Copy for ExplicitOutlivesRequirements[src]

impl<'tcx> LateLintPass<'tcx> for ExplicitOutlivesRequirements[src]

impl LintPass for ExplicitOutlivesRequirements[src]

Auto Trait Implementations

impl RefUnwindSafe for ExplicitOutlivesRequirements

impl Send for ExplicitOutlivesRequirements

impl Sync for ExplicitOutlivesRequirements

impl Unpin for ExplicitOutlivesRequirements

impl UnwindSafe for ExplicitOutlivesRequirements

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.