From 5c3753f6b457dbc8e4cf0e8ec2d085d03f310911 Mon Sep 17 00:00:00 2001 From: Jared Roesch Date: Sun, 28 Jun 2015 14:08:50 -0700 Subject: [PATCH] Fix librustc_driver/test.rs --- src/librustc_driver/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index 5ec6e293684c..fb2f6b2b08db 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -140,7 +140,7 @@ fn test_env(source_string: &str, lang_items, stability::Index::new(krate), |tcx| { - let infcx = infer::new_infer_ctxt(tcx); + let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None); body(Env { infcx: &infcx }); let free_regions = FreeRegionMap::new(); infcx.resolve_regions_and_report_errors(&free_regions, ast::CRATE_NODE_ID);