Enum rustc_resolve::late::diagnostics::MissingLifetimeSpot
source · [−]pub(crate) enum MissingLifetimeSpot<'tcx> {
Generics(&'tcx Generics<'tcx>),
HigherRanked {
span: Span,
span_type: ForLifetimeSpanType,
},
Static,
}Variants
Generics(&'tcx Generics<'tcx>)
HigherRanked
Static
Trait Implementations
sourceimpl<'tcx> Into<MissingLifetimeSpot<'tcx>> for &&'tcx Generics<'tcx>
impl<'tcx> Into<MissingLifetimeSpot<'tcx>> for &&'tcx Generics<'tcx>
sourcefn into(self) -> MissingLifetimeSpot<'tcx>
fn into(self) -> MissingLifetimeSpot<'tcx>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for MissingLifetimeSpot<'tcx>
impl<'tcx> !Send for MissingLifetimeSpot<'tcx>
impl<'tcx> !Sync for MissingLifetimeSpot<'tcx>
impl<'tcx> Unpin for MissingLifetimeSpot<'tcx>
impl<'tcx> UnwindSafe for MissingLifetimeSpot<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn 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: 16 bytes
Size for each variant:
Generics: 15 bytesHigherRanked: 11 bytesStatic: 0 bytes