[−][src]Module rustc_mir::transform::erase_regions
🔬 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 pass erases all early-bound regions from the types occurring in the MIR. We want to do this once just before codegen, so codegen does not have to take care erasing regions all over the place. NOTE: We do NOT erase regions of statements that are relevant for "types-as-contracts"-validation, namely, AcquireValid, ReleaseValid, and EndRegion.
Structs
EraseRegions |
[ Experimental ]
|
EraseRegionsVisitor |
[ Experimental ]
|