about summary refs log tree commit diff
path: root/src/compiletest/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest/common.rs')
-rw-r--r--src/compiletest/common.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs
index 4add16fd7a9..bc5741de2b9 100644
--- a/src/compiletest/common.rs
+++ b/src/compiletest/common.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[deriving(Eq)]
+#[deriving(Clone, Eq)]
 pub enum mode {
     mode_compile_fail,
     mode_run_fail,
@@ -18,6 +18,7 @@ pub enum mode {
     mode_codegen
 }
 
+#[deriving(Clone)]
 pub struct config {
     // The library paths required for running the compiler
     compile_lib_path: ~str,