Skip to content

Commit 56c4670

Browse files
committed
Fix error
1 parent 1800520 commit 56c4670

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_driver/test.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ use rustc::hir::map as hir_map;
3030
use rustc::mir::transform::Passes;
3131
use rustc::session::{self, config};
3232
use rustc::session::config::{OutputFilenames, OutputTypes};
33+
use rustc_trans_utils::trans_crate::TransCrate;
3334
use std::rc::Rc;
3435
use syntax::ast;
3536
use syntax::abi::Abi;
@@ -105,7 +106,7 @@ fn test_env<F>(source_string: &str,
105106
options.unstable_features = UnstableFeatures::Allow;
106107
let diagnostic_handler = errors::Handler::with_emitter(true, false, emitter);
107108

108-
let cstore = Rc::new(CStore::new(DefaultTransCrate::metadata_loader()));
109+
let cstore = Rc::new(CStore::new(::DefaultTransCrate::metadata_loader()));
109110
let sess = session::build_session_(options,
110111
None,
111112
diagnostic_handler,

0 commit comments

Comments
 (0)