[][src]Module rustc::middle::free_region

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

This file handles the relationships between free regions -- meaning lifetime parameters. Ordinarily, free regions are unrelated to one another, but they can be related via implied or explicit bounds. In that case, we track the bounds using the TransitiveRelation type and use that to decide when one free region outlives another and so forth.

Structs

RegionRelations [
Experimental
]

Combines a region::ScopeTree (which governs relationships between scopes) and a FreeRegionMap (which governs relationships between free regions) to yield a complete relation between concrete regions.