Move lookup_path and similar into clippy_utils::paths

This commit is contained in:
Alex Macleod 2025-05-04 17:07:20 +00:00
parent b768fbe4bc
commit f23772ce8c
15 changed files with 243 additions and 236 deletions

View file

@ -1,7 +1,7 @@
#![feature(rustc_private)]
use clippy_utils::paths::PathLookup;
use clippy_utils::{PathNS, macro_path, sym, type_path, value_path};
use clippy_utils::paths::{PathLookup, PathNS};
use clippy_utils::{macro_path, sym, type_path, value_path};
static OPTION: PathLookup = type_path!(core::option::Option);
//~^ unnecessary_def_path