Function clippy_utils::mir::used_exactly_once
source · pub fn used_exactly_once(mir: &Body<'_>, local: Local) -> Option<bool>
Expand description
Convenience wrapper around visit_local_usage
.
pub fn used_exactly_once(mir: &Body<'_>, local: Local) -> Option<bool>
Convenience wrapper around visit_local_usage
.