Module predicates_of

Source

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 ๐Ÿ”’
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 of trait_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 of trait_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 by explicit_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 form X: Foo where X is the type parameter def_id.