Skip to content

Commit 5c3753f

Browse files
committed
Fix librustc_driver/test.rs
1 parent 15bc4a3 commit 5c3753f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn test_env<F>(source_string: &str,
140140
lang_items,
141141
stability::Index::new(krate),
142142
|tcx| {
143-
let infcx = infer::new_infer_ctxt(tcx);
143+
let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None);
144144
body(Env { infcx: &infcx });
145145
let free_regions = FreeRegionMap::new();
146146
infcx.resolve_regions_and_report_errors(&free_regions, ast::CRATE_NODE_ID);

0 commit comments

Comments
 (0)