Struct rustc_mir::transform::const_prop::ConstPropagator [−][src]
struct ConstPropagator<'b, 'a, 'tcx: 'a + 'b> {
ecx: EvalContext<'a, 'b, 'tcx, CompileTimeEvaluator>,
mir: &'b Mir<'tcx>,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
source: MirSource,
places: IndexVec<Local, Option<(Value, TyLayout<'tcx>, Span)>>,
can_const_prop: IndexVec<Local, bool>,
param_env: ParamEnv<'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?
Finds optimization opportunities on the MIR.
Fields
ecx: EvalContext<'a, 'b, 'tcx, CompileTimeEvaluator>
🔬 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?
mir: &'b 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?
tcx: TyCtxt<'a, 'tcx, '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?
source: MirSource
🔬 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?
places: IndexVec<Local, Option<(Value, TyLayout<'tcx>, 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?
can_const_prop: IndexVec<Local, 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?
param_env: ParamEnv<'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?
Methods
impl<'b, 'a, 'tcx: 'b> ConstPropagator<'b, 'a, 'tcx>[src]
impl<'b, 'a, 'tcx: 'b> ConstPropagator<'b, 'a, 'tcx>fn new(
mir: &'b Mir<'tcx>,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
source: MirSource
) -> ConstPropagator<'b, 'a, 'tcx>[src]
fn new(
mir: &'b Mir<'tcx>,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
source: MirSource
) -> ConstPropagator<'b, 'a, '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 use_ecx<F, T>(&mut self, source_info: SourceInfo, f: F) -> Option<T> where
F: FnOnce(&mut Self) -> EvalResult<'tcx, T>, [src]
fn use_ecx<F, T>(&mut self, source_info: SourceInfo, f: F) -> Option<T> where
F: FnOnce(&mut Self) -> EvalResult<'tcx, T>, 🔬 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 eval_constant(
&mut self,
c: &Constant<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, Span)>[src]
fn eval_constant(
&mut self,
c: &Constant<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, 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 eval_place(
&mut self,
place: &Place<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, Span)>[src]
fn eval_place(
&mut self,
place: &Place<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, 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 eval_operand(
&mut self,
op: &Operand<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, Span)>[src]
fn eval_operand(
&mut self,
op: &Operand<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, 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 const_prop(
&mut self,
rvalue: &Rvalue<'tcx>,
place_layout: TyLayout<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, Span)>[src]
fn const_prop(
&mut self,
rvalue: &Rvalue<'tcx>,
place_layout: TyLayout<'tcx>,
source_info: SourceInfo
) -> Option<(Value, TyLayout<'tcx>, 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?
Trait Implementations
impl<'a, 'b, 'tcx> LayoutOf for &'a ConstPropagator<'a, 'b, 'tcx>[src]
impl<'a, 'b, 'tcx> LayoutOf for &'a ConstPropagator<'a, 'b, 'tcx>type Ty = Ty<'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?
type TyLayout = Result<TyLayout<'tcx>, LayoutError<'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 layout_of(self, ty: Ty<'tcx>) -> Self::TyLayout[src]
fn layout_of(self, ty: Ty<'tcx>) -> Self::TyLayout🔬 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<'a, 'b, 'tcx> HasDataLayout for &'a ConstPropagator<'a, 'b, 'tcx>[src]
impl<'a, 'b, 'tcx> HasDataLayout for &'a ConstPropagator<'a, 'b, 'tcx>fn data_layout(&self) -> &TargetDataLayout[src]
fn data_layout(&self) -> &TargetDataLayout🔬 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<'a, 'b, 'tcx> HasTyCtxt<'tcx> for &'a ConstPropagator<'a, 'b, 'tcx>[src]
impl<'a, 'b, 'tcx> HasTyCtxt<'tcx> for &'a ConstPropagator<'a, 'b, 'tcx>fn tcx<'c>(&'c self) -> TyCtxt<'c, 'tcx, 'tcx>[src]
fn tcx<'c>(&'c self) -> TyCtxt<'c, 'tcx, '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, 'tcx> Visitor<'tcx> for ConstPropagator<'b, 'a, 'tcx>[src]
impl<'b, 'a, 'tcx> Visitor<'tcx> for ConstPropagator<'b, 'a, 'tcx>fn visit_constant(&mut self, constant: &Constant<'tcx>, location: Location)[src]
fn visit_constant(&mut self, constant: &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_statement(
&mut self,
block: BasicBlock,
statement: &Statement<'tcx>,
location: Location
)[src]
fn visit_statement(
&mut self,
block: BasicBlock,
statement: &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_terminator_kind(
&mut self,
block: BasicBlock,
kind: &TerminatorKind<'tcx>,
location: Location
)[src]
fn visit_terminator_kind(
&mut self,
block: BasicBlock,
kind: &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_mir(&mut self, mir: &Mir<'tcx>)[src]
fn visit_mir(&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?
fn visit_basic_block_data(
&mut self,
block: BasicBlock,
data: &BasicBlockData<'tcx>
)[src]
fn visit_basic_block_data(
&mut self,
block: BasicBlock,
data: &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: &SourceScopeData)[src]
fn visit_source_scope_data(&mut self, scope_data: &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_assign(
&mut self,
block: BasicBlock,
place: &Place<'tcx>,
rvalue: &Rvalue<'tcx>,
location: Location
)[src]
fn visit_assign(
&mut self,
block: BasicBlock,
place: &Place<'tcx>,
rvalue: &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: &Terminator<'tcx>,
location: Location
)[src]
fn visit_terminator(
&mut self,
block: BasicBlock,
terminator: &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_assert_message(
&mut self,
msg: &EvalErrorKind<'tcx, Operand<'tcx>>,
location: Location
)[src]
fn visit_assert_message(
&mut self,
msg: &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: &Rvalue<'tcx>, location: Location)[src]
fn visit_rvalue(&mut self, rvalue: &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_operand(&mut self, operand: &Operand<'tcx>, location: Location)[src]
fn visit_operand(&mut self, operand: &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_user_assert_ty(
&mut self,
c_ty: &Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &Local,
location: Location
)[src]
fn visit_user_assert_ty(
&mut self,
c_ty: &Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &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: &Place<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn visit_place(
&mut self,
place: &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_: &Static<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn visit_static(
&mut self,
static_: &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: &Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn visit_projection(
&mut self,
place: &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: &ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn visit_projection_elem(
&mut self,
place: &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_def_id(&mut self, def_id: &DefId, Location)[src]
fn visit_def_id(&mut self, def_id: &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: &Span)[src]
fn visit_span(&mut self, span: &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: &SourceInfo)[src]
fn visit_source_info(&mut self, source_info: &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: &&'tcx TyS<'tcx>, TyContext)[src]
fn visit_ty(&mut self, ty: &&'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: &&'tcx RegionKind, Location)[src]
fn visit_region(&mut self, region: &&'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: &&'tcx Const<'tcx>, Location)[src]
fn visit_const(&mut self, constant: &&'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: &&'tcx Slice<Kind<'tcx>>, Location)[src]
fn visit_substs(&mut self, substs: &&'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: &ClosureSubsts<'tcx>, Location)[src]
fn visit_closure_substs(&mut self, substs: &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: &GeneratorSubsts<'tcx>, Location)[src]
fn visit_generator_substs(&mut self, substs: &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: &LocalDecl<'tcx>)[src]
fn visit_local_decl(&mut self, local: Local, local_decl: &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: &Local,
_context: PlaceContext<'tcx>,
_location: Location
)[src]
fn visit_local(
&mut self,
_local: &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: &SourceScope)[src]
fn visit_source_scope(&mut self, scope: &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: &Mir<'tcx>)[src]
fn super_mir(&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?
fn super_basic_block_data(
&mut self,
block: BasicBlock,
data: &BasicBlockData<'tcx>
)[src]
fn super_basic_block_data(
&mut self,
block: BasicBlock,
data: &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: &SourceScopeData)[src]
fn super_source_scope_data(&mut self, scope_data: &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: &Statement<'tcx>,
location: Location
)[src]
fn super_statement(
&mut self,
block: BasicBlock,
statement: &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: &Place<'tcx>,
rvalue: &Rvalue<'tcx>,
location: Location
)[src]
fn super_assign(
&mut self,
_block: BasicBlock,
place: &Place<'tcx>,
rvalue: &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: &Terminator<'tcx>,
location: Location
)[src]
fn super_terminator(
&mut self,
block: BasicBlock,
terminator: &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: &TerminatorKind<'tcx>,
source_location: Location
)[src]
fn super_terminator_kind(
&mut self,
block: BasicBlock,
kind: &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: &EvalErrorKind<'tcx, Operand<'tcx>>,
location: Location
)[src]
fn super_assert_message(
&mut self,
msg: &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: &Rvalue<'tcx>, location: Location)[src]
fn super_rvalue(&mut self, rvalue: &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: &Operand<'tcx>, location: Location)[src]
fn super_operand(&mut self, operand: &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: &Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &Local,
location: Location
)[src]
fn super_user_assert_ty(
&mut self,
_c_ty: &Canonical<'tcx, &'tcx TyS<'tcx>>,
local: &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: &Place<'tcx>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn super_place(
&mut self,
place: &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_: &Static<'tcx>,
_context: PlaceContext<'tcx>,
location: Location
)[src]
fn super_static(
&mut self,
static_: &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: &Projection<'tcx, Place<'tcx>, Local, &'tcx TyS<'tcx>>,
context: PlaceContext<'tcx>,
location: Location
)[src]
fn super_projection(
&mut self,
proj: &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: &ProjectionElem<'tcx, Local, &'tcx TyS<'tcx>>,
_context: PlaceContext<'tcx>,
location: Location
)[src]
fn super_projection_elem(
&mut self,
proj: &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: &LocalDecl<'tcx>)[src]
fn super_local_decl(&mut self, local: Local, local_decl: &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: &SourceScope)[src]
fn super_source_scope(&mut self, _scope: &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: &Constant<'tcx>, location: Location)[src]
fn super_constant(&mut self, constant: &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: &DefId)[src]
fn super_def_id(&mut self, _def_id: &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: &Span)[src]
fn super_span(&mut self, _span: &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: &SourceInfo)[src]
fn super_source_info(&mut self, source_info: &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: &&'tcx TyS<'tcx>)[src]
fn super_ty(&mut self, _ty: &&'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: &&'tcx RegionKind)[src]
fn super_region(&mut self, _region: &&'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: &&'tcx Const<'tcx>)[src]
fn super_const(&mut self, _const: &&'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: &&'tcx Slice<Kind<'tcx>>)[src]
fn super_substs(&mut self, _substs: &&'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: &GeneratorSubsts<'tcx>)[src]
fn super_generator_substs(&mut self, _substs: &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: &ClosureSubsts<'tcx>)[src]
fn super_closure_substs(&mut self, _substs: &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: &Mir<'tcx>, location: Location)[src]
fn visit_location(&mut self, mir: &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<'b, 'a, 'tcx> !Send for ConstPropagator<'b, 'a, 'tcx>
impl<'b, 'a, 'tcx> !Send for ConstPropagator<'b, 'a, 'tcx>impl<'b, 'a, 'tcx> !Sync for ConstPropagator<'b, 'a, 'tcx>
impl<'b, 'a, 'tcx> !Sync for ConstPropagator<'b, 'a, 'tcx>