As part of generating the regions, if you enable -Zdump-mir=nll,
we will generate an annotated copy of the MIR that includes the
state of region inference. This code handles emitting the region
context internal state.
This module provides linkage between RegionInferenceContext and
rustc_graphviz traits, specialized to attaching borrowck analysis
data to rendered labels.
A βtype testβ corresponds to an outlives constraint between a type
and a lifetime, like T: 'x or <T as Foo>::Bar: 'x. They are
translated from the Verify region constraints in the ordinary
inference context.
The representative region variable for an SCC, tagged by its origin.
We prefer placeholders over existentially quantified variables, otherwise
itβs the one with the smallest Region Variable ID. In other words,
the order of this enumeration really matters!