Enum rustc_mir::interpret::eval_context::StackPopCleanup[][src]

pub enum StackPopCleanup {
    MarkStatic(Mutability),
    Goto(BasicBlock),
    None,
}
🔬 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

🔬 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?

The stackframe existed to compute the initial value of a static/constant, make sure it isn't modifyable afterwards in case of constants. In case of static mut, mark the memory to ensure it's never marked as immutable through references or deallocated

🔬 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?

A regular stackframe added due to a function call will need to get forwarded to the next block

🔬 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?

The main function and diverging functions have nowhere to return to

Trait Implementations

impl Clone for StackPopCleanup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StackPopCleanup
[src]

Formats the value using the given formatter. Read more

impl Eq for StackPopCleanup
[src]

impl PartialEq for StackPopCleanup
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for StackPopCleanup
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for StackPopCleanup

impl Sync for StackPopCleanup