]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/types/redundant_allocation.rs
rustc_typeck to rustc_hir_analysis
[rust.git] / clippy_lints / src / types / redundant_allocation.rs
index a1312fcda0b71f251b6443e78b23d12438135ccb..d81c5c83845d852f759d6ef551eb9f6c9551f22a 100644 (file)
@@ -5,7 +5,7 @@
 use rustc_hir::{self as hir, def_id::DefId, QPath, TyKind};
 use rustc_lint::LateContext;
 use rustc_span::symbol::sym;
-use rustc_typeck::hir_ty_to_ty;
+use rustc_hir_analysis::hir_ty_to_ty;
 
 use super::{utils, REDUNDANT_ALLOCATION};