Struct rustc_mir::transform::copy_prop::ConstantPropagationVisitor [−][src]
struct ConstantPropagationVisitor<'tcx> { dest_local: Local, constant: Constant<'tcx>, uses_replaced: usize, }
🔬 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
dest_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?
constant: Constant<'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?
uses_replaced: usize
🔬 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> ConstantPropagationVisitor<'tcx>
[src]
impl<'tcx> ConstantPropagationVisitor<'tcx>
fn new(
dest_local: Local,
constant: Constant<'tcx>
) -> ConstantPropagationVisitor<'tcx>
[src]
fn new(
dest_local: Local,
constant: Constant<'tcx>
) -> ConstantPropagationVisitor<'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?
Trait Implementations
impl<'tcx> MutVisitor<'tcx> for ConstantPropagationVisitor<'tcx>
[src]
impl<'tcx> MutVisitor<'tcx> for ConstantPropagationVisitor<'tcx>
fn visit_operand(&mut self, operand: &mut Operand<'tcx>, location: Location)
[src]
fn visit_operand(&mut self, operand: &mut Operand<'tcx>, location: 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 visit_mir(&mut self, mir: &mut Mir<'tcx>)
[src]
fn visit_mir(&mut self, mir: &mut 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?
fn visit_basic_block_data(
&mut self,
block: BasicBlock,
data: &mut BasicBlockData<'tcx>
)
[src]
fn visit_basic_block_data(
&mut self,
block: BasicBlock,
data: &mut BasicBlockData<'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 visit_source_scope_data(&mut self, scope_data: &mut SourceScopeData)
[src]
fn visit_source_scope_data(&mut self, scope_data: &mut SourceScopeData)
🔬 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 visit_statement(
&mut self,
block: BasicBlock,
statement: &mut Statement<'tcx>,
location: Location
)
[src]
fn visit_statement(
&mut self,
block: BasicBlock,
statement: &mut Statement<'tcx>,
location: 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 visit_assign(
&mut self,
block: BasicBlock,
place: &mut Place<'tcx>,
rvalue: &mut Rvalue<'tcx>,
location: Location
)
[src]
fn visit_assign(
&mut self,
block: BasicBlock,
place: &mut Place<'tcx>,
rvalue: &mut Rvalue<'tcx>,
location: 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 visit_terminator(
&mut self,
block: BasicBlock,
terminator: &mut Terminator<'tcx>,
location: Location
)
[src]
fn visit_terminator(
&mut self,
block: BasicBlock,
terminator: &mut Terminator<'tcx>,
location: 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 visit_terminator_kind(
&mut self,
block: BasicBlock,
kind: &mut TerminatorKind<'tcx>,
location: Location
)
[src]
fn visit_terminator_kind(
&mut self,
block: BasicBlock,
kind: &mut TerminatorKind<'tcx>,
location: 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 visit_assert_message(
&mut self,
msg: &mut EvalErrorKind<'tcx, Operand<'tcx>>,
location: Location
)
[src]
fn visit_assert_message(
&mut self,
msg: &mut EvalErrorKind<'tcx, Operand<'tcx>>,
location: 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 visit_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: Location)
[src]
fn visit_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: 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 visit_user_assert_ty(
&mut self,
c_ty: &mut Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &mut Local,
location: Location
)
[src]
fn visit_user_assert_ty(
&mut self,
c_ty: &mut Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &mut Local,
location: 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 visit_place(
&mut self,
place: &mut Place<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn visit_place(
&mut self,
place: &mut Place<'tcx>,
context: PlaceContext<'tcx>,
location: 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 visit_static(
&mut self,
static_: &mut Static<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn visit_static(
&mut self,
static_: &mut Static<'tcx>,
context: PlaceContext<'tcx>,
location: 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 visit_projection(
&mut self,
place: &mut Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn visit_projection(
&mut self,
place: &mut Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: 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 visit_projection_elem(
&mut self,
place: &mut ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn visit_projection_elem(
&mut self,
place: &mut ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: 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 visit_branch(&mut self, source: BasicBlock, target: BasicBlock)
[src]
fn visit_branch(&mut self, source: BasicBlock, target: BasicBlock)
🔬 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 visit_constant(&mut self, constant: &mut Constant<'tcx>, location: Location)
[src]
fn visit_constant(&mut self, constant: &mut Constant<'tcx>, location: 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 visit_def_id(&mut self, def_id: &mut DefId, Location)
[src]
fn visit_def_id(&mut self, def_id: &mut DefId, 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 visit_span(&mut self, span: &mut Span)
[src]
fn visit_span(&mut self, span: &mut Span)
🔬 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 visit_source_info(&mut self, source_info: &mut SourceInfo)
[src]
fn visit_source_info(&mut self, source_info: &mut SourceInfo)
🔬 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 visit_ty(&mut self, ty: &mut &'tcx TyS<'tcx>, TyContext)
[src]
fn visit_ty(&mut self, ty: &mut &'tcx TyS<'tcx>, TyContext)
🔬 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 visit_region(&mut self, region: &mut &'tcx RegionKind, Location)
[src]
fn visit_region(&mut self, region: &mut &'tcx RegionKind, 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 visit_const(&mut self, constant: &mut &'tcx Const<'tcx>, Location)
[src]
fn visit_const(&mut self, constant: &mut &'tcx Const<'tcx>, 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 visit_substs(&mut self, substs: &mut &'tcx Slice<Kind<'tcx>>, Location)
[src]
fn visit_substs(&mut self, substs: &mut &'tcx Slice<Kind<'tcx>>, 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 visit_closure_substs(&mut self, substs: &mut ClosureSubsts<'tcx>, Location)
[src]
fn visit_closure_substs(&mut self, substs: &mut ClosureSubsts<'tcx>, 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 visit_generator_substs(
&mut self,
substs: &mut GeneratorSubsts<'tcx>,
Location
)
[src]
fn visit_generator_substs(
&mut self,
substs: &mut GeneratorSubsts<'tcx>,
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 visit_local_decl(&mut self, local: Local, local_decl: &mut LocalDecl<'tcx>)
[src]
fn visit_local_decl(&mut self, local: Local, local_decl: &mut LocalDecl<'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 visit_local(
&mut self,
_local: &mut Local,
_context: PlaceContext<'tcx>,
_location: Location
)
[src]
fn visit_local(
&mut self,
_local: &mut Local,
_context: PlaceContext<'tcx>,
_location: 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 visit_source_scope(&mut self, scope: &mut SourceScope)
[src]
fn visit_source_scope(&mut self, scope: &mut SourceScope)
🔬 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 super_mir(&mut self, mir: &mut Mir<'tcx>)
[src]
fn super_mir(&mut self, mir: &mut 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?
fn super_basic_block_data(
&mut self,
block: BasicBlock,
data: &mut BasicBlockData<'tcx>
)
[src]
fn super_basic_block_data(
&mut self,
block: BasicBlock,
data: &mut BasicBlockData<'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 super_source_scope_data(&mut self, scope_data: &mut SourceScopeData)
[src]
fn super_source_scope_data(&mut self, scope_data: &mut SourceScopeData)
🔬 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 super_statement(
&mut self,
block: BasicBlock,
statement: &mut Statement<'tcx>,
location: Location
)
[src]
fn super_statement(
&mut self,
block: BasicBlock,
statement: &mut Statement<'tcx>,
location: 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 super_assign(
&mut self,
_block: BasicBlock,
place: &mut Place<'tcx>,
rvalue: &mut Rvalue<'tcx>,
location: Location
)
[src]
fn super_assign(
&mut self,
_block: BasicBlock,
place: &mut Place<'tcx>,
rvalue: &mut Rvalue<'tcx>,
location: 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 super_terminator(
&mut self,
block: BasicBlock,
terminator: &mut Terminator<'tcx>,
location: Location
)
[src]
fn super_terminator(
&mut self,
block: BasicBlock,
terminator: &mut Terminator<'tcx>,
location: 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 super_terminator_kind(
&mut self,
block: BasicBlock,
kind: &mut TerminatorKind<'tcx>,
source_location: Location
)
[src]
fn super_terminator_kind(
&mut self,
block: BasicBlock,
kind: &mut TerminatorKind<'tcx>,
source_location: 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 super_assert_message(
&mut self,
msg: &mut EvalErrorKind<'tcx, Operand<'tcx>>,
location: Location
)
[src]
fn super_assert_message(
&mut self,
msg: &mut EvalErrorKind<'tcx, Operand<'tcx>>,
location: 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 super_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: Location)
[src]
fn super_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: 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 super_operand(&mut self, operand: &mut Operand<'tcx>, location: Location)
[src]
fn super_operand(&mut self, operand: &mut Operand<'tcx>, location: 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 super_user_assert_ty(
&mut self,
_c_ty: &mut Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &mut Local,
location: Location
)
[src]
fn super_user_assert_ty(
&mut self,
_c_ty: &mut Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &mut Local,
location: 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 super_place(
&mut self,
place: &mut Place<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn super_place(
&mut self,
place: &mut Place<'tcx>,
context: PlaceContext<'tcx>,
location: 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 super_static(
&mut self,
static_: &mut Static<'tcx>,
_context: PlaceContext<'tcx>,
location: Location
)
[src]
fn super_static(
&mut self,
static_: &mut Static<'tcx>,
_context: PlaceContext<'tcx>,
location: 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 super_projection(
&mut self,
proj: &mut Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)
[src]
fn super_projection(
&mut self,
proj: &mut Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: 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 super_projection_elem(
&mut self,
proj: &mut ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
_context: PlaceContext<'tcx>,
location: Location
)
[src]
fn super_projection_elem(
&mut self,
proj: &mut ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
_context: PlaceContext<'tcx>,
location: 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 super_local_decl(&mut self, local: Local, local_decl: &mut LocalDecl<'tcx>)
[src]
fn super_local_decl(&mut self, local: Local, local_decl: &mut LocalDecl<'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 super_source_scope(&mut self, _scope: &mut SourceScope)
[src]
fn super_source_scope(&mut self, _scope: &mut SourceScope)
🔬 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 super_branch(&mut self, _source: BasicBlock, _target: BasicBlock)
[src]
fn super_branch(&mut self, _source: BasicBlock, _target: BasicBlock)
🔬 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 super_constant(&mut self, constant: &mut Constant<'tcx>, location: Location)
[src]
fn super_constant(&mut self, constant: &mut Constant<'tcx>, location: 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 super_def_id(&mut self, _def_id: &mut DefId)
[src]
fn super_def_id(&mut self, _def_id: &mut DefId)
🔬 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 super_span(&mut self, _span: &mut Span)
[src]
fn super_span(&mut self, _span: &mut Span)
🔬 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 super_source_info(&mut self, source_info: &mut SourceInfo)
[src]
fn super_source_info(&mut self, source_info: &mut SourceInfo)
🔬 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 super_ty(&mut self, _ty: &mut &'tcx TyS<'tcx>)
[src]
fn super_ty(&mut self, _ty: &mut &'tcx TyS<'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 super_region(&mut self, _region: &mut &'tcx RegionKind)
[src]
fn super_region(&mut self, _region: &mut &'tcx RegionKind)
🔬 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 super_const(&mut self, _const: &mut &'tcx Const<'tcx>)
[src]
fn super_const(&mut self, _const: &mut &'tcx Const<'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 super_substs(&mut self, _substs: &mut &'tcx Slice<Kind<'tcx>>)
[src]
fn super_substs(&mut self, _substs: &mut &'tcx Slice<Kind<'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 super_generator_substs(&mut self, _substs: &mut GeneratorSubsts<'tcx>)
[src]
fn super_generator_substs(&mut self, _substs: &mut GeneratorSubsts<'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 super_closure_substs(&mut self, _substs: &mut ClosureSubsts<'tcx>)
[src]
fn super_closure_substs(&mut self, _substs: &mut ClosureSubsts<'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 visit_location(&mut self, mir: &mut Mir<'tcx>, location: Location)
[src]
fn visit_location(&mut self, mir: &mut Mir<'tcx>, location: 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?
Auto Trait Implementations
impl<'tcx> !Send for ConstantPropagationVisitor<'tcx>
impl<'tcx> !Send for ConstantPropagationVisitor<'tcx>
impl<'tcx> !Sync for ConstantPropagationVisitor<'tcx>
impl<'tcx> !Sync for ConstantPropagationVisitor<'tcx>