[−][src]Enum rustc_mir::util::pretty::PassWhere

pub enum PassWhere {
    BeforeCFG,
    AfterCFG,
    BeforeBlock(BasicBlock),
    BeforeLocation(Location),
    AfterLocation(Location),
    AfterTerminator(BasicBlock),
}

An indication of where we are in the control flow graph. Used for printing extra information in dump_mir

Variants

BeforeCFG

We have not started dumping the control flow graph, but we are about to.

AfterCFG

We just finished dumping the control flow graph. This is right before EOF

BeforeBlock(BasicBlock)

We are about to start dumping the given basic block.

BeforeLocation(Location)

We are just about to dump the given statement or terminator.

AfterLocation(Location)

We just dumped the given statement or terminator.

AfterTerminator(BasicBlock)

We just dumped the terminator for a block but not the closing }.

Auto Trait Implementations

impl RefUnwindSafe for PassWhere

impl Send for PassWhere

impl Sync for PassWhere

impl Unpin for PassWhere

impl UnwindSafe for PassWhere

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]