Expand description
Various code related to computing outlives relations.
Re-exportsΒ§
use std::iter;πuse rustc_data_structures::undo_log::UndoLogs;πuse rustc_middle::traits::query::OutlivesBound;πuse rustc_middle::ty;πuse tracing::instrument;πuse tracing::instrument;πuse self::env::OutlivesEnvironment;πuse super::region_constraints::RegionConstraintData;πuse super::region_constraints::UndoLog;πuse super::InferCtxt;πuse super::RegionResolutionError;πuse crate::infer::free_regions::RegionRelations;πuse crate::infer::lexical_region_resolve;πuse crate::infer::region_constraints::ConstraintKind;π
ModulesΒ§
- env
- obligations
- Code that handles βtype-outlivesβ constraints like
T: 'a. This is based on thepush_outlives_componentsfunction defined in rustc_infer, but it adds a bit of heuristics on top, in particular to deal with associated types and projections. - test_
type_ match - verify π