Module rustc_mir::borrow_check::nll::region_infer::annotation [−][src]
🔬 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?
As part of the NLL unit tests, you can annotate a function with
#[rustc_regions]
, and we will emit information about the region
inference context and -- in particular -- the external constraints
that this region imposes on others. The methods in this file
handle the part about dumping the inference context internal
state.