]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/test.rs
Make the definite name of the local crate available in the tcx.
[rust.git] / src / librustc_driver / test.rs
index 1a5e7cb54f2e3a0bb60a29bdbe5e706130330c5d..111db3b1d38908726943ee77ad4b7f198d644196 100644 (file)
@@ -146,6 +146,7 @@ fn test_env<F>(source_string: &str,
                                region_map,
                                lang_items,
                                index,
+                               "test_crate",
                                |tcx| {
                                    let infcx = infer::new_infer_ctxt(tcx,
                                                                      &tcx.tables,