We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15bc4a3 commit 5c3753fCopy full SHA for 5c3753f
src/librustc_driver/test.rs
@@ -140,7 +140,7 @@ fn test_env<F>(source_string: &str,
140
lang_items,
141
stability::Index::new(krate),
142
|tcx| {
143
- let infcx = infer::new_infer_ctxt(tcx);
+ let infcx = infer::new_infer_ctxt(tcx, &tcx.tables, None);
144
body(Env { infcx: &infcx });
145
let free_regions = FreeRegionMap::new();
146
infcx.resolve_regions_and_report_errors(&free_regions, ast::CRATE_NODE_ID);
0 commit comments