Struct rustc::ty::maps::queries::type_param_predicates
[−]
[src]
pub struct type_param_predicates<'tcx> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (
rustc_private
)Methods
impl<'a, 'tcx, 'lcx> type_param_predicates<'tcx>
[src]
fn try_get(tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: (DefId, DefId))
-> Result<GenericPredicates<'tcx>, CycleError<'a>>
span: Span,
key: (DefId, DefId))
-> Result<GenericPredicates<'tcx>, CycleError<'a>>
🔬 This is a nightly-only experimental API. (
rustc_private
)fn get(tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: (DefId, DefId))
-> GenericPredicates<'tcx>
span: Span,
key: (DefId, DefId))
-> GenericPredicates<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private
)To avoid cycles within the predicates of a single item we compute
per-type-parameter predicates for resolving T::AssocTy
.
fn force(tcx: TyCtxt<'a, 'tcx, 'lcx>, span: Span, key: (DefId, DefId))
🔬 This is a nightly-only experimental API. (
rustc_private
)