Module rustc_infer::infer::generalize
source · Structs
- Result from a generalization operation. This includes not only the generalized type, but also a bool flag indicating whether further WF checks are needed.
- The “generalizer” is used when handling inference variables.
Traits
- Abstracts the handling of region vars between HIR and MIR/NLL typechecking in the generalizer code.
Functions
- Attempts to generalize
term
for the type variablefor_vid
. This checks for cycles – that is, whether the typeterm
referencesfor_vid
.