Struct rustc_mir::dataflow::move_paths::builder::Gatherer [−][src]
struct Gatherer<'b, 'a: 'b, 'gcx: 'tcx, 'tcx: 'a> { builder: &'b mut MoveDataBuilder<'a, 'gcx, 'tcx>, loc: 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?
Fields
builder: &'b mut MoveDataBuilder<'a, 'gcx, '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?
loc: 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?
Methods
impl<'b, 'a, 'gcx, 'tcx> Gatherer<'b, 'a, 'gcx, 'tcx>
[src]
impl<'b, 'a, 'gcx, 'tcx> Gatherer<'b, 'a, 'gcx, 'tcx>
fn move_path_for(
&mut self,
place: &Place<'tcx>
) -> Result<MovePathIndex, MoveError<'tcx>>
[src]
fn move_path_for(
&mut self,
place: &Place<'tcx>
) -> Result<MovePathIndex, MoveError<'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?
This creates a MovePath for a given place, returning an MovePathError
if that place can't be moved from.
NOTE: places behind references do not get a move path, which is problematic for borrowck.
Maybe we should have separate "borrowck" and "moveck" modes.
fn create_move_path(&mut self, place: &Place<'tcx>)
[src]
fn create_move_path(&mut self, place: &Place<'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?
fn move_path_for_projection(
&mut self,
place: &Place<'tcx>,
proj: &PlaceProjection<'tcx>
) -> Result<MovePathIndex, MoveError<'tcx>>
[src]
fn move_path_for_projection(
&mut self,
place: &Place<'tcx>,
proj: &PlaceProjection<'tcx>
) -> Result<MovePathIndex, MoveError<'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?
impl<'b, 'a, 'gcx, 'tcx> Gatherer<'b, 'a, 'gcx, 'tcx>
[src]
impl<'b, 'a, 'gcx, 'tcx> Gatherer<'b, 'a, 'gcx, 'tcx>
fn gather_statement(&mut self, stmt: &Statement<'tcx>)
[src]
fn gather_statement(&mut self, stmt: &Statement<'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?
fn gather_rvalue(&mut self, rvalue: &Rvalue<'tcx>)
[src]
fn gather_rvalue(&mut self, rvalue: &Rvalue<'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?
fn gather_terminator(&mut self, term: &Terminator<'tcx>)
[src]
fn gather_terminator(&mut self, term: &Terminator<'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?
fn gather_operand(&mut self, operand: &Operand<'tcx>)
[src]
fn gather_operand(&mut self, operand: &Operand<'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?
fn gather_move(&mut self, place: &Place<'tcx>)
[src]
fn gather_move(&mut self, place: &Place<'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?
fn gather_init(&mut self, place: &Place<'tcx>, kind: InitKind)
[src]
fn gather_init(&mut self, place: &Place<'tcx>, kind: InitKind)
🔬 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?