Skip to main content

Module constraints

Module constraints 

Source

Re-exportsΒ§

use rustc_data_structures::fx::FxHashMap; πŸ”’
use rustc_data_structures::fx::FxHashSet; πŸ”’
use rustc_index::IndexVec; πŸ”’
use rustc_middle::mir::Body; πŸ”’
use rustc_middle::mir::Location; πŸ”’
use rustc_middle::ty::RegionVid; πŸ”’
use rustc_mir_dataflow::points::DenseLocationMap; πŸ”’
use rustc_mir_dataflow::points::PointIndex; πŸ”’
use smallvec::SmallVec; πŸ”’
use crate::BorrowSet; πŸ”’
use crate::constraints::OutlivesConstraint; πŸ”’
use crate::dataflow::BorrowIndex; πŸ”’
use crate::polonius::ConstraintDirection; πŸ”’
use crate::polonius::liveness::LivenessSource; πŸ”’
use crate::type_check::Locations; πŸ”’

StructsΒ§

LocalizedConstraintGraph πŸ”’
The localized constraint graph indexes the physical and logical edges to lazily compute a given node’s successors during traversal.
LocalizedNode πŸ”’
A localized outlives constraint reifies the CFG location where the outlives constraint holds, within the origins themselves as if they were different from point to point: from a: b outlives constraints to a@p: b@p, where p is the point in the CFG.

TraitsΒ§

LocalizedConstraintGraphVisitor πŸ”’
The visitor interface when traversing a LocalizedConstraintGraph.