Skip to main content

Module constraints

Module constraints 

Source

Re-exportsΒ§

use std::fmt; πŸ”’
use std::ops::Index; πŸ”’
use rustc_index::IndexSlice; πŸ”’
use rustc_index::IndexVec; πŸ”’
use rustc_middle::mir::ConstraintCategory; πŸ”’
use rustc_middle::ty::RegionVid; πŸ”’
use rustc_middle::ty::TyCtxt; πŸ”’
use rustc_middle::ty::VarianceDiagInfo; πŸ”’
use rustc_span::Span; πŸ”’
use tracing::debug; πŸ”’
use crate::type_check::Locations; πŸ”’

ModulesΒ§

graph πŸ”’

StructsΒ§

ConstraintSccIndex
OutlivesConstraint
OutlivesConstraintIndex πŸ”’
OutlivesConstraintSet πŸ”’
A set of NLL region constraints. These include β€œoutlives” constraints of the form R1: R2. Each constraint is identified by a unique OutlivesConstraintIndex and you can index into the set (constraint_set[i]) to access the constraint details.