Skip to content

Commit 682b4fe

Browse files
committed
WIP -- patch test code that still created infer ctxt with too many arguments
1 parent 1f80414 commit 682b4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn test_env<F>(source_string: &str,
139139
lang_items,
140140
stability::Index::new(krate),
141141
|tcx| {
142-
let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None, false);
142+
let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None);
143143
body(Env { infcx: &infcx });
144144
let free_regions = FreeRegionMap::new();
145145
infcx.resolve_regions_and_report_errors(&free_regions,

0 commit comments

Comments
 (0)