get_path_from_caller_to_method_type in clippy_utils - Rust
Description: Produces a path from a local caller to the type of the called method. Suitable for user output/suggestions.

Skip to main content

## get_path_from_caller_to_method_type

# Function get_path_from_caller_to_method_type

Source

    pub fn get_path_from_caller_to_method_type<'tcx>(
        tcx: TyCtxt<'tcx>,
        from: LocalDefId,
        method: DefId,
        args: GenericArgsRef<'tcx>,
    ) -> String

Expand description

Produces a path from a local caller to the type of the called method. Suitable for user output/suggestions.

Returned path can be either absolute (for methods defined non-locally), or relative (for local methods).