Skip to main content

Module traits

Module traits 

Source
Expand description

Trait solving using next trait solver.

Structs§

ParamEnvAndCrate
Type for hir, because commonly we want both param env and a crate in an exported API.
StoredParamEnvAndCrate

Enums§

FnTrait
WherePredicateEvaluation

Functions§

check_orphan_rules
Checks whether the impl satisfies the orphan rules.
implements_trait_unique
This should not be used in hir-ty, only in hir.
implements_trait_unique_with_args
This should not be used in hir-ty, only in hir.
implements_trait_unique_with_infcx
is_inherent_impl_coherent
structurally_normalize_ty
This should be used in hir only.
where_predicate_must_hold
This should not be used in hir-ty, only in hir. This is exposed to allow the IDE to evaluate arbitrary predicates.