Move some utils to ty_utils
This commit is contained in:
parent
0e042d2f70
commit
eb7f8d6089
114 changed files with 578 additions and 509 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use crate::utils::{is_type_diagnostic_item, span_lint_and_sugg};
|
||||
use crate::utils::span_lint_and_sugg;
|
||||
use clippy_utils::ty::is_type_diagnostic_item;
|
||||
use if_chain::if_chain;
|
||||
use rustc_ast::ast::LitKind;
|
||||
use rustc_errors::Applicability;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue