Trait rustc_middle::ty::context::Lift [−][src]
pub trait Lift<'tcx>: Debug { type Lifted: Debug + 'tcx; fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>; }
Expand description
A trait implemented for all X<'a> types that can be safely and
efficiently converted to X<'tcx> as long as they are part of the
provided TyCtxt<'tcx>.
This can be done, for example, for Ty<'tcx> or SubstsRef<'tcx>
by looking them up in their respective interners.
However, this is still not the best implementation as it does
need to compare the components, even for interned values.
It would be more efficient if TypedArena provided a way to
determine whether the address is in the allocated range.
None is returned if the value or one of the components is not part
of the provided context.
For Ty, None can be returned if either the type interner doesn’t
contain the TyKind key or if the address of the interned
pointer differs. The latter case is possible if a primitive type,
e.g., () or u8, was interned in a different context.
Associated Types
Loading content...Required methods
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
Implementations on Foreign Types
impl<'tcx> Lift<'tcx> for Constness[src]
impl<'tcx> Lift<'tcx> for Constness[src]impl<'tcx> Lift<'tcx> for ()[src]
impl<'tcx> Lift<'tcx> for ()[src]impl<'tcx> Lift<'tcx> for bool[src]
impl<'tcx> Lift<'tcx> for bool[src]impl<'tcx> Lift<'tcx> for usize[src]
impl<'tcx> Lift<'tcx> for usize[src]impl<'tcx> Lift<'tcx> for VariantIdx[src]
impl<'tcx> Lift<'tcx> for VariantIdx[src]impl<'tcx> Lift<'tcx> for u32[src]
impl<'tcx> Lift<'tcx> for u32[src]impl<'tcx> Lift<'tcx> for u64[src]
impl<'tcx> Lift<'tcx> for u64[src]impl<'tcx> Lift<'tcx> for String[src]
impl<'tcx> Lift<'tcx> for String[src]impl<'tcx> Lift<'tcx> for InlineAsmOptions[src]
impl<'tcx> Lift<'tcx> for InlineAsmOptions[src]impl<'tcx> Lift<'tcx> for InlineAsmTemplatePiece[src]
impl<'tcx> Lift<'tcx> for InlineAsmTemplatePiece[src]impl<'tcx> Lift<'tcx> for NodeId[src]
impl<'tcx> Lift<'tcx> for NodeId[src]impl<'tcx> Lift<'tcx> for Symbol[src]
impl<'tcx> Lift<'tcx> for Symbol[src]impl<'tcx> Lift<'tcx> for Res[src]
impl<'tcx> Lift<'tcx> for Res[src]impl<'tcx> Lift<'tcx> for DefId[src]
impl<'tcx> Lift<'tcx> for DefId[src]impl<'tcx> Lift<'tcx> for LocalDefId[src]
impl<'tcx> Lift<'tcx> for LocalDefId[src]impl<'tcx> Lift<'tcx> for HirId[src]
impl<'tcx> Lift<'tcx> for HirId[src]impl<'tcx> Lift<'tcx> for LlvmInlineAsmInner[src]
impl<'tcx> Lift<'tcx> for LlvmInlineAsmInner[src]impl<'tcx> Lift<'tcx> for MatchSource[src]
impl<'tcx> Lift<'tcx> for MatchSource[src]impl<'tcx> Lift<'tcx> for Unsafety[src]
impl<'tcx> Lift<'tcx> for Unsafety[src]impl<'tcx> Lift<'tcx> for InlineAsmRegOrRegClass[src]
impl<'tcx> Lift<'tcx> for InlineAsmRegOrRegClass[src]impl<'tcx> Lift<'tcx> for Abi[src]
impl<'tcx> Lift<'tcx> for Abi[src]impl<'tcx> Lift<'tcx> for Span[src]
impl<'tcx> Lift<'tcx> for Span[src]impl<'tcx, A: Lift<'tcx>, B: Lift<'tcx>> Lift<'tcx> for (A, B)[src]
impl<'tcx, A: Lift<'tcx>, B: Lift<'tcx>> Lift<'tcx> for (A, B)[src]impl<'tcx, A: Lift<'tcx>, B: Lift<'tcx>, C: Lift<'tcx>> Lift<'tcx> for (A, B, C)[src]
impl<'tcx, A: Lift<'tcx>, B: Lift<'tcx>, C: Lift<'tcx>> Lift<'tcx> for (A, B, C)[src]impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Option<T>[src]
impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Option<T>[src]impl<'tcx, T: Lift<'tcx>, E: Lift<'tcx>> Lift<'tcx> for Result<T, E>[src]
impl<'tcx, T: Lift<'tcx>, E: Lift<'tcx>> Lift<'tcx> for Result<T, E>[src]impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Box<T>[src]
impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Box<T>[src]impl<'tcx, T: Lift<'tcx> + Clone> Lift<'tcx> for Rc<T>[src]
impl<'tcx, T: Lift<'tcx> + Clone> Lift<'tcx> for Rc<T>[src]impl<'tcx, T: Lift<'tcx> + Clone> Lift<'tcx> for Arc<T>[src]
impl<'tcx, T: Lift<'tcx> + Clone> Lift<'tcx> for Arc<T>[src]impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Vec<T>[src]
impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for Vec<T>[src]impl<'tcx, I: Idx, T: Lift<'tcx>> Lift<'tcx> for IndexVec<I, T>[src]
impl<'tcx, I: Idx, T: Lift<'tcx>> Lift<'tcx> for IndexVec<I, T>[src]Implementors
impl<'__lifted, N> Lift<'__lifted> for ImplSourceAutoImplData<N> where
N: Lift<'__lifted>, [src]
impl<'__lifted, N> Lift<'__lifted> for ImplSourceAutoImplData<N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceAutoImplData<N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceAutoImplData<N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceAutoImplData<N::Lifted>>
impl<'__lifted, N> Lift<'__lifted> for ImplSourceBuiltinData<N> where
N: Lift<'__lifted>, [src]
impl<'__lifted, N> Lift<'__lifted> for ImplSourceBuiltinData<N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceBuiltinData<N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceBuiltinData<N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceBuiltinData<N::Lifted>>
impl<'__lifted, T> Lift<'__lifted> for WithOptConstParam<T> where
T: Lift<'__lifted>, [src]
impl<'__lifted, T> Lift<'__lifted> for WithOptConstParam<T> where
T: Lift<'__lifted>, [src]type Lifted = WithOptConstParam<T::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<WithOptConstParam<T::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<WithOptConstParam<T::Lifted>>
impl<'a, 'tcx> Lift<'tcx> for &'a Allocation[src]
impl<'a, 'tcx> Lift<'tcx> for &'a Allocation[src]impl<'a, 'tcx> Lift<'tcx> for &'a List<BoundVariableKind>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<BoundVariableKind>[src]type Lifted = &'tcx List<BoundVariableKind>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<CanonicalVarInfo<'a>>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<CanonicalVarInfo<'a>>[src]type Lifted = &'tcx List<CanonicalVarInfo<'tcx>>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<Binder<'a, ExistentialPredicate<'a>>>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<Binder<'a, ExistentialPredicate<'a>>>[src]type Lifted = &'tcx List<Binder<'tcx, ExistentialPredicate<'tcx>>>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<GenericArg<'a>>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<GenericArg<'a>>[src]type Lifted = &'tcx List<GenericArg<'tcx>>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<ProjectionKind>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a List<ProjectionKind>[src]type Lifted = &'tcx List<ProjectionKind>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a PredicateInner<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for &'a PredicateInner<'a>[src]type Lifted = &'tcx PredicateInner<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for ConstValue<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ConstValue<'a>[src]type Lifted = ConstValue<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<ConstValue<'tcx>>[src]
impl<'a, 'tcx> Lift<'tcx> for AutoBorrow<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for AutoBorrow<'a>[src]impl<'a, 'tcx> Lift<'tcx> for PredicateKind<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for PredicateKind<'a>[src]type Lifted = PredicateKind<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for InstanceDef<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for InstanceDef<'a>[src]impl<'a, 'tcx> Lift<'tcx> for ExistentialPredicate<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ExistentialPredicate<'a>[src]type Lifted = ExistentialPredicate<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for Adjustment<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for Adjustment<'a>[src]impl<'a, 'tcx> Lift<'tcx> for OverloadedDeref<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for OverloadedDeref<'a>[src]type Lifted = OverloadedDeref<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for ProjectionPredicate<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ProjectionPredicate<'a>[src]type Lifted = ProjectionPredicate<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<ProjectionPredicate<'tcx>>[src]
impl<'a, 'tcx> Lift<'tcx> for SubtypePredicate<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for SubtypePredicate<'a>[src]type Lifted = SubtypePredicate<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<SubtypePredicate<'tcx>>[src]
impl<'a, 'tcx> Lift<'tcx> for TraitPredicate<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for TraitPredicate<'a>[src]type Lifted = TraitPredicate<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<TraitPredicate<'tcx>>[src]
impl<'a, 'tcx> Lift<'tcx> for ClosureSubsts<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ClosureSubsts<'a>[src]type Lifted = ClosureSubsts<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for ExistentialProjection<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ExistentialProjection<'a>[src]type Lifted = ExistentialProjection<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for ExistentialTraitRef<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ExistentialTraitRef<'a>[src]type Lifted = ExistentialTraitRef<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for GeneratorSubsts<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for GeneratorSubsts<'a>[src]type Lifted = GeneratorSubsts<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx> Lift<'tcx> for ProjectionTy<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for ProjectionTy<'a>[src]type Lifted = ProjectionTy<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<ProjectionTy<'tcx>>[src]
impl<'a, 'tcx> Lift<'tcx> for GenericArg<'a>[src]
impl<'a, 'tcx> Lift<'tcx> for GenericArg<'a>[src]impl<'a, 'tcx, T: Lift<'tcx>> Lift<'tcx> for ParamEnvAnd<'a, T>[src]
impl<'a, 'tcx, T: Lift<'tcx>> Lift<'tcx> for ParamEnvAnd<'a, T>[src]type Lifted = ParamEnvAnd<'tcx, T::Lifted>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'a, 'tcx, T: Lift<'tcx>> Lift<'tcx> for Binder<'a, T> where
<T as Lift<'tcx>>::Lifted: TypeFoldable<'tcx>, [src]
impl<'a, 'tcx, T: Lift<'tcx>> Lift<'tcx> for Binder<'a, T> where
<T as Lift<'tcx>>::Lifted: TypeFoldable<'tcx>, [src]impl<'tcx> Lift<'tcx> for CanonicalVarKind<'tcx>[src]
impl<'tcx> Lift<'tcx> for CanonicalVarKind<'tcx>[src]impl<'tcx> Lift<'tcx> for NotConstEvaluatable[src]
impl<'tcx> Lift<'tcx> for NotConstEvaluatable[src]impl<'tcx> Lift<'tcx> for BindingForm<'tcx>[src]
impl<'tcx> Lift<'tcx> for BindingForm<'tcx>[src]impl<'tcx> Lift<'tcx> for FakeReadCause[src]
impl<'tcx> Lift<'tcx> for FakeReadCause[src]impl<'tcx> Lift<'tcx> for Mutability[src]
impl<'tcx> Lift<'tcx> for Mutability[src]impl<'tcx> Lift<'tcx> for ErrorHandled[src]
impl<'tcx> Lift<'tcx> for ErrorHandled[src]impl<'tcx> Lift<'tcx> for StatementAsExpression[src]
impl<'tcx> Lift<'tcx> for StatementAsExpression[src]type Lifted = StatementAsExpression
fn lift_to_tcx(self, _tcx: TyCtxt<'tcx>) -> Option<StatementAsExpression>[src]
impl<'tcx> Lift<'tcx> for AutoBorrowMutability[src]
impl<'tcx> Lift<'tcx> for AutoBorrowMutability[src]impl<'tcx> Lift<'tcx> for PointerCast[src]
impl<'tcx> Lift<'tcx> for PointerCast[src]impl<'tcx> Lift<'tcx> for BindingMode[src]
impl<'tcx> Lift<'tcx> for BindingMode[src]impl<'tcx> Lift<'tcx> for ClosureKind[src]
impl<'tcx> Lift<'tcx> for ClosureKind[src]impl<'tcx> Lift<'tcx> for IntVarValue[src]
impl<'tcx> Lift<'tcx> for IntVarValue[src]impl<'tcx> Lift<'tcx> for BoundRegionKind[src]
impl<'tcx> Lift<'tcx> for BoundRegionKind[src]impl<'tcx> Lift<'tcx> for CanonicalVarInfo<'tcx>[src]
impl<'tcx> Lift<'tcx> for CanonicalVarInfo<'tcx>[src]impl<'tcx> Lift<'tcx> for CounterValueReference[src]
impl<'tcx> Lift<'tcx> for CounterValueReference[src]impl<'tcx> Lift<'tcx> for ExpressionOperandId[src]
impl<'tcx> Lift<'tcx> for ExpressionOperandId[src]impl<'tcx> Lift<'tcx> for InjectedExpressionId[src]
impl<'tcx> Lift<'tcx> for InjectedExpressionId[src]impl<'tcx> Lift<'tcx> for InjectedExpressionIndex[src]
impl<'tcx> Lift<'tcx> for InjectedExpressionIndex[src]impl<'tcx> Lift<'tcx> for MappedExpressionIndex[src]
impl<'tcx> Lift<'tcx> for MappedExpressionIndex[src]impl<'tcx> Lift<'tcx> for GraphIsCyclicCache[src]
impl<'tcx> Lift<'tcx> for GraphIsCyclicCache[src]impl<'tcx> Lift<'tcx> for PredecessorCache[src]
impl<'tcx> Lift<'tcx> for PredecessorCache[src]impl<'tcx> Lift<'tcx> for BlockTailInfo[src]
impl<'tcx> Lift<'tcx> for BlockTailInfo[src]impl<'tcx> Lift<'tcx> for SourceInfo[src]
impl<'tcx> Lift<'tcx> for SourceInfo[src]impl<'tcx> Lift<'tcx> for SourceScope[src]
impl<'tcx> Lift<'tcx> for SourceScope[src]impl<'tcx> Lift<'tcx> for SourceScopeLocalData[src]
impl<'tcx> Lift<'tcx> for SourceScopeLocalData[src]impl<'tcx> Lift<'tcx> for IfExpressionCause[src]
impl<'tcx> Lift<'tcx> for IfExpressionCause[src]impl<'tcx> Lift<'tcx> for ImplSourceDiscriminantKindData[src]
impl<'tcx> Lift<'tcx> for ImplSourceDiscriminantKindData[src]impl<'tcx> Lift<'tcx> for ImplSourcePointeeData[src]
impl<'tcx> Lift<'tcx> for ImplSourcePointeeData[src]impl<'tcx> Lift<'tcx> for Placeholder<BoundRegionKind>[src]
impl<'tcx> Lift<'tcx> for Placeholder<BoundRegionKind>[src]impl<'tcx> Lift<'tcx> for UniverseIndex[src]
impl<'tcx> Lift<'tcx> for UniverseIndex[src]impl<'tcx> Lift<'tcx> for FreeRegion[src]
impl<'tcx> Lift<'tcx> for FreeRegion[src]impl<'tcx> Lift<'tcx> for ParamConst[src]
impl<'tcx> Lift<'tcx> for ParamConst[src]impl<'tcx> Lift<'tcx> for UserTypeAnnotationIndex[src]
impl<'tcx> Lift<'tcx> for UserTypeAnnotationIndex[src]impl<'tcx> Lift<'tcx> for ProjectionKind[src]
impl<'tcx> Lift<'tcx> for ProjectionKind[src]impl<'tcx, '__lifted> Lift<'__lifted> for ConstantKind<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for ConstantKind<'tcx>[src]type Lifted = ConstantKind<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ConstantKind<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ConstantKind<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCauseCode<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCauseCode<'tcx>[src]type Lifted = ObligationCauseCode<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseCode<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseCode<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for SelectionError<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for SelectionError<'tcx>[src]type Lifted = SelectionError<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<SelectionError<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<SelectionError<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for OutlivesBound<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for OutlivesBound<'tcx>[src]type Lifted = OutlivesBound<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<OutlivesBound<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<OutlivesBound<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for CanonicalVarValues<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for CanonicalVarValues<'tcx>[src]type Lifted = CanonicalVarValues<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<CanonicalVarValues<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<CanonicalVarValues<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for QueryRegionConstraints<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for QueryRegionConstraints<'tcx>[src]type Lifted = QueryRegionConstraints<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<QueryRegionConstraints<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<QueryRegionConstraints<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for MemberConstraint<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for MemberConstraint<'tcx>[src]type Lifted = MemberConstraint<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<MemberConstraint<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<MemberConstraint<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for DropckOutlivesResult<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for DropckOutlivesResult<'tcx>[src]type Lifted = DropckOutlivesResult<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<DropckOutlivesResult<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<DropckOutlivesResult<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for NormalizationResult<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for NormalizationResult<'tcx>[src]type Lifted = NormalizationResult<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<NormalizationResult<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<NormalizationResult<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for AscribeUserType<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for AscribeUserType<'tcx>[src]type Lifted = AscribeUserType<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<AscribeUserType<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<AscribeUserType<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for ProvePredicate<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for ProvePredicate<'tcx>[src]type Lifted = ProvePredicate<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ProvePredicate<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ProvePredicate<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for DerivedObligationCause<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for DerivedObligationCause<'tcx>[src]type Lifted = DerivedObligationCause<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<DerivedObligationCause<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<DerivedObligationCause<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for MatchExpressionArmCause<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for MatchExpressionArmCause<'tcx>[src]type Lifted = MatchExpressionArmCause<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<MatchExpressionArmCause<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<MatchExpressionArmCause<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCause<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCause<'tcx>[src]type Lifted = ObligationCause<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCause<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCause<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCauseData<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for ObligationCauseData<'tcx>[src]type Lifted = ObligationCauseData<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseData<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ObligationCauseData<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for UnifyReceiverContext<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for UnifyReceiverContext<'tcx>[src]type Lifted = UnifyReceiverContext<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<UnifyReceiverContext<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<UnifyReceiverContext<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for TraitRefPrintOnlyTraitPath<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for TraitRefPrintOnlyTraitPath<'tcx>[src]type Lifted = TraitRefPrintOnlyTraitPath<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<TraitRefPrintOnlyTraitPath<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<TraitRefPrintOnlyTraitPath<'__lifted>>
impl<'tcx, '__lifted> Lift<'__lifted> for TypeAndMut<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for TypeAndMut<'tcx>[src]type Lifted = TypeAndMut<'__lifted>
fn lift_to_tcx(self, __tcx: TyCtxt<'__lifted>) -> Option<TypeAndMut<'__lifted>>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for UserSelfTy<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for UserSelfTy<'tcx>[src]type Lifted = UserSelfTy<'__lifted>
fn lift_to_tcx(self, __tcx: TyCtxt<'__lifted>) -> Option<UserSelfTy<'__lifted>>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for UserSubsts<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for UserSubsts<'tcx>[src]type Lifted = UserSubsts<'__lifted>
fn lift_to_tcx(self, __tcx: TyCtxt<'__lifted>) -> Option<UserSubsts<'__lifted>>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for CanonicalUserTypeAnnotation<'tcx>[src]
impl<'tcx, '__lifted> Lift<'__lifted> for CanonicalUserTypeAnnotation<'tcx>[src]type Lifted = CanonicalUserTypeAnnotation<'__lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<CanonicalUserTypeAnnotation<'__lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<CanonicalUserTypeAnnotation<'__lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSource<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSource<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSource<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSource<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSource<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceClosureData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceClosureData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceClosureData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceClosureData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceClosureData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceFnPointerData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceFnPointerData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceFnPointerData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceFnPointerData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceFnPointerData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceGeneratorData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceGeneratorData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceGeneratorData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceGeneratorData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceGeneratorData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceObjectData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceObjectData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceObjectData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceObjectData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceObjectData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceTraitAliasData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceTraitAliasData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceTraitAliasData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceTraitAliasData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceTraitAliasData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceUserDefinedData<'tcx, N> where
N: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceUserDefinedData<'tcx, N> where
N: Lift<'__lifted>, [src]type Lifted = ImplSourceUserDefinedData<'__lifted, N::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceUserDefinedData<'__lifted, N::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<ImplSourceUserDefinedData<'__lifted, N::Lifted>>
impl<'tcx, '__lifted, R> Lift<'__lifted> for QueryResponse<'tcx, R> where
R: Lift<'__lifted>, [src]
impl<'tcx, '__lifted, R> Lift<'__lifted> for QueryResponse<'tcx, R> where
R: Lift<'__lifted>, [src]type Lifted = QueryResponse<'__lifted, R::Lifted>
fn lift_to_tcx(
self,
__tcx: TyCtxt<'__lifted>
) -> Option<QueryResponse<'__lifted, R::Lifted>>[src]
self,
__tcx: TyCtxt<'__lifted>
) -> Option<QueryResponse<'__lifted, R::Lifted>>
impl<'tcx, A: Copy + Lift<'tcx>, B: Copy + Lift<'tcx>> Lift<'tcx> for OutlivesPredicate<A, B>[src]
impl<'tcx, A: Copy + Lift<'tcx>, B: Copy + Lift<'tcx>> Lift<'tcx> for OutlivesPredicate<A, B>[src]type Lifted = OutlivesPredicate<A::Lifted, B::Lifted>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>[src]
impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for ExpectedFound<T>[src]
impl<'tcx, T: Lift<'tcx>> Lift<'tcx> for ExpectedFound<T>[src]