Function clippy_utils::match_any_def_paths
source · [−]Expand description
Checks if the given DefId matches any of the paths. Returns the index of matching path, if
any.
Please use match_any_diagnostic_items if the targets are all diagnostic items.