Enum rustc_resolve::late::diagnostics::MissingLifetimeSpot [−][src]
pub(crate) enum MissingLifetimeSpot<'tcx> {
Generics(&'tcx Generics<'tcx>),
HigherRanked {
span: Span,
span_type: ForLifetimeSpanType,
},
Static,
}
Variants
Generics(&'tcx Generics<'tcx>)
Tuple Fields of Generics
0: &'tcx Generics<'tcx>
Fields of HigherRanked
span: Span
span_type: ForLifetimeSpanType
Trait Implementations
Performs the conversion.
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
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