about summary refs log tree commit diff
path: root/clippy_lints/src/fallible_impl_from.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/fallible_impl_from.rs')
-rw-r--r--clippy_lints/src/fallible_impl_from.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/fallible_impl_from.rs b/clippy_lints/src/fallible_impl_from.rs
index f466dddc13c..cc4e570956b 100644
--- a/clippy_lints/src/fallible_impl_from.rs
+++ b/clippy_lints/src/fallible_impl_from.rs
@@ -1,4 +1,5 @@
-use crate::utils::{is_expn_of, is_type_diagnostic_item, match_panic_def_id, method_chain_args, span_lint_and_then};
+use crate::utils::{is_expn_of, match_panic_def_id, method_chain_args, span_lint_and_then};
+use clippy_utils::ty::is_type_diagnostic_item;
 use if_chain::if_chain;
 use rustc_hir as hir;
 use rustc_lint::{LateContext, LateLintPass};