diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2017-09-23 16:50:05 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2017-09-23 18:07:53 +0200 |
| commit | 56c46707ed19caaadfe8b0e7fdb034d140eb45fb (patch) | |
| tree | 0a1c50d30cc2de103fad61305ea3219d2c5427c2 /src | |
| parent | 18005203e15f092eddfc950d0e003bce1907cc88 (diff) | |
| download | rust-56c46707ed19caaadfe8b0e7fdb034d140eb45fb.tar.gz rust-56c46707ed19caaadfe8b0e7fdb034d140eb45fb.zip | |
Fix error
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_driver/test.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index cadd63f31f5..6de36820f0c 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -30,6 +30,7 @@ use rustc::hir::map as hir_map; use rustc::mir::transform::Passes; use rustc::session::{self, config}; use rustc::session::config::{OutputFilenames, OutputTypes}; +use rustc_trans_utils::trans_crate::TransCrate; use std::rc::Rc; use syntax::ast; use syntax::abi::Abi; @@ -105,7 +106,7 @@ fn test_env<F>(source_string: &str, options.unstable_features = UnstableFeatures::Allow; let diagnostic_handler = errors::Handler::with_emitter(true, false, emitter); - let cstore = Rc::new(CStore::new(DefaultTransCrate::metadata_loader())); + let cstore = Rc::new(CStore::new(::DefaultTransCrate::metadata_loader())); let sess = session::build_session_(options, None, diagnostic_handler, |
