Skip to main content

Module undo_log

Module undo_log 

Source

Re-exportsΒ§

use std::assert_matches; πŸ”’
use std::marker::PhantomData; πŸ”’
use rustc_data_structures::undo_log::Rollback; πŸ”’
use rustc_data_structures::undo_log::UndoLogs; πŸ”’
use rustc_data_structures::snapshot_vec as sv; πŸ”’
use rustc_data_structures::unify as ut; πŸ”’
use rustc_middle::ty; πŸ”’
use rustc_middle::ty::OpaqueTypeKey; πŸ”’
use rustc_middle::ty::ProvisionalHiddenType; πŸ”’
use tracing::debug; πŸ”’
use crate::infer::unify_key::ConstVidKey; πŸ”’
use crate::infer::unify_key::RegionVidKey; πŸ”’
use crate::infer::InferCtxtInner; πŸ”’
use crate::infer::region_constraints; πŸ”’
use crate::infer::type_variable; πŸ”’
use crate::traits; πŸ”’

MacrosΒ§

impl_from πŸ”’

StructsΒ§

InferCtxtUndoLogs πŸ”’
The combined undo log for all the various unification tables. For each change to the storage for any kind of inference variable, we record an UndoLog entry in the vector here.
Snapshot

EnumsΒ§

UndoLog πŸ”’
Records the β€œundo” data for a single operation that affects some form of inference variable.