about summary refs log tree commit diff
path: root/src/librustc_ty
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-31 21:38:14 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2020-04-02 13:40:43 +0200
commit6daff1400a28fef4616a23a6c04cb5569df2b8d6 (patch)
tree0e134b64efe2aed6fc71c3143869fcb6094c8c6a /src/librustc_ty
parent86c0fca44bc0b49085b177d0244bc300f6cd4655 (diff)
direct imports for langitem stuff
Diffstat (limited to 'src/librustc_ty')
-rw-r--r--src/librustc_ty/common_traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_ty/common_traits.rs b/src/librustc_ty/common_traits.rs
index 597bc854604..265b811571a 100644
--- a/src/librustc_ty/common_traits.rs
+++ b/src/librustc_ty/common_traits.rs
@@ -1,7 +1,7 @@
 //! Queries for checking whether a type implements one of a few common traits.
 
+use rustc_hir::lang_items;
 use rustc_infer::infer::TyCtxtInferExt;
-use rustc_middle::middle::lang_items;
 use rustc_middle::ty::{self, Ty, TyCtxt};
 use rustc_span::DUMMY_SP;
 use rustc_trait_selection::traits;