Move some utils to ty_utils
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use crate::utils::{is_copy, match_def_path, paths, span_lint_and_note};
|
||||
use crate::utils::{match_def_path, paths, span_lint_and_note};
|
||||
use clippy_utils::ty::is_copy;
|
||||
use if_chain::if_chain;
|
||||
use rustc_hir::{Expr, ExprKind};
|
||||
use rustc_lint::{LateContext, LateLintPass};
|
||||
|
||||
Reference in New Issue
Block a user