Struct rustc_mir::transform::MirSource[][src]

pub struct MirSource {
    pub def_id: DefId,
    pub promoted: Option<Promoted>,
}
🔬 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?

Where a specific Mir comes from.

Fields

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

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

If Some, this is a promoted rvalue within the parent function.

Methods

impl MirSource
[src]

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

Trait Implementations

impl Debug for MirSource
[src]

Formats the value using the given formatter. Read more

impl Copy for MirSource
[src]

impl Clone for MirSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for MirSource

impl Sync for MirSource