Expand description
Candidate selection. See the rustc dev guide for more information on how this works.
Enums§
- Evaluation
Result - The result of trait evaluation. The order is important here as the evaluation of a list is the maximum of the evaluations.
- Overflow
Error - Indicates that trait evaluation caused overflow and in which pass.
- Selection
Candidate - 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 fori32
. In that case, we drop the impl out of the list. But the other cases are considered candidates.