Skip to content

Commit 6d787d4

Browse files
committed
WIP fix librustc_driver test
1 parent 96517cd commit 6d787d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_driver/test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use rustc_lint;
1818
use rustc_resolve::MakeGlobMap;
1919
use rustc::middle::region;
2020
use rustc::ty::subst::{Kind, Subst};
21-
use rustc::traits::{ObligationCause, Reveal};
21+
use rustc::traits::ObligationCause;
2222
use rustc::ty::{self, Ty, TyCtxt, TypeFoldable};
2323
use rustc::ty::maps::OnDiskCache;
2424
use rustc::infer::{self, InferOk, InferResult};
@@ -153,7 +153,7 @@ fn test_env<F>(source_string: &str,
153153
|tcx| {
154154
tcx.infer_ctxt().enter(|infcx| {
155155
let mut region_scope_tree = region::ScopeTree::default();
156-
let param_env = ty::ParamEnv::empty());
156+
let param_env = ty::ParamEnv::empty();
157157
body(Env {
158158
infcx: &infcx,
159159
region_scope_tree: &mut region_scope_tree,

0 commit comments

Comments
 (0)