Fix librustc_driver unit test after API change.
This commit is contained in:
parent
87691846e3
commit
6faba5bf8d
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ use rustc::middle::resolve_lifetime;
|
|||
use rustc::ty::subst::{Kind, Subst};
|
||||
use rustc::traits::{ObligationCause, Reveal};
|
||||
use rustc::ty::{self, Ty, TyCtxt, TypeFoldable};
|
||||
use rustc::ty::maps::OnDiskCache;
|
||||
use rustc::infer::{self, InferOk, InferResult};
|
||||
use rustc::infer::type_variable::TypeVariableOrigin;
|
||||
use rustc_metadata::cstore::CStore;
|
||||
|
@ -156,6 +157,7 @@ fn test_env<F>(source_string: &str,
|
|||
resolutions,
|
||||
named_region_map.unwrap(),
|
||||
hir_map,
|
||||
OnDiskCache::new_empty(sess.codemap()),
|
||||
"test_crate",
|
||||
tx,
|
||||
&outputs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue