Module rustc_middle::traits::select[][src]

Candidate selection. See the rustc dev guide for more information on how this works.

Structs

OverflowError

Indicates that trait evaluation caused overflow.

Enums

EvaluationResult

The result of trait evaluation. The order is important here as the evaluation of a list is the maximum of the evaluations.

SelectionCandidate

The selection process begins by considering all impls, where clauses, and so forth that might resolve an obligation. Sometimes we’ll be able to say definitively that (e.g.) an impl does not apply to the obligation: perhaps it is defined for usize but the obligation is for i32. In that case, we drop the impl out of the list. But the other cases are considered candidates.

Type Definitions

EvaluationCache
SelectionCache