Module clippy_utils::mir
source · Modules
Structs
Functions
Returns the
mir::Body
containing the node associated with hir_id
.Tries to determine the
Local
corresponding to expr
, if any.
This function is expensive and should be used sparingly.Returns a vector of
mir::Location
where local
is assigned.Convenience wrapper around
visit_local_usage
.