[−][src]Struct rustc_trait_selection::infer::error_reporting::nice_region_error::NiceRegionError

pub struct NiceRegionError<'cx, 'tcx> {
    pub(in infer::error_reporting::nice_region_error) infcx: &'cx InferCtxt<'cx, 'tcx>,
    pub(in infer::error_reporting::nice_region_error) error: Option<RegionResolutionError<'tcx>>,
    pub(in infer::error_reporting::nice_region_error) 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

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, 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.

impl<T> WithConstness for T[src]