[−][src]Struct rustc_borrowck::borrowck::BorrowckCtxt
🔬 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, '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?
tables: &'a TypeckTables<'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?
region_scope_tree: Lrc<ScopeTree>
🔬 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?
owner_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?
body: &'tcx Body
🔬 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?
used_mut_nodes: RefCell<FxHashSet<HirId>>
🔬 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?
signalled_any_error: Cell<SignalledError>
🔬 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, 'tcx: 'a> BorrowckCtxt<'a, 'tcx>[src]
impl<'a, 'tcx: 'a> BorrowckCtxt<'a, 'tcx>fn signal_error(&self)[src]
fn signal_error(&self)🔬 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, 'tcx> BorrowckCtxt<'a, 'tcx>[src]
impl<'a, 'tcx> BorrowckCtxt<'a, 'tcx>pub fn is_subregion_of(&self, r_sub: Region<'tcx>, r_sup: Region<'tcx>) -> bool[src]
pub fn is_subregion_of(&self, r_sub: Region<'tcx>, r_sup: Region<'tcx>) -> 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?
pub fn report(&self, err: BckError<'a, 'tcx>)[src]
pub fn report(&self, err: BckError<'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?
pub fn report_use_of_moved_value(
&self,
use_span: Span,
use_kind: MovedValueUseKind,
lp: &LoanPath<'tcx>,
the_move: &Move,
moved_lp: &LoanPath<'tcx>
)[src]
pub fn report_use_of_moved_value(
&self,
use_span: Span,
use_kind: MovedValueUseKind,
lp: &LoanPath<'tcx>,
the_move: &Move,
moved_lp: &LoanPath<'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?
pub fn report_partial_reinitialization_of_uninitialized_structure(
&self,
span: Span,
lp: &LoanPath<'tcx>
)[src]
pub fn report_partial_reinitialization_of_uninitialized_structure(
&self,
span: Span,
lp: &LoanPath<'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?
pub fn report_reassigned_immutable_variable(
&self,
span: Span,
lp: &LoanPath<'tcx>,
assign: &Assignment
)[src]
pub fn report_reassigned_immutable_variable(
&self,
span: Span,
lp: &LoanPath<'tcx>,
assign: &Assignment
)🔬 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 report_bckerr(&self, err: &BckError<'a, 'tcx>)[src]
fn report_bckerr(&self, err: &BckError<'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?
pub fn report_aliasability_violation(
&self,
span: Span,
kind: AliasableViolationKind,
cause: AliasableReason,
cmt: &cmt_<'tcx>
)[src]
pub fn report_aliasability_violation(
&self,
span: Span,
kind: AliasableViolationKind,
cause: AliasableReason,
cmt: &cmt_<'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 suggest_mut_for_immutable(
&self,
pty: &Ty,
is_implicit_self: bool
) -> Option<String>[src]
fn suggest_mut_for_immutable(
&self,
pty: &Ty,
is_implicit_self: bool
) -> Option<String>🔬 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?
Given a type, if it is an immutable reference, return a suggestion to make it mutable
fn local_binding_mode(&self, node_id: NodeId) -> BindingMode[src]
fn local_binding_mode(&self, node_id: NodeId) -> BindingMode🔬 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 local_ty(&self, node_id: NodeId) -> (Option<&Ty>, bool)[src]
fn local_ty(&self, node_id: NodeId) -> (Option<&Ty>, 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?
fn note_immutability_blame(
&self,
db: &mut DiagnosticBuilder,
blame: Option<ImmutabilityBlame>,
error_node_id: NodeId
)[src]
fn note_immutability_blame(
&self,
db: &mut DiagnosticBuilder,
blame: Option<ImmutabilityBlame>,
error_node_id: NodeId
)🔬 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 note_immutable_local(
&self,
db: &mut DiagnosticBuilder,
borrowed_node_id: NodeId,
binding_node_id: NodeId
)[src]
fn note_immutable_local(
&self,
db: &mut DiagnosticBuilder,
borrowed_node_id: NodeId,
binding_node_id: NodeId
)🔬 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 report_out_of_scope_escaping_closure_capture(
&self,
err: &BckError<'a, 'tcx>,
capture_span: Span
)[src]
fn report_out_of_scope_escaping_closure_capture(
&self,
err: &BckError<'a, 'tcx>,
capture_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 region_end_span(&self, region: Region<'tcx>) -> Option<Span>[src]
fn region_end_span(&self, region: Region<'tcx>) -> Option<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 note_and_explain_mutbl_error(
&self,
db: &mut DiagnosticBuilder,
err: &BckError<'a, 'tcx>,
error_span: &Span
)[src]
fn note_and_explain_mutbl_error(
&self,
db: &mut DiagnosticBuilder,
err: &BckError<'a, 'tcx>,
error_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?
pub fn append_loan_path_to_string(
&self,
loan_path: &LoanPath<'tcx>,
out: &mut String
)[src]
pub fn append_loan_path_to_string(
&self,
loan_path: &LoanPath<'tcx>,
out: &mut String
)🔬 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?
pub fn append_autoderefd_loan_path_to_string(
&self,
loan_path: &LoanPath<'tcx>,
out: &mut String
)[src]
pub fn append_autoderefd_loan_path_to_string(
&self,
loan_path: &LoanPath<'tcx>,
out: &mut String
)🔬 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?
pub fn loan_path_to_string(&self, loan_path: &LoanPath<'tcx>) -> String[src]
pub fn loan_path_to_string(&self, loan_path: &LoanPath<'tcx>) -> String🔬 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?
pub fn cmt_to_string(&self, cmt: &cmt_<'tcx>) -> String[src]
pub fn cmt_to_string(&self, cmt: &cmt_<'tcx>) -> String🔬 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?
pub fn cmt_to_path_or_string(&self, cmt: &cmt_<'tcx>) -> String[src]
pub fn cmt_to_path_or_string(&self, cmt: &cmt_<'tcx>) -> String🔬 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: 'b> BorrowckErrors<'a> for &'a BorrowckCtxt<'b, 'tcx>[src]
impl<'a, 'b, 'tcx: 'b> BorrowckErrors<'a> for &'a BorrowckCtxt<'b, 'tcx>fn struct_span_err_with_code<S: Into<MultiSpan>>(
self,
sp: S,
msg: &str,
code: DiagnosticId
) -> DiagnosticBuilder<'a>[src]
fn struct_span_err_with_code<S: Into<MultiSpan>>(
self,
sp: S,
msg: &str,
code: DiagnosticId
) -> DiagnosticBuilder<'a>🔬 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 struct_span_err<S: Into<MultiSpan>>(
self,
sp: S,
msg: &str
) -> DiagnosticBuilder<'a>[src]
fn struct_span_err<S: Into<MultiSpan>>(
self,
sp: S,
msg: &str
) -> DiagnosticBuilder<'a>🔬 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 cancel_if_wrong_origin(
self,
diag: DiagnosticBuilder<'a>,
o: Origin
) -> DiagnosticBuilder<'a>[src]
fn cancel_if_wrong_origin(
self,
diag: DiagnosticBuilder<'a>,
o: Origin
) -> DiagnosticBuilder<'a>🔬 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?
Cancels the given error if we shouldn't emit errors for a given origin in the current mode. Read more
fn cannot_move_when_borrowed(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_move_when_borrowed(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_use_when_mutably_borrowed(
self,
span: Span,
desc: &str,
borrow_span: Span,
borrow_desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_use_when_mutably_borrowed(
self,
span: Span,
desc: &str,
borrow_span: Span,
borrow_desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_act_on_uninitialized_variable(
self,
span: Span,
verb: &str,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_act_on_uninitialized_variable(
self,
span: Span,
verb: &str,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_mutably_borrow_multiply(
self,
new_loan_span: Span,
desc: &str,
opt_via: &str,
old_loan_span: Span,
old_opt_via: &str,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_mutably_borrow_multiply(
self,
new_loan_span: Span,
desc: &str,
opt_via: &str,
old_loan_span: Span,
old_opt_via: &str,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_uniquely_borrow_by_two_closures(
self,
new_loan_span: Span,
desc: &str,
old_loan_span: Span,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_uniquely_borrow_by_two_closures(
self,
new_loan_span: Span,
desc: &str,
old_loan_span: Span,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_uniquely_borrow_by_one_closure(
self,
new_loan_span: Span,
desc_new: &str,
opt_via: &str,
old_loan_span: Span,
noun_old: &str,
old_opt_via: &str,
previous_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_uniquely_borrow_by_one_closure(
self,
new_loan_span: Span,
desc_new: &str,
opt_via: &str,
old_loan_span: Span,
noun_old: &str,
old_opt_via: &str,
previous_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_reborrow_already_uniquely_borrowed(
self,
new_loan_span: Span,
desc_new: &str,
opt_via: &str,
kind_new: &str,
old_loan_span: Span,
old_opt_via: &str,
previous_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_reborrow_already_uniquely_borrowed(
self,
new_loan_span: Span,
desc_new: &str,
opt_via: &str,
kind_new: &str,
old_loan_span: Span,
old_opt_via: &str,
previous_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_reborrow_already_borrowed(
self,
span: Span,
desc_new: &str,
msg_new: &str,
kind_new: &str,
old_span: Span,
noun_old: &str,
kind_old: &str,
msg_old: &str,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_reborrow_already_borrowed(
self,
span: Span,
desc_new: &str,
msg_new: &str,
kind_new: &str,
old_span: Span,
noun_old: &str,
kind_old: &str,
msg_old: &str,
old_load_end_span: Option<Span>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_assign_to_borrowed(
self,
span: Span,
borrow_span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_assign_to_borrowed(
self,
span: Span,
borrow_span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_move_into_closure(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_move_into_closure(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_reassign_immutable(
self,
span: Span,
desc: &str,
is_arg: bool,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_reassign_immutable(
self,
span: Span,
desc: &str,
is_arg: bool,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_assign(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_assign(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_assign_static(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_assign_static(
self,
span: Span,
desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_move_out_of(
self,
move_from_span: Span,
move_from_desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_move_out_of(
self,
move_from_span: Span,
move_from_desc: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_move_out_of_interior_noncopy(
self,
move_from_span: Span,
ty: &TyS,
is_index: Option<bool>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_move_out_of_interior_noncopy(
self,
move_from_span: Span,
ty: &TyS,
is_index: Option<bool>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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?
Signal an error due to an attempt to move out of the interior of an array or slice. is_index is None when error origin didn't capture whether there was an indexing operation or not. Read more
fn cannot_move_out_of_interior_of_drop(
self,
move_from_span: Span,
container_ty: &TyS,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_move_out_of_interior_of_drop(
self,
move_from_span: Span,
container_ty: &TyS,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_act_on_moved_value(
self,
use_span: Span,
verb: &str,
optional_adverb_for_moved: &str,
moved_path: Option<String>,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_act_on_moved_value(
self,
use_span: Span,
verb: &str,
optional_adverb_for_moved: &str,
moved_path: Option<String>,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_partially_reinit_an_uninit_struct(
self,
span: Span,
uninit_path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_partially_reinit_an_uninit_struct(
self,
span: Span,
uninit_path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 closure_cannot_assign_to_borrowed(
self,
span: Span,
descr: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn closure_cannot_assign_to_borrowed(
self,
span: Span,
descr: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_borrow_path_as_mutable_because(
self,
span: Span,
path: &str,
reason: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_borrow_path_as_mutable_because(
self,
span: Span,
path: &str,
reason: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_borrow_path_as_mutable(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_borrow_path_as_mutable(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_borrow_across_generator_yield(
self,
span: Span,
yield_span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_borrow_across_generator_yield(
self,
span: Span,
yield_span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 path_does_not_live_long_enough(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn path_does_not_live_long_enough(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 lifetime_too_short_for_reborrow(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn lifetime_too_short_for_reborrow(
self,
span: Span,
path: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_act_on_capture_in_sharable_fn(
self,
span: Span,
bad_thing: &str,
help: (Span, &str),
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_act_on_capture_in_sharable_fn(
self,
span: Span,
bad_thing: &str,
help: (Span, &str),
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_assign_into_immutable_reference(
self,
span: Span,
bad_thing: &str,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_assign_into_immutable_reference(
self,
span: Span,
bad_thing: &str,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 cannot_capture_in_long_lived_closure(
self,
closure_span: Span,
borrowed_path: &str,
capture_span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn cannot_capture_in_long_lived_closure(
self,
closure_span: Span,
borrowed_path: &str,
capture_span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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 thread_local_value_does_not_live_long_enough(
self,
span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>[src]
fn thread_local_value_does_not_live_long_enough(
self,
span: Span,
o: Origin
) -> DiagnosticBuilder<'cx>🔬 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, 'tcx> !Send for BorrowckCtxt<'a, 'tcx>
impl<'a, 'tcx> !Send for BorrowckCtxt<'a, 'tcx>impl<'a, 'tcx> !Sync for BorrowckCtxt<'a, 'tcx>
impl<'a, 'tcx> !Sync for BorrowckCtxt<'a, 'tcx>Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<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) -> &TImmutably 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 TMutably 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 Efn 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 Timpl<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 Timpl<T> MaybeResult for T[src]
impl<T> MaybeResult for Tfn 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,