Struct rustc_mir::borrow_check::nll::explain_borrow::UseFinder [−][src]
struct UseFinder<'gcx, 'tcx> { mir: &'gcx Mir<'gcx>, regioncx: &'tcx RegionInferenceContext<'tcx>, borrow: &'tcx BorrowData<'tcx>, start_point: Location, local: Local, liveness_mode: LivenessMode, }
🔬 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?
Fields
mir: &'gcx Mir<'gcx>
🔬 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?
regioncx: &'tcx RegionInferenceContext<'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?
borrow: &'tcx BorrowData<'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?
start_point: Location
🔬 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?
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?
liveness_mode: LivenessMode
🔬 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<'gcx, 'tcx> UseFinder<'gcx, 'tcx>
[src]
impl<'gcx, 'tcx> UseFinder<'gcx, 'tcx>
fn find(&mut self) -> Option<Location>
[src]
fn find(&mut self) -> Option<Location>
🔬 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?
fn def_use(
&self,
location: Location,
thing: &MirVisitable<'tcx>
) -> (bool, bool)
[src]
fn def_use(
&self,
location: Location,
thing: &MirVisitable<'tcx>
) -> (bool, bool)
🔬 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?