clippy_utils

Function get_path_to_callee

Source
pub(crate) fn get_path_to_callee(
    tcx: TyCtxt<'_>,
    from: LocalDefId,
    callee: DefId,
) -> String
Expand description

Produce a path from some local caller to the callee. Suitable for user output/suggestions.