diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-03-13 17:01:03 -0600 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-03-15 13:44:09 -0500 |
| commit | eb7f8d6089e2dba4006f0452ab25262735bbbf61 (patch) | |
| tree | 220d35be34d239f540f65a2a9a4ce0cc52af6770 /clippy_lints/src/methods/expect_fun_call.rs | |
| parent | 0e042d2f7070f071cfc0c426181634d5d27cfa5c (diff) | |
Move some utils to ty_utils
Diffstat (limited to 'clippy_lints/src/methods/expect_fun_call.rs')
| -rw-r--r-- | clippy_lints/src/methods/expect_fun_call.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/expect_fun_call.rs b/clippy_lints/src/methods/expect_fun_call.rs index 6866e9c652a..3de35c930ea 100644 --- a/clippy_lints/src/methods/expect_fun_call.rs +++ b/clippy_lints/src/methods/expect_fun_call.rs @@ -1,4 +1,5 @@ -use crate::utils::{is_expn_of, is_type_diagnostic_item, snippet, snippet_with_applicability, span_lint_and_sugg}; +use crate::utils::{is_expn_of, snippet, snippet_with_applicability, span_lint_and_sugg}; +use clippy_utils::ty::is_type_diagnostic_item; use if_chain::if_chain; use rustc_errors::Applicability; use rustc_hir as hir; |
