Skip to main content

Module dump_mir

Module dump_mir 

Source
Expand description

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.

Re-exportsยง

use std::io; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use rustc_infer::infer::NllRegionVariableOrigin; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use super::OutlivesConstraint; ๐Ÿ”’
use super::RegionInferenceContext; ๐Ÿ”’
use crate::type_check::Locations; ๐Ÿ”’

Constantsยง

REGION_WIDTH ๐Ÿ”’