Enum rustc::infer::region_constraints::UndoLogEntry [−][src]
enum UndoLogEntry<'tcx> { OpenSnapshot, CommitedSnapshot, AddVar(RegionVid), AddConstraint(Constraint<'tcx>), AddVerify(usize), AddGiven(Region<'tcx>, RegionVid), AddCombination(CombineMapType, TwoRegions<'tcx>), Purged, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
OpenSnapshot
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Pushed when we start a snapshot.
CommitedSnapshot
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Replaces an OpenSnapshot
when a snapshot is committed, but
that snapshot is not the root. If the root snapshot is
unrolled, all nested snapshots must be committed.
AddVar(RegionVid)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
We added RegionVid
AddConstraint(Constraint<'tcx>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
We added the given constraint
AddVerify(usize)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
We added the given verify
AddGiven(Region<'tcx>, RegionVid)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
We added the given given
AddCombination(CombineMapType, TwoRegions<'tcx>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
We added a GLB/LUB "combination variable"
Purged
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
During skolemization, we sometimes purge entries from the undo
log in a kind of minisnapshot (unlike other snapshots, this
purging actually takes place on success). In that case, we
replace the corresponding entry with Noop
so as to avoid the
need to do a bunch of swapping. (We can't use swap_remove
as
the order of the vector is important.)
Trait Implementations
impl<'tcx> Copy for UndoLogEntry<'tcx>
[src]
impl<'tcx> Copy for UndoLogEntry<'tcx>
impl<'tcx> Clone for UndoLogEntry<'tcx>
[src]
impl<'tcx> Clone for UndoLogEntry<'tcx>
fn clone(&self) -> UndoLogEntry<'tcx>
[src]
fn clone(&self) -> UndoLogEntry<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'tcx> PartialEq for UndoLogEntry<'tcx>
[src]
impl<'tcx> PartialEq for UndoLogEntry<'tcx>
fn eq(&self, other: &UndoLogEntry<'tcx>) -> bool
[src]
fn eq(&self, other: &UndoLogEntry<'tcx>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UndoLogEntry<'tcx>) -> bool
[src]
fn ne(&self, other: &UndoLogEntry<'tcx>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'tcx> !Send for UndoLogEntry<'tcx>
impl<'tcx> !Send for UndoLogEntry<'tcx>
impl<'tcx> !Sync for UndoLogEntry<'tcx>
impl<'tcx> !Sync for UndoLogEntry<'tcx>