Enum rustc_session::config::MirSpanview [−][src]
pub enum MirSpanview {
Statement,
Terminator,
Block,
}
Expand description
The different settings that the -Z dump_mir_spanview
flag can have. Statement
generates a
document highlighting each span of every statement (including terminators). Terminator
and
Block
highlight a single span per BasicBlock
: the span of the block’s Terminator
, or a
computed span for the block, representing the entire range, covering the block’s terminator and
all of its statements.
Variants
Default -Z dump_mir_spanview
or -Z dump_mir_spanview=statement
-Z dump_mir_spanview=terminator
-Z dump_mir_spanview=block
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MirSpanview
impl Send for MirSpanview
impl Sync for MirSpanview
impl Unpin for MirSpanview
impl UnwindSafe for MirSpanview
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Statement
: 0 bytesTerminator
: 0 bytesBlock
: 0 bytes