Structsยง
- Variance
Extractor ๐Extracts variances for regions contained within types. Follows the same structure asrustc_infer
โsGeneralizer
: we try to relate a type with itself to track and extract the variances of regions.
Functionsยง
- Adds
LocalizedOutlivesConstraint
s between two connected points, according to the given edge direction. - Propagate loans throughout the CFG: for each statement in the MIR, create localized outlives constraints for loans that are propagated to the next statements.
- Propagate loans within a region between two points in the CFG, if that region is live at both the source and target points.