Expand description
Code for projecting associated types out of trait references.
Re-exportsยง
use rustc_data_structures::snapshot_map;๐use rustc_data_structures::snapshot_map::SnapshotMapRef;๐use rustc_data_structures::snapshot_map::SnapshotMapStorage;๐use rustc_data_structures::undo_log::Rollback;๐use rustc_macros::TypeVisitable;๐use rustc_middle::traits::EvaluationResult;๐use rustc_middle::ty;๐use tracing::debug;๐use tracing::info;๐use super::PredicateObligations;๐use crate::infer::snapshot::undo_log::InferCtxtUndoLogs;๐
Structsยง
- Mismatched
Projection Types - Normalized
- Projection
Cache - The projection cache. Unlike the standard caches, this can include infcx-dependent type variables, therefore we have to roll the cache back each time we roll a snapshot back, to avoid assumptions on yet-unresolved inference variables. Types with placeholder regions also have to be removed when the respective snapshot ends.
- Projection
Cache Key - Projection
Cache Storage