about summary refs log tree commit diff
path: root/src/librustc/front/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/front/test.rs')
-rw-r--r--src/librustc/front/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/front/test.rs b/src/librustc/front/test.rs
index d403efcf8cd..fb1ee16a9d2 100644
--- a/src/librustc/front/test.rs
+++ b/src/librustc/front/test.rs
@@ -170,6 +170,7 @@ fn generate_test_harness(sess: session::Session, krate: ast::Crate)
                              ExpansionConfig {
                                  loader: loader,
                                  deriving_hash_type_parameter: false,
+                                 crate_id: from_str("test").unwrap(),
                              }),
         path: RefCell::new(Vec::new()),
         testfns: RefCell::new(Vec::new()),