about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-06-16 16:46:03 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2018-07-07 10:51:54 +0200
commitf44ec6439b31caa92ee394f65aae7d4a1a5341dd (patch)
treee1af35b2eef53cfd80949410e39df74d3c39feb9 /src
parentedd6ed571f9886d4b01fe87812442d5e81d1c895 (diff)
downloadrust-f44ec6439b31caa92ee394f65aae7d4a1a5341dd.tar.gz
rust-f44ec6439b31caa92ee394f65aae7d4a1a5341dd.zip
Undo unnecessary change
Diffstat (limited to 'src')
-rw-r--r--src/librustc_codegen_llvm/base.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/base.rs b/src/librustc_codegen_llvm/base.rs
index 53c70eb42ce..f9d84319433 100644
--- a/src/librustc_codegen_llvm/base.rs
+++ b/src/librustc_codegen_llvm/base.rs
@@ -93,6 +93,8 @@ use syntax::ast;
 
 use mir::operand::OperandValue;
 
+use rustc_codegen_utils::check_for_rustc_errors_attr;
+
 pub struct StatRecorder<'a, 'tcx: 'a> {
     cx: &'a CodegenCx<'a, 'tcx>,
     name: Option<String>,
@@ -714,7 +716,7 @@ pub fn codegen_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
                              rx: mpsc::Receiver<Box<Any + Send>>)
                              -> OngoingCodegen {
 
-    ::rustc_codegen_utils::check_for_rustc_errors_attr(tcx);
+    check_for_rustc_errors_attr(tcx);
 
     if let Some(true) = tcx.sess.opts.debugging_opts.thinlto {
         if unsafe { !llvm::LLVMRustThinLTOAvailable() } {