Function clippy_utils::path_to_local_id
source · Expand description
Returns true if the expression is a path to a local with the specified HirId
.
Use this function to see if an expression matches a function argument or a match binding.