Struct rustc_mir::hair::pattern::check_match::MutationChecker [−][src]
struct MutationChecker<'a, 'tcx: 'a> {
cx: &'a MatchVisitor<'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?
Fields
cx: &'a MatchVisitor<'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?
Trait Implementations
impl<'a, 'tcx> Delegate<'tcx> for MutationChecker<'a, 'tcx>[src]
impl<'a, 'tcx> Delegate<'tcx> for MutationChecker<'a, 'tcx>fn matched_pat(&mut self, _: &Pat, _: &cmt_, _: MatchMode)[src]
fn matched_pat(&mut self, _: &Pat, _: &cmt_, _: MatchMode)🔬 This is a nightly-only experimental API. (rustc_private)
this 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 consume(&mut self, _: NodeId, _: Span, _: &cmt_, _: ConsumeMode)[src]
fn consume(&mut self, _: NodeId, _: Span, _: &cmt_, _: ConsumeMode)🔬 This is a nightly-only experimental API. (rustc_private)
this 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 consume_pat(&mut self, _: &Pat, _: &cmt_, _: ConsumeMode)[src]
fn consume_pat(&mut self, _: &Pat, _: &cmt_, _: ConsumeMode)🔬 This is a nightly-only experimental API. (rustc_private)
this 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 borrow(
&mut self,
_: NodeId,
span: Span,
_: &cmt_,
_: Region<'tcx>,
kind: BorrowKind,
_: LoanCause
)[src]
fn borrow(
&mut self,
_: NodeId,
span: Span,
_: &cmt_,
_: Region<'tcx>,
kind: BorrowKind,
_: LoanCause
)🔬 This is a nightly-only experimental API. (rustc_private)
this 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 decl_without_init(&mut self, _: NodeId, _: Span)[src]
fn decl_without_init(&mut self, _: NodeId, _: 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 mutate(&mut self, _: NodeId, span: Span, _: &cmt_, mode: MutateMode)[src]
fn mutate(&mut self, _: NodeId, span: Span, _: &cmt_, mode: MutateMode)🔬 This is a nightly-only experimental API. (rustc_private)
this 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 MutationChecker<'a, 'tcx>
impl<'a, 'tcx> !Send for MutationChecker<'a, 'tcx>impl<'a, 'tcx> !Sync for MutationChecker<'a, 'tcx>
impl<'a, 'tcx> !Sync for MutationChecker<'a, 'tcx>