about summary refs log tree commit diff
path: root/src/compiletest/header.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-03-01 22:05:39 -0500
committerNiko Matsakis <niko@alum.mit.edu>2016-03-02 05:02:04 -0500
commitc5bdc35b606505940333fc605daae2532ca5710c (patch)
tree99e75f895f4c37c8c7a27f657332747cc6597f18 /src/compiletest/header.rs
parentbb2a425d5861297a9a5d08b8d5826b7703ecea04 (diff)
downloadrust-c5bdc35b606505940333fc605daae2532ca5710c.tar.gz
rust-c5bdc35b606505940333fc605daae2532ca5710c.zip
refactor and generalize revisions
Diffstat (limited to 'src/compiletest/header.rs')
-rw-r--r--src/compiletest/header.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index c9dfc0bf1a4..75d7ada8719 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -20,16 +20,6 @@ use util;
 
 #[derive(Clone, Debug)]
 pub struct TestProps {
-    // For the main test file, this is initialized to `None`. But
-    // when running tests that test multiple revisions, such as
-    // incremental tests, we will set this to `Some(foo)` where `foo`
-    // is the current revision identifier.
-    //
-    // Note that, unlike the other options here, this value is never
-    // loaded from the input file (though it is always set to one of
-    // the values listed in the vec `self.revisions`, which is loaded
-    // from the file).
-    pub revision: Option<String>,
     // Lines that should be expected, in order, on standard out
     pub error_patterns: Vec<String> ,
     // Extra flags to pass to the compiler
@@ -81,7 +71,6 @@ pub fn load_props(testfile: &Path) -> TestProps {
     let pretty_compare_only = false;
     let forbid_output = Vec::new();
     let mut props = TestProps {
-        revision: None,
         error_patterns: error_patterns,
         compile_flags: vec![],
         run_flags: run_flags,