pub fn is_res_used(cx: &LateContext<'_>, res: Res, body: BodyId) -> bool
Expand description

Checks if the given resolved path is used in the given body.