//! Queries for checking whether a type implements one of a few common traits.
-use rustc::middle::lang_items;
-use rustc::ty::{self, Ty, TyCtxt};
+use rustc_hir::lang_items;
use rustc_infer::infer::TyCtxtInferExt;
-use rustc_infer::traits;
+use rustc_middle::ty::{self, Ty, TyCtxt};
use rustc_span::DUMMY_SP;
+use rustc_trait_selection::traits;
fn is_copy_raw<'tcx>(tcx: TyCtxt<'tcx>, query: ty::ParamEnvAnd<'tcx, Ty<'tcx>>) -> bool {
is_item_raw(tcx, query, lang_items::CopyTraitLangItem)