pub(crate) struct CollectRegionConstraintsResult<'tcx> {Show 15 fields
pub(crate) infcx: BorrowckInferCtxt<'tcx>,
pub(crate) body_owned: Body<'tcx>,
pub(crate) promoted: IndexVec<Promoted, Body<'tcx>>,
pub(crate) move_data: MoveData<'tcx>,
pub(crate) borrow_set: BorrowSet<'tcx>,
pub(crate) location_table: PoloniusLocationTable,
pub(crate) location_map: Rc<DenseLocationMap>,
pub(crate) universal_region_relations: Frozen<UniversalRegionRelations<'tcx>>,
pub(crate) region_bound_pairs: Frozen<RegionBoundPairs<'tcx>>,
pub(crate) known_type_outlives_obligations: Frozen<Vec<PolyTypeOutlivesClause<'tcx>>>,
pub(crate) constraints: MirTypeckRegionConstraints<'tcx>,
pub(crate) deferred_closure_requirements: Vec<(LocalDefId, GenericArgs<'tcx>, Locations)>,
pub(crate) deferred_opaque_type_errors: Vec<DeferredOpaqueTypeError<'tcx>>,
pub(crate) polonius_facts: Option<AllFacts<RustcFacts>>,
pub(crate) polonius_context: Option<PoloniusContext<'tcx>>,
}Fields§
§infcx: BorrowckInferCtxt<'tcx>§body_owned: Body<'tcx>§promoted: IndexVec<Promoted, Body<'tcx>>§move_data: MoveData<'tcx>§borrow_set: BorrowSet<'tcx>§location_table: PoloniusLocationTable§location_map: Rc<DenseLocationMap>§universal_region_relations: Frozen<UniversalRegionRelations<'tcx>>§region_bound_pairs: Frozen<RegionBoundPairs<'tcx>>§known_type_outlives_obligations: Frozen<Vec<PolyTypeOutlivesClause<'tcx>>>§constraints: MirTypeckRegionConstraints<'tcx>§deferred_closure_requirements: Vec<(LocalDefId, GenericArgs<'tcx>, Locations)>§deferred_opaque_type_errors: Vec<DeferredOpaqueTypeError<'tcx>>§polonius_facts: Option<AllFacts<RustcFacts>>§polonius_context: Option<PoloniusContext<'tcx>>Auto Trait Implementations§
impl<'tcx> !DynSend for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !DynSync for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !Freeze for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !RefUnwindSafe for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !Send for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !Sync for CollectRegionConstraintsResult<'tcx>
impl<'tcx> !UnwindSafe for CollectRegionConstraintsResult<'tcx>
impl<'tcx> Forget for CollectRegionConstraintsResult<'tcx>
impl<'tcx> Move for CollectRegionConstraintsResult<'tcx>
impl<'tcx> Unpin for CollectRegionConstraintsResult<'tcx>where
&'tcx GlobalCtxt<'tcx>: Unpin,
&'tcx RawList<(), LocalDefId>: Unpin,
*const u8 is !null: Unpin,
LocalDefId: Unpin,
GenericArgs<'tcx>: Unpin,
&'tcx WithCachedTypeInfo<TyKind<TyCtxt<'tcx>>>: Unpin,
VarValue<TyVidEqKey<'tcx>>: Unpin,
(): Unpin,
VarValue<TyVidSubKey>: Unpin,
VarValue<ConstVidKey<'tcx>>: Unpin,
VarValue<IntVid>: Unpin,
VarValue<FloatVid>: Unpin,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Unpin,
Box<RegionConstraint<TyCtxt<'tcx>, Span>>: Unpin,
VarValue<RegionVidKey<'tcx>>: Unpin,
DefId: Unpin,
&'tcx RawList<TypeInfo, Clause<'tcx>>: Unpin,
*const () is !null: Unpin,
Interned<'tcx, WithCachedTypeInfo<ConstKind<TyCtxt<'tcx>>>>: Unpin,
*const Header is !null: Unpin,
Arc<ObligationCauseCode<'tcx>>: Unpin,
&'tcx WithCachedTypeInfo<Binder<TyCtxt<'tcx>, PredicateKind<TyCtxt<'tcx>>>>: Unpin,
TypeVariableValue<'tcx>: Unpin,
ConstVariableValue<'tcx>: Unpin,
IntVarValue: Unpin,
FloatVarValue: Unpin,
Symbol: Unpin,
Box<TypeTrace<'tcx>>: Unpin,
Box<SubregionOrigin<'tcx>>: Unpin,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Unpin,
Ty<'tcx>: Unpin,
*const (LeafRegionConstraint<TyCtxt<'tcx>>, Span) is !null: Unpin,
*const And<TyCtxt<'tcx>, Span> is !null: Unpin,
RegionVariableValue<'tcx>: Unpin,
Align1<u8>: Unpin,
Box<SignatureMismatchData<'tcx>>: Unpin,
ParamEnv<'tcx>: Unpin,
Box<(Place<'tcx>, Rvalue<'tcx>)>: Unpin,
Box<(FakeReadCause, Place<'tcx>)>: Unpin,
Box<Place<'tcx>>: Unpin,
Box<(Place<'tcx>, UserTypeProjection)>: Unpin,
Box<NonDivergingIntrinsic<'tcx>>: Unpin,
&'tcx RawList<(), ProjectionElem<Local, Ty<'tcx>>>: Unpin,
Box<ConstOperand<'tcx>>: Unpin,
*const Pu128 is !null: Unpin,
*const BasicBlock is !null: Unpin,
Box<[Spanned<Operand<'tcx>>]>: Unpin,
Box<AssertKind<Operand<'tcx>>>: Unpin,
&'tcx [InlineAsmTemplatePiece]: Unpin,
Box<[InlineAsmOperand<'tcx>]>: Unpin,
&'tcx [Span]: Unpin,
Box<[BasicBlock]>: Unpin,
Arc<CfgCache>: Unpin,
&'tcx RawList<(), GenericArg<'tcx>>: Unpin,
Box<CoroutineInfo<'tcx>>: Unpin,
Box<LocalInfo<'tcx>>: Unpin,
Box<UserTypeProjections>: Unpin,
Box<Canonical<TyCtxt<'tcx>, UserType<'tcx>>>: Unpin,
Box<VarDebugInfoFragment<'tcx>>: Unpin,
NonZero<u8>: Unpin,
NonZero<u64>: Unpin,
Box<CoverageEarlyInfo>: Unpin,
Box<CoverageMirInfo>: Unpin,
*const MoveOutIndex is !null: Unpin,
&'tcx [ProjectionElem<Local, Ty<'tcx>>]: Unpin,
*const InitIndex is !null: Unpin,
*const BorrowIndex is !null: Unpin,
Box<[u64]>: Unpin,
Rc<DenseLocationMap>: Unpin,
&'tcx [Ty<'tcx>]: Unpin,
*const (u32, u32) is !null: Unpin,
Rc<dyn TypeOpInfo<'tcx> + 'tcx>: Unpin,
PoloniusRegionVid: Unpin,
BorrowIndex: Unpin,
LocationIndex: Unpin,
Local: Unpin,
MovePathIndex: Unpin,
*const RegionVid is !null: Unpin,
impl<'tcx> UnsafeUnpin for CollectRegionConstraintsResult<'tcx>where
&'tcx GlobalCtxt<'tcx>: UnsafeUnpin,
&'tcx RawList<(), LocalDefId>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<UndoLog<'tcx>>: UnsafeUnpin,
PhantomData<(ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>)>: UnsafeUnpin,
PhantomData<TypeVariableData>: UnsafeUnpin,
PhantomData<fn(&TyVid)>: UnsafeUnpin,
PhantomData<VarValue<TyVidEqKey<'tcx>>>: UnsafeUnpin,
PhantomData<Delegate<TyVidEqKey<'tcx>>>: UnsafeUnpin,
PhantomData<VarValue<TyVidSubKey>>: UnsafeUnpin,
PhantomData<Delegate<TyVidSubKey>>: UnsafeUnpin,
PhantomData<VarValue<ConstVidKey<'tcx>>>: UnsafeUnpin,
PhantomData<Delegate<ConstVidKey<'tcx>>>: UnsafeUnpin,
PhantomData<VarValue<IntVid>>: UnsafeUnpin,
PhantomData<Delegate<IntVid>>: UnsafeUnpin,
PhantomData<VarValue<FloatVid>>: UnsafeUnpin,
PhantomData<Delegate<FloatVid>>: UnsafeUnpin,
PhantomData<FloatVariableOrigin>: UnsafeUnpin,
PhantomData<fn(&FloatVid)>: UnsafeUnpin,
PhantomData<RegionVariableInfo<'tcx>>: UnsafeUnpin,
PhantomData<fn(&RegionVid)>: UnsafeUnpin,
PhantomData<(Constraint<'tcx>, SubregionOrigin<'tcx>)>: UnsafeUnpin,
PhantomData<Verify<'tcx>>: UnsafeUnpin,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: UnsafeUnpin,
DefId: UnsafeUnpin,
GenericArgs<'tcx>: UnsafeUnpin,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: UnsafeUnpin,
Ty<'tcx>: UnsafeUnpin,
*const (LeafRegionConstraint<TyCtxt<'tcx>>, Span) is !null: UnsafeUnpin,
*const And<TyCtxt<'tcx>, Span> is !null: UnsafeUnpin,
PhantomData<(TwoRegions<'tcx>, RegionVid)>: UnsafeUnpin,
PhantomData<VarValue<RegionVidKey<'tcx>>>: UnsafeUnpin,
PhantomData<Delegate<RegionVidKey<'tcx>>>: UnsafeUnpin,
PhantomData<TypeOutlivesConstraint<'tcx>>: UnsafeUnpin,
PhantomData<OutlivesClause<TyCtxt<'tcx>, GenericArg<'tcx>>>: UnsafeUnpin,
PhantomData<Obligation<'tcx, Predicate<'tcx>>>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<OpaqueTypeKey<TyCtxt<'tcx>>, ProvisionalHiddenType<'tcx>>>: UnsafeUnpin,
PhantomData<(OpaqueTypeKey<TyCtxt<'tcx>>, ProvisionalHiddenType<'tcx>)>: UnsafeUnpin,
PhantomData<VarValue<'tcx>>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
PhantomData<((ParamEnv<'tcx>, TraitClause<TyCtxt<'tcx>>), WithDepNode<Result<Option<SelectionCandidate<'tcx>>, SelectionError<'tcx>>>)>: UnsafeUnpin,
PhantomData<((ParamEnv<'tcx>, Binder<TyCtxt<'tcx>, TraitClause<TyCtxt<'tcx>>>), WithDepNode<EvaluationResult>)>: UnsafeUnpin,
PhantomData<Bucket<Span, (Vec<Goal<TyCtxt<'tcx>, Predicate<'tcx>>>, ErrorGuaranteed)>>: UnsafeUnpin,
PhantomData<Bucket<HirId, HashSet<Predicate<'tcx>, FxBuildHasher>>>: UnsafeUnpin,
PhantomData<((Span, Option<Span>), ())>: UnsafeUnpin,
PhantomData<Bucket<UniverseIndex, Assumptions<TyCtxt<'tcx>>>>: UnsafeUnpin,
&'tcx RawList<TypeInfo, Clause<'tcx>>: UnsafeUnpin,
PhantomData<Bucket<RegionVid, RegionCtxt>>: UnsafeUnpin,
PhantomData<BasicBlockData<'tcx>>: UnsafeUnpin,
PhantomData<fn(&BasicBlock)>: UnsafeUnpin,
*const ArcInner<CfgCache> is !null: UnsafeUnpin,
PhantomData<ArcInner<CfgCache>>: UnsafeUnpin,
&'tcx WithCachedTypeInfo<TyKind<TyCtxt<'tcx>>>: UnsafeUnpin,
PhantomData<SourceScopeData<'tcx>>: UnsafeUnpin,
PhantomData<fn(&SourceScope)>: UnsafeUnpin,
*const CoroutineInfo<'tcx> is !null: UnsafeUnpin,
PhantomData<CoroutineInfo<'tcx>>: UnsafeUnpin,
PhantomData<LocalDecl<'tcx>>: UnsafeUnpin,
PhantomData<fn(&Local)>: UnsafeUnpin,
PhantomData<CanonicalUserTypeAnnotation<'tcx>>: UnsafeUnpin,
PhantomData<fn(&UserTypeAnnotationIndex)>: UnsafeUnpin,
PhantomData<VarDebugInfo<'tcx>>: UnsafeUnpin,
PhantomData<ConstOperand<'tcx>>: UnsafeUnpin,
PhantomData<Spanned<MentionedItem<'tcx>>>: UnsafeUnpin,
*const CoverageEarlyInfo is !null: UnsafeUnpin,
PhantomData<CoverageEarlyInfo>: UnsafeUnpin,
*const CoverageMirInfo is !null: UnsafeUnpin,
PhantomData<CoverageMirInfo>: UnsafeUnpin,
PhantomData<Body<'tcx>>: UnsafeUnpin,
PhantomData<fn(&Promoted)>: UnsafeUnpin,
PhantomData<MovePath<'tcx>>: UnsafeUnpin,
PhantomData<fn(&MovePathIndex)>: UnsafeUnpin,
PhantomData<MoveOut>: UnsafeUnpin,
PhantomData<fn(&MoveOutIndex)>: UnsafeUnpin,
PhantomData<SmallVec<[MoveOutIndex; 4]>>: UnsafeUnpin,
PhantomData<Option<MovePathIndex>>: UnsafeUnpin,
PhantomData<((MovePathIndex, MoveSubPath), MovePathIndex)>: UnsafeUnpin,
PhantomData<(Local, Vec<PlaceRef<'tcx>>)>: UnsafeUnpin,
PhantomData<Init>: UnsafeUnpin,
PhantomData<fn(&InitIndex)>: UnsafeUnpin,
PhantomData<SmallVec<[InitIndex; 1]>>: UnsafeUnpin,
PhantomData<SmallVec<[InitIndex; 4]>>: UnsafeUnpin,
PhantomData<BorrowData<'tcx>>: UnsafeUnpin,
PhantomData<fn(&BorrowIndex)>: UnsafeUnpin,
PhantomData<(Location, SmallVec<[BorrowIndex; 1]>)>: UnsafeUnpin,
PhantomData<Bucket<Local, IndexSet<BorrowIndex, FxBuildHasher>>>: UnsafeUnpin,
*const [u64] is !null: UnsafeUnpin,
PhantomData<[u64]>: UnsafeUnpin,
PhantomData<Local>: UnsafeUnpin,
*const RcInner<DenseLocationMap> is !null: UnsafeUnpin,
PhantomData<RcInner<DenseLocationMap>>: UnsafeUnpin,
PhantomData<Bucket<Region<TyCtxt<'tcx>>, RegionVid>>: UnsafeUnpin,
&'tcx RawList<(), GenericArg<'tcx>>: UnsafeUnpin,
&'tcx [Ty<'tcx>]: UnsafeUnpin,
PhantomData<Bucket<RegionVid, ()>>: UnsafeUnpin,
PhantomData<(Edge, ())>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<(usize, usize)>: UnsafeUnpin,
PhantomData<Bucket<OutlivesClause<TyCtxt<'tcx>, GenericKind<'tcx>>, ()>>: UnsafeUnpin,
PhantomData<Binder<TyCtxt<'tcx>, OutlivesClause<TyCtxt<'tcx>, Ty<'tcx>>>>: UnsafeUnpin,
PhantomData<Bucket<Placeholder<TyCtxt<'tcx>, BoundRegion<TyCtxt<'tcx>>>, ()>>: UnsafeUnpin,
PhantomData<Region<TyCtxt<'tcx>>>: UnsafeUnpin,
PhantomData<fn(&PlaceholderIndex)>: UnsafeUnpin,
PhantomData<IntervalSet<PointIndex>>: UnsafeUnpin,
PhantomData<(RegionVid, ())>: UnsafeUnpin,
PhantomData<OutlivesConstraint<'tcx>>: UnsafeUnpin,
PhantomData<fn(&OutlivesConstraintIndex)>: UnsafeUnpin,
PhantomData<Bucket<UniverseIndex, UniverseInfo<'tcx>>>: UnsafeUnpin,
PhantomData<TypeTest<'tcx>>: UnsafeUnpin,
PhantomData<(LocalDefId, GenericArgs<'tcx>, Locations)>: UnsafeUnpin,
PhantomData<DeferredOpaqueTypeError<'tcx>>: UnsafeUnpin,
PhantomData<(PoloniusRegionVid, BorrowIndex, LocationIndex)>: UnsafeUnpin,
PhantomData<PoloniusRegionVid>: UnsafeUnpin,
PhantomData<(LocationIndex, LocationIndex)>: UnsafeUnpin,
PhantomData<(BorrowIndex, LocationIndex)>: UnsafeUnpin,
PhantomData<(PoloniusRegionVid, PoloniusRegionVid, LocationIndex)>: UnsafeUnpin,
PhantomData<(LocationIndex, BorrowIndex)>: UnsafeUnpin,
PhantomData<(Local, LocationIndex)>: UnsafeUnpin,
PhantomData<(Local, PoloniusRegionVid)>: UnsafeUnpin,
PhantomData<(MovePathIndex, MovePathIndex)>: UnsafeUnpin,
PhantomData<(MovePathIndex, Local)>: UnsafeUnpin,
PhantomData<(MovePathIndex, LocationIndex)>: UnsafeUnpin,
PhantomData<(PoloniusRegionVid, PoloniusRegionVid)>: UnsafeUnpin,
PhantomData<(PoloniusRegionVid, BorrowIndex)>: UnsafeUnpin,
PhantomData<(LocalizedNode, SmallVec<[RegionVid; 4]>)>: UnsafeUnpin,
PhantomData<SmallVec<[RegionVid; 4]>>: UnsafeUnpin,
PhantomData<Option<ConstraintDirection>>: UnsafeUnpin,
PhantomData<(Local, ())>: UnsafeUnpin,
PhantomData<Option<Local>>: UnsafeUnpin,
PhantomData<Option<Vec<GenericArg<'tcx>>>>: UnsafeUnpin,
PhantomData<Option<AppearanceIndex>>: UnsafeUnpin,
PhantomData<Appearance>: UnsafeUnpin,
PhantomData<fn(&AppearanceIndex)>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<K> IntoQueryKey<K> for K
impl<K> IntoQueryKey<K> for K
Source§fn into_query_key(self) -> K
fn into_query_key(self) -> K
Argument conversion from
Self to K.
This should always be a very cheap conversion, e.g. LocalDefId::to_def_id.Source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
Source§impl<I, T> UpcastFrom<I, T> for T
impl<I, T> UpcastFrom<I, T> for T
fn upcast_from(from: T, _tcx: I) -> T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
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: 3456 bytes