fn qpath_search_pat(path: &QPath<'_>) -> (Pat, Pat)
Get the search patterns to use for the given path