diff options
| author | Jared Roesch <roeschinc@gmail.com> | 2015-06-28 14:08:50 -0700 |
|---|---|---|
| committer | Jared Roesch <roeschinc@gmail.com> | 2015-06-28 14:08:50 -0700 |
| commit | 5c3753f6b457dbc8e4cf0e8ec2d085d03f310911 (patch) | |
| tree | c9e2e388488bc4d7e2297dab477e8cd99ad6fd13 | |
| parent | 15bc4a30c38e6a4e72bcd05214626933d45018c1 (diff) | |
| download | rust-5c3753f6b457dbc8e4cf0e8ec2d085d03f310911.tar.gz rust-5c3753f6b457dbc8e4cf0e8ec2d085d03f310911.zip | |
Fix librustc_driver/test.rs
| -rw-r--r-- | src/librustc_driver/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index 5ec6e293684..fb2f6b2b08d 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -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); + 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); |
