Module clippy_utils::mir
source ยท Modulesยง
- possible_borrower ๐
- possible_origin ๐
- transitive_relation ๐
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. - is_local_assignment ๐
- Returns a vector of
mir::Location
wherelocal
is assigned. - Convenience wrapper around
visit_local_usage
.