[−][src]Struct rustc_trait_selection::infer::free_regions::RegionRelations
Combines a FreeRegionMap and a TyCtxt.
This stuff is a bit convoluted and should be refactored, but as we transition to NLL, it'll all go away anyhow.
Fields
tcx: TyCtxt<'tcx>context: DefIdThe context used for debug messages
free_regions: &'a FreeRegionMap<'tcx>Free-region relationships.
Implementations
impl<'a, 'tcx> RegionRelations<'a, 'tcx>[src]
pub fn new(
tcx: TyCtxt<'tcx>,
context: DefId,
free_regions: &'a FreeRegionMap<'tcx>
) -> RegionRelations<'a, 'tcx>[src]
tcx: TyCtxt<'tcx>,
context: DefId,
free_regions: &'a FreeRegionMap<'tcx>
) -> RegionRelations<'a, 'tcx>
pub fn lub_free_regions(
&self,
r_a: &'tcx RegionKind,
r_b: &'tcx RegionKind
) -> &'tcx RegionKind[src]
&self,
r_a: &'tcx RegionKind,
r_b: &'tcx RegionKind
) -> &'tcx RegionKind
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for RegionRelations<'a, 'tcx>
impl<'a, 'tcx> !Send for RegionRelations<'a, 'tcx>
impl<'a, 'tcx> !Sync for RegionRelations<'a, 'tcx>
impl<'a, 'tcx> Unpin for RegionRelations<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for RegionRelations<'a, 'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.