]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/coherence/orphan.rs
Update to use new librustc_error_codes library
[rust.git] / src / librustc_typeck / coherence / orphan.rs
index 88fa09cc9366a39d3f9bc24f94c58f5dafe26577..c5d9ef2030c24df93aee0058e38873fbd112a684 100644 (file)
@@ -6,6 +6,8 @@
 use rustc::hir::itemlikevisit::ItemLikeVisitor;
 use rustc::hir;
 
+use rustc_error_codes::*;
+
 pub fn check(tcx: TyCtxt<'_>) {
     let mut orphan = OrphanChecker { tcx };
     tcx.hir().krate().visit_all_item_likes(&mut orphan);