Struct rustc_trait_selection::infer::free_regions::RegionRelations [−][src]
pub struct RegionRelations<'a, 'tcx> {
pub tcx: TyCtxt<'tcx>,
pub context: DefId,
pub free_regions: &'a FreeRegionMap<'tcx>,
}Expand description
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: DefIdExpand description
The context used for debug messages
free_regions: &'a FreeRegionMap<'tcx>Expand description
Free-region relationships.
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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]