Function clippy_utils::visitors::is_local_used
source ยท pub fn is_local_used<'tcx>(
cx: &LateContext<'tcx>,
visitable: impl Visitable<'tcx>,
id: HirId,
) -> bool
Expand description
Checks if the given local is used.