Struct rustc_mir::util::def_use::DefUseAnalysis
[−]
[src]
pub struct DefUseAnalysis<'tcx> { /* fields omitted */ }
🔬 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?
Methods
impl<'tcx> DefUseAnalysis<'tcx>
[src]
impl<'tcx> DefUseAnalysis<'tcx>
pub fn new(mir: &Mir<'tcx>) -> DefUseAnalysis<'tcx>
[src]
pub fn new(mir: &Mir<'tcx>) -> DefUseAnalysis<'tcx>
🔬 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?
pub fn analyze(&mut self, mir: &Mir<'tcx>)
[src]
pub fn analyze(&mut self, mir: &Mir<'tcx>)
🔬 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?
pub fn local_info(&self, local: Local) -> &Info<'tcx>
[src]
pub fn local_info(&self, local: Local) -> &Info<'tcx>
🔬 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?
pub fn replace_all_defs_and_uses_with(
&self,
local: Local,
mir: &mut Mir<'tcx>,
new_local: Local
)
[src]
pub fn replace_all_defs_and_uses_with(
&self,
local: Local,
mir: &mut Mir<'tcx>,
new_local: Local
)
🔬 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?
FIXME(pcwalton): This should update the def-use chains.
Trait Implementations
Auto Trait Implementations
impl<'tcx> !Send for DefUseAnalysis<'tcx>
impl<'tcx> !Send for DefUseAnalysis<'tcx>
impl<'tcx> !Sync for DefUseAnalysis<'tcx>
impl<'tcx> !Sync for DefUseAnalysis<'tcx>