Module clippy_utils::mir
source · Modules
Structs
- Result of
PossibleBorrowerVisitor
. - V 🔒
Functions
- Checks if the block is part of a cycle
- Returns the
mir::Body
containing the node associated withhir_id
. - Tries to determine the
Local
corresponding toexpr
, if any. This function is expensive and should be used sparingly. - Returns a vector of
mir::Location
wherelocal
is assigned. - Convenience wrapper around
visit_local_usage
.