[][src]Trait rustc::mir::HasLocalDecls

pub trait HasLocalDecls<'tcx> {
    fn local_decls(&self) -> &IndexVec<Local, LocalDecl<'tcx>>;
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Required methods

fn local_decls(&self) -> &IndexVec<Local, LocalDecl<'tcx>>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementations on Foreign Types

impl<'tcx> HasLocalDecls<'tcx> for IndexVec<Local, LocalDecl<'tcx>>[src]

Loading content...

Implementors

impl<'tcx> HasLocalDecls<'tcx> for Body<'tcx>[src]

Loading content...