Move some utils to ty_utils

This commit is contained in:
Cameron Steffen
2021-03-13 17:01:03 -06:00
parent 0e042d2f70
commit eb7f8d6089
114 changed files with 578 additions and 509 deletions

View File

@@ -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};