pub(crate) struct NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm> {
pub cx: &'m MatchCheckCtxt<'p, 'tcx>,
pub expr_span: Span,
pub span: Span,
pub ty: Ty<'tcx>,
}
Fields§
§cx: &'m MatchCheckCtxt<'p, 'tcx>
§expr_span: Span
§span: Span
§ty: Ty<'tcx>
Trait Implementations§
source§impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for NonExhaustivePatternsTypeNotEmpty<'_, '_, '_>
impl<'a> IntoDiagnostic<'a, ErrorGuaranteed> for NonExhaustivePatternsTypeNotEmpty<'_, '_, '_>
source§fn into_diagnostic(
self,
handler: &'a Handler
) -> DiagnosticBuilder<'_, ErrorGuaranteed>
fn into_diagnostic( self, handler: &'a Handler ) -> DiagnosticBuilder<'_, ErrorGuaranteed>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations§
impl<'p, 'tcx, 'm> !RefUnwindSafe for NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm>
impl<'p, 'tcx, 'm> !Send for NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm>
impl<'p, 'tcx, 'm> !Sync for NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm>
impl<'p, 'tcx, 'm> Unpin for NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm>
impl<'p, 'tcx, 'm> !UnwindSafe for NonExhaustivePatternsTypeNotEmpty<'p, 'tcx, 'm>
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
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: 32 bytes