Struct rustc_middle::mir::terminator::BorrowCheckResult [−][src]
pub struct BorrowCheckResult<'tcx> {
pub concrete_opaque_types: FxHashMap<DefId, ResolvedOpaqueTy<'tcx>>,
pub closure_requirements: Option<ClosureRegionRequirements<'tcx>>,
pub used_mut_upvars: SmallVec<[Field; 8]>,
}Fields
concrete_opaque_types: FxHashMap<DefId, ResolvedOpaqueTy<'tcx>>Expand description
All the opaque types that are restricted to concrete types
by this function. Unlike the value in TypeckResults, this has
unerased regions.
closure_requirements: Option<ClosureRegionRequirements<'tcx>>used_mut_upvars: SmallVec<[Field; 8]>Trait Implementations
impl<'tcx> ArenaAllocatable<'tcx, BorrowCheckResult<'tcx>> for BorrowCheckResult<'tcx>[src]
impl<'tcx> ArenaAllocatable<'tcx, BorrowCheckResult<'tcx>> for BorrowCheckResult<'tcx>[src]fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self[src]
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ[src]
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘ
impl<'tcx> Debug for BorrowCheckResult<'tcx>[src]
impl<'tcx> Debug for BorrowCheckResult<'tcx>[src]impl<'tcx, D: TyDecoder<'tcx>> Decodable<D> for &'tcx BorrowCheckResult<'tcx>[src]
impl<'tcx, D: TyDecoder<'tcx>> Decodable<D> for &'tcx BorrowCheckResult<'tcx>[src]impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for BorrowCheckResult<'tcx>[src]
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for BorrowCheckResult<'tcx>[src]impl<'tcx, E: TyEncoder<'tcx>> Encodable<E> for &'tcx BorrowCheckResult<'tcx>[src]
impl<'tcx, E: TyEncoder<'tcx>> Encodable<E> for &'tcx BorrowCheckResult<'tcx>[src]impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for BorrowCheckResult<'tcx>[src]
impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for BorrowCheckResult<'tcx>[src]impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowCheckResult<'tcx>[src]
impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowCheckResult<'tcx>[src]fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
impl<'tcx, D: TyDecoder<'tcx>> RefDecodable<'tcx, D> for BorrowCheckResult<'tcx>[src]
impl<'tcx, D: TyDecoder<'tcx>> RefDecodable<'tcx, D> for BorrowCheckResult<'tcx>[src]Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for BorrowCheckResult<'tcx>
impl<'tcx> !Send for BorrowCheckResult<'tcx>
impl<'tcx> !Sync for BorrowCheckResult<'tcx>
impl<'tcx> Unpin for BorrowCheckResult<'tcx>
impl<'tcx> !UnwindSafe for BorrowCheckResult<'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> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,