Skip to content

Commit f44ec64

Browse files
committed
Undo unnecessary change
1 parent edd6ed5 commit f44ec64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_codegen_llvm/base.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ use syntax::ast;
9393

9494
use mir::operand::OperandValue;
9595

96+
use rustc_codegen_utils::check_for_rustc_errors_attr;
97+
9698
pub struct StatRecorder<'a, 'tcx: 'a> {
9799
cx: &'a CodegenCx<'a, 'tcx>,
98100
name: Option<String>,
@@ -714,7 +716,7 @@ pub fn codegen_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
714716
rx: mpsc::Receiver<Box<Any + Send>>)
715717
-> OngoingCodegen {
716718

717-
::rustc_codegen_utils::check_for_rustc_errors_attr(tcx);
719+
check_for_rustc_errors_attr(tcx);
718720

719721
if let Some(true) = tcx.sess.opts.debugging_opts.thinlto {
720722
if unsafe { !llvm::LLVMRustThinLTOAvailable() } {

0 commit comments

Comments
 (0)