Functions§
- assert_
only_ 🔒contains_ predicates_ from - compute_
bidirectional_ 🔒outlives_ predicates - Opaques have duplicated lifetimes and we need to compute bidirectional outlives predicates to enforce that these lifetimes stay in sync.
- const_
conditions 🔒 - Compute the conditions that need to hold for a conditionally-const item to be const.
That is, compute the set of
~const
where clauses for a given item. - const_
evaluatable_ 🔒predicates_ of - explicit_
implied_ 🔒const_ bounds - explicit_
implied_ 🔒predicates_ of - explicit_
predicates_ 🔒of - explicit_
super_ 🔒predicates_ of - Ensures that the super-predicates of the trait with a
DefId
oftrait_def_id
are lowered and stored. This also ensures that the transitive super-predicates are lowered. - explicit_
supertraits_ 🔒containing_ assoc_ item - gather_
explicit_ 🔒predicates_ of - Returns a list of user-specified type predicates for the definition with ID
def_id
. N.B., this does not include any implied/inferred constraints. - implied_
predicates_ 🔒with_ filter - Ensures that the super-predicates of the trait with a
DefId
oftrait_def_id
are lowered and stored. This also ensures that the transitive super-predicates are lowered. - predicates_
of 🔒 - Returns a list of all type predicates (explicit and implicit) for the definition with
ID
def_id
. This includes all predicates returned byexplicit_predicates_of
, plus inferred constraints concerning which regions outlive other regions. - trait_
explicit_ 🔒predicates_ and_ bounds - type_
param_ 🔒predicates - Returns the predicates defined on
item_def_id
of the formX: Foo
whereX
is the type parameterdef_id
.