Module solve

Module solve 

Source

Modules§

inspect
Data structure used to inspect trait solver behavior.

Structs§

ExternalConstraintsData
Additional constraints returned on success.
Goal
A goal is a statement, i.e. predicate, we want to prove given some assumptions, i.e. param_env.
NestedNormalizationGoals
NoSolution
QueryInput
Response

Enums§

AdtDestructorKind
Indicates that a impl Drop for Adt is const or not.
AliasBoundKind
BuiltinImplSource
CandidatePreferenceMode
Which trait candidates should be preferred over other candidates? By default, prefer where bounds over alias bounds. For marker traits, prefer alias bounds over where bounds.
CandidateSource
Possible ways the given goal can be proven.
Certainty
GoalSource
Why a specific goal has to be proven.
MaybeCause
Why we failed to evaluate a goal.
OpaqueTypesJank
Supporting not-yet-defined opaque types in HIR typeck is somewhat challenging. Ideally we’d normalize them to a new inference variable and just defer type inference which relies on the opaque until we’ve constrained the hidden type.
ParamEnvSource
SizedTraitKind
Which sizedness trait - Sized, MetaSized? PointeeSized is omitted as it is removed during lowering.

Type Aliases§

CanonicalInput
CanonicalResponse
QueryResult
The result of evaluating a canonical query.