]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/test.rs
incr.comp.: Add some comments.
[rust.git] / src / librustc_driver / test.rs
index daabf481e461f941565f00ab1818c8f959adfcb1..fad24e6a0f2b60a597e19d4efe99e8dba3abf390 100644 (file)
@@ -133,7 +133,7 @@ fn test_env<F>(source_string: &str,
 
     let arena = DroplessArena::new();
     let arenas = ty::GlobalArenas::new();
-    let hir_map = hir_map::map_crate(&mut hir_forest, &defs);
+    let hir_map = hir_map::map_crate(&sess, &*cstore, &mut hir_forest, &defs);
 
     // run just enough stuff to build a tcx:
     let named_region_map = resolve_lifetime::krate(&sess, &*cstore, &hir_map);