Move lookup_path and similar into clippy_utils::paths
This commit is contained in:
parent
b768fbe4bc
commit
f23772ce8c
15 changed files with 243 additions and 236 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue