Update librustc_driver/test.rs
This commit is contained in:
parent
ce089e50a4
commit
c64bda3227
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ fn test_env<F>(source_string: &str,
|
|||
lang_items,
|
||||
stability::Index::new(krate),
|
||||
|tcx| {
|
||||
let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None);
|
||||
let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None, false);
|
||||
body(Env { infcx: &infcx });
|
||||
let free_regions = FreeRegionMap::new();
|
||||
infcx.resolve_regions_and_report_errors(&free_regions, ast::CRATE_NODE_ID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue