Module rustc::infer::lexical_region_resolve::graphviz[][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?

This module provides linkage between libgraphviz traits and rustc::middle::typeck::infer::region_constraints, generating a rendering of the graph represented by the list of Constraint instances (which make up the edges of the graph), as well as the origin for each constraint (which are attached to the labels on each edge).

Re-exports

use graphviz as dot;
use hir::def_id::DefIndex;
use ty;
use middle::free_region::RegionRelations;
use middle::region;
use super::Constraint;
use infer::SubregionOrigin;
use infer::region_constraints::RegionConstraintData;
use util::nodemap::FxHashMap;
use util::nodemap::FxHashSet;
use std::borrow::Cow;
use std::collections::hash_map::Entry::Vacant;
use std::collections::btree_map::BTreeMap;
use std::env;
use std::fs::File;
use std::io;
use std::io::prelude::*;
use std::sync::atomic::AtomicBool;
use std::sync::atomic::Ordering;

Structs

ConstraintGraph [
Experimental
]

Enums

Edge [
Experimental
]
Node [
Experimental
]

Functions

constraint_to_nodes [
Experimental
]
dump_region_data_to [
Experimental
]
edge_to_nodes [
Experimental
]
maybe_print_constraints_for [
Experimental
]
print_help_message [
Experimental
]

Type Definitions

ConstraintMap [
Experimental
]