Skip to main content

Module clauses_of

Module clauses_of 

Source

Functionsยง

assert_only_contains_clauses_from ๐Ÿ”’
clauses_of ๐Ÿ”’
Returns a list of all type clauses (explicit and implicit) for the definition with ID def_id. This includes all clauses returned by explicit_clauses_of, plus inferred constraints concerning which regions outlive other regions.
compute_bidirectional_outlives_clauses ๐Ÿ”’
Opaques have duplicated lifetimes and we need to compute bidirectional outlives clauses to enforce that these lifetimes stay in sync.
const_conditions ๐Ÿ”’
const_evaluatable_clauses_of ๐Ÿ”’
explicit_clauses_of ๐Ÿ”’
explicit_implied_clauses_of ๐Ÿ”’
explicit_implied_const_bounds ๐Ÿ”’
explicit_super_clauses_of ๐Ÿ”’
Ensures that the super-clauses of the trait with a DefId of trait_def_id are lowered and stored. This also ensures that the transitive super-clauses are lowered.
explicit_supertraits_containing_assoc_item ๐Ÿ”’
gather_explicit_clauses_of ๐Ÿ”’
Returns a list of user-specified type clauses for the definition with ID def_id. N.B., this does not include any implied/inferred constraints.
implied_clauses_with_filter ๐Ÿ”’
Ensures that the super-clauses of the trait with a DefId of trait_def_id are lowered and stored. This also ensures that the transitive super-clauses are lowered.
trait_explicit_clauses_and_bounds ๐Ÿ”’
type_param_clauses ๐Ÿ”’
Returns the clauses defined on item_def_id of the form X: Foo where X is the type parameter def_id.