clippy_utils::usage

Function local_used_in

source
pub fn local_used_in<'tcx>(
    cx: &LateContext<'tcx>,
    local_id: HirId,
    v: impl Visitable<'tcx>,
) -> bool