Struct rustc_trait_selection::infer::error_reporting::nice_region_error::NiceRegionError
source · [−]pub struct NiceRegionError<'cx, 'tcx> {
infcx: &'cx InferCtxt<'cx, 'tcx>,
error: Option<RegionResolutionError<'tcx>>,
regions: Option<(Span, &'tcx RegionKind, &'tcx RegionKind)>,
}Fields
infcx: &'cx InferCtxt<'cx, 'tcx>error: Option<RegionResolutionError<'tcx>>regions: Option<(Span, &'tcx RegionKind, &'tcx RegionKind)>Auto Trait Implementations
impl<'cx, 'tcx> !RefUnwindSafe for NiceRegionError<'cx, 'tcx>
impl<'cx, 'tcx> !Send for NiceRegionError<'cx, 'tcx>
impl<'cx, 'tcx> !Sync for NiceRegionError<'cx, 'tcx>
impl<'cx, 'tcx> Unpin for NiceRegionError<'cx, 'tcx> where
'tcx: 'cx,
impl<'cx, 'tcx> !UnwindSafe for NiceRegionError<'cx, 'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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: 184 bytes