[−][src]Struct rustc_mir::borrow_check::borrow_set::GatherBorrows
🔬 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
tcx: TyCtxt<'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?
mir: &'a 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?
idx_vec: IndexVec<BorrowIndex, 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?
location_map: FxHashMap<Location, BorrowIndex>
🔬 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?
activation_map: FxHashMap<Location, Vec<BorrowIndex>>
🔬 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?
region_map: FxHashMap<Region<'tcx>, FxHashSet<BorrowIndex>>
🔬 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_map: FxHashMap<Local, FxHashSet<BorrowIndex>>
🔬 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?
pending_activations: FxHashMap<Local, BorrowIndex>
🔬 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?
When we encounter a 2-phase borrow statement, it will always be assigning into a temporary TEMP:
TEMP = &foo
We add TEMP into this map with b
, where b
is the index of
the borrow. When we find a later use of this activation, we
remove from the map (and add to the "tombstone" set below).
locals_state_at_exit: LocalsStateAtExit
🔬 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<'a, 'gcx, 'tcx> GatherBorrows<'a, 'gcx, 'tcx>
[src]
impl<'a, 'gcx, 'tcx> GatherBorrows<'a, 'gcx, 'tcx>
fn allow_two_phase_borrow(&self, kind: BorrowKind) -> bool
[src]
fn allow_two_phase_borrow(&self, kind: BorrowKind) -> 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?
Returns true if the borrow represented by kind
is
allowed to be split into separate Reservation and
Activation phases.
fn insert_as_pending_if_two_phase(
&mut self,
start_location: Location,
assigned_place: &Place<'tcx>,
region: Region<'tcx>,
kind: BorrowKind,
borrow_index: BorrowIndex
)
[src]
fn insert_as_pending_if_two_phase(
&mut self,
start_location: Location,
assigned_place: &Place<'tcx>,
region: Region<'tcx>,
kind: BorrowKind,
borrow_index: BorrowIndex
)
🔬 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?
If this is a two-phase borrow, then we will record it as "pending" until we find the activating use.
Trait Implementations
impl<'a, 'gcx, 'tcx> Visitor<'tcx> for GatherBorrows<'a, 'gcx, 'tcx>
[src]
impl<'a, 'gcx, 'tcx> Visitor<'tcx> for GatherBorrows<'a, 'gcx, 'tcx>
fn visit_assign(
&mut self,
block: BasicBlock,
assigned_place: &Place<'tcx>,
rvalue: &Rvalue<'tcx>,
location: Location
)
[src]
fn visit_assign(
&mut self,
block: BasicBlock,
assigned_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_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_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_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_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_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_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_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_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_ascribe_user_ty(
&mut self,
place: &Place<'tcx>,
variance: &Variance,
c_ty: &Canonical<'tcx, &'tcx TyS<'tcx>>,
location: Location
)
[src]
fn visit_ascribe_user_ty(
&mut self,
place: &Place<'tcx>,
variance: &Variance,
c_ty: &Canonical<'tcx, &'tcx TyS<'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_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_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_canonical_ty(&mut self, ty: &Canonical<'tcx, &'tcx TyS<'tcx>>)
[src]
fn visit_canonical_ty(&mut self, ty: &Canonical<'tcx, &'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 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 List<Kind<'tcx>>, Location)
[src]
fn visit_substs(&mut self, substs: &&'tcx List<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_ascribe_user_ty(
&mut self,
place: &Place<'tcx>,
_variance: &Variance,
c_ty: &Canonical<'tcx, &'tcx TyS<'tcx>>,
location: Location
)
[src]
fn super_ascribe_user_ty(
&mut self,
place: &Place<'tcx>,
_variance: &Variance,
c_ty: &Canonical<'tcx, &'tcx TyS<'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_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_canonical_ty(&mut self, _ty: &Canonical<'tcx, &'tcx TyS<'tcx>>)
[src]
fn super_canonical_ty(&mut self, _ty: &Canonical<'tcx, &'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_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 List<Kind<'tcx>>)
[src]
fn super_substs(&mut self, _substs: &&'tcx List<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<'a, 'gcx, 'tcx> !Send for GatherBorrows<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Send for GatherBorrows<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Sync for GatherBorrows<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Sync for GatherBorrows<'a, 'gcx, 'tcx>
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T
[src]
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
[src]
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
🔬 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?
Create an error for a missing method specialization. Defaults to panicking with type, trait & method names. S
is the encoder/decoder state type, T
is the type being encoded/decoded, and the arguments are the names of the trait and method that should've been overridden. Read more
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> Erased for T
impl<T> Erased for T
impl<T> MaybeResult for T
[src]
impl<T> MaybeResult for T
fn from_ok(x: T) -> T
[src]
fn from_ok(x: T) -> 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 map_same<F>(self, f: F) -> T where
F: FnOnce(T) -> T,
[src]
fn map_same<F>(self, f: F) -> T where
F: FnOnce(T) -> 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?
impl<'a, T> Captures for T where
T: ?Sized,
[src]
impl<'a, T> Captures for T where
T: ?Sized,