Struct rustc_mir::build::BlockAnd[][src]

#[must_use = "if you don\'t use one of these results, you\'re leaving a dangling edge"]
struct BlockAnd<T>(BasicBlock, T);
🔬 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 BlockAnd "monad" packages up the new basic block along with a produced value (sometimes just unit, of course). The unpack! macro (and methods below) makes working with BlockAnd much more convenient.

Auto Trait Implementations

impl<T> Send for BlockAnd<T> where
    T: Send

impl<T> Sync for BlockAnd<T> where
    T: Sync