[][src]Module rustc_mir::borrow_check::path_utils

🔬 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?

Enums

Control [
Experimental
]

Control for the path borrow checking code

Functions

allow_two_phase_borrow [
Experimental
]

Returns true if the borrow represented by kind is allowed to be split into separate Reservation and Activation phases.

borrow_of_local_data [
Experimental
]

Determines if a given borrow is borrowing local data This is called for all Yield statements on movable generators

each_borrow_involving_path [
Experimental
]

Encapsulates the idea of iterating over every borrow that involves a particular path

is_active [
Experimental
]