]> git.lizzy.rs Git - rust.git/blobdiff - library/test/src/types.rs
Switch bootstrap cfgs
[rust.git] / library / test / src / types.rs
index 37bb38fb0df4efb64d557d31d515e83cd2a7183d..1084fb98389fb08c8f74fe6e85765a652f32063f 100644 (file)
@@ -117,8 +117,9 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
 pub struct TestDesc {
     pub name: TestName,
     pub ignore: bool,
+    #[cfg(not(bootstrap))]
+    pub ignore_message: Option<&'static str>,
     pub should_panic: options::ShouldPanic,
-    pub allow_fail: bool,
     pub compile_fail: bool,
     pub no_run: bool,
     pub test_type: TestType,
@@ -150,9 +151,6 @@ pub fn test_mode(&self) -> Option<&'static str> {
             }
             options::ShouldPanic::No => {}
         }
-        if self.allow_fail {
-            return Some("allow fail");
-        }
         if self.compile_fail {
             return Some("compile fail");
         }