Expand description
The entry point of the NLL borrow checker.
Structs§
- NllOutput 🔒
- The output of
nll::compute_regions
. This includes the computedRegionInferenceContext
, any closure requirements to propagate, and any generated errors.
Traits§
Functions§
- compute_
regions 🔒 - Computes the (non-lexical) regions from the input MIR.
- dump_
annotation 🔒 - dump_
nll_ 🔒mir -Zdump-mir=nll
dumps MIR annotated with NLL specific information:- emit_
nll_ 🔒mir - Produces the actual NLL MIR sections to emit during the dumping process.
- for_
each_ 🔒region_ constraint - replace_
regions_ 🔒in_ mir - Rewrites the regions in the MIR to use NLL variables, also scraping out the set of universal
regions (e.g., region parameters) declared on the function. That set will need to be given to
compute_regions
.