Module rustc::middle::expr_use_visitor [] [src]

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

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

A different sort of visitor for walking fn bodies. Unlike the normal visitor, which just walks the entire body in one shot, the ExprUseVisitor determines how expressions are being used.

Re-exports

pub use self::LoanCause::*;
pub use self::ConsumeMode::*;
pub use self::MoveReason::*;
pub use self::MatchMode::*;

Structs

ExprUseVisitor [
Experimental
]

Enums

ConsumeMode [
Experimental
]
LoanCause [
Experimental
]
MatchMode [
Experimental
]
MoveReason [
Experimental
]
MutateMode [
Experimental
]

Traits

Delegate [
Experimental
]

This trait defines the callbacks you can expect to receive when employing the ExprUseVisitor.