Trait rustc::mir::visit::MutVisitor [] [src]

pub trait MutVisitor<'tcx> {
    fn visit_mir(&mut self, mir: &mut Mir<'tcx>) { ... }
fn visit_basic_block_data(
        &mut self,
        block: BasicBlock,
        data: &mut BasicBlockData<'tcx>
    ) { ... }
fn visit_visibility_scope_data(
        &mut self,
        scope_data: &mut VisibilityScopeData
    ) { ... }
fn visit_statement(
        &mut self,
        block: BasicBlock,
        statement: &mut Statement<'tcx>,
        location: Location
    ) { ... }
fn visit_assign(
        &mut self,
        block: BasicBlock,
        place: &mut Place<'tcx>,
        rvalue: &mut Rvalue<'tcx>,
        location: Location
    ) { ... }
fn visit_terminator(
        &mut self,
        block: BasicBlock,
        terminator: &mut Terminator<'tcx>,
        location: Location
    ) { ... }
fn visit_terminator_kind(
        &mut self,
        block: BasicBlock,
        kind: &mut TerminatorKind<'tcx>,
        location: Location
    ) { ... }
fn visit_assert_message(
        &mut self,
        msg: &mut AssertMessage<'tcx>,
        location: Location
    ) { ... }
fn visit_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: Location) { ... }
fn visit_operand(&mut self, operand: &mut Operand<'tcx>, location: Location) { ... }
fn visit_place(
        &mut self,
        place: &mut Place<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn visit_static(
        &mut self,
        static_: &mut Static<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn visit_projection(
        &mut self,
        place: &mut PlaceProjection<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn visit_projection_elem(
        &mut self,
        place: &mut PlaceElem<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn visit_branch(&mut self, source: BasicBlock, target: BasicBlock) { ... }
fn visit_constant(
        &mut self,
        constant: &mut Constant<'tcx>,
        location: Location
    ) { ... }
fn visit_literal(&mut self, literal: &mut Literal<'tcx>, location: Location) { ... }
fn visit_def_id(&mut self, def_id: &mut DefId, _: Location) { ... }
fn visit_span(&mut self, span: &mut Span) { ... }
fn visit_source_info(&mut self, source_info: &mut SourceInfo) { ... }
fn visit_ty(&mut self, ty: &mut Ty<'tcx>, _: TyContext) { ... }
fn visit_region(&mut self, region: &mut Region<'tcx>, _: Location) { ... }
fn visit_const(&mut self, constant: &mut &'tcx Const<'tcx>, _: Location) { ... }
fn visit_substs(&mut self, substs: &mut &'tcx Substs<'tcx>, _: Location) { ... }
fn visit_closure_substs(
        &mut self,
        substs: &mut ClosureSubsts<'tcx>,
        _: Location
    ) { ... }
fn visit_generator_interior(
        &mut self,
        interior: &mut GeneratorInterior<'tcx>,
        _: Location
    ) { ... }
fn visit_const_int(&mut self, const_int: &ConstInt, _: Location) { ... }
fn visit_const_usize(&mut self, const_usize: &mut ConstUsize, _: Location) { ... }
fn visit_local_decl(
        &mut self,
        local: Local,
        local_decl: &mut LocalDecl<'tcx>
    ) { ... }
fn visit_local(
        &mut self,
        _local: &mut Local,
        _context: PlaceContext<'tcx>,
        _location: Location
    ) { ... }
fn visit_visibility_scope(&mut self, scope: &mut VisibilityScope) { ... }
fn super_mir(&mut self, mir: &mut Mir<'tcx>) { ... }
fn super_basic_block_data(
        &mut self,
        block: BasicBlock,
        data: &mut BasicBlockData<'tcx>
    ) { ... }
fn super_visibility_scope_data(
        &mut self,
        scope_data: &mut VisibilityScopeData
    ) { ... }
fn super_statement(
        &mut self,
        block: BasicBlock,
        statement: &mut Statement<'tcx>,
        location: Location
    ) { ... }
fn super_assign(
        &mut self,
        _block: BasicBlock,
        place: &mut Place<'tcx>,
        rvalue: &mut Rvalue<'tcx>,
        location: Location
    ) { ... }
fn super_terminator(
        &mut self,
        block: BasicBlock,
        terminator: &mut Terminator<'tcx>,
        location: Location
    ) { ... }
fn super_terminator_kind(
        &mut self,
        block: BasicBlock,
        kind: &mut TerminatorKind<'tcx>,
        source_location: Location
    ) { ... }
fn super_assert_message(
        &mut self,
        msg: &mut AssertMessage<'tcx>,
        location: Location
    ) { ... }
fn super_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>, location: Location) { ... }
fn super_operand(&mut self, operand: &mut Operand<'tcx>, location: Location) { ... }
fn super_place(
        &mut self,
        place: &mut Place<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn super_static(
        &mut self,
        static_: &mut Static<'tcx>,
        _context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn super_projection(
        &mut self,
        proj: &mut PlaceProjection<'tcx>,
        context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn super_projection_elem(
        &mut self,
        proj: &mut PlaceElem<'tcx>,
        _context: PlaceContext<'tcx>,
        location: Location
    ) { ... }
fn super_local_decl(
        &mut self,
        local: Local,
        local_decl: &mut LocalDecl<'tcx>
    ) { ... }
fn super_visibility_scope(&mut self, _scope: &mut VisibilityScope) { ... }
fn super_branch(&mut self, _source: BasicBlock, _target: BasicBlock) { ... }
fn super_constant(
        &mut self,
        constant: &mut Constant<'tcx>,
        location: Location
    ) { ... }
fn super_literal(&mut self, literal: &mut Literal<'tcx>, location: Location) { ... }
fn super_def_id(&mut self, _def_id: &mut DefId) { ... }
fn super_span(&mut self, _span: &mut Span) { ... }
fn super_source_info(&mut self, source_info: &mut SourceInfo) { ... }
fn super_ty(&mut self, _ty: &mut Ty<'tcx>) { ... }
fn super_region(&mut self, _region: &mut Region<'tcx>) { ... }
fn super_const(&mut self, _const: &mut &'tcx Const<'tcx>) { ... }
fn super_substs(&mut self, _substs: &mut &'tcx Substs<'tcx>) { ... }
fn super_generator_interior(
        &mut self,
        _interior: &mut GeneratorInterior<'tcx>
    ) { ... }
fn super_closure_substs(&mut self, _substs: &mut ClosureSubsts<'tcx>) { ... }
fn super_const_int(&mut self, _const_int: &ConstInt) { ... }
fn super_const_usize(&mut self, _const_usize: &mut ConstUsize) { ... }
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?

Provided Methods

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Implementors