Skip to main content Module constraints Copy item path Source 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 ; π 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. LocalizedConstraintGraphVisitor π The visitor interface when traversing a LocalizedConstraintGraph.