]> git.lizzy.rs Git - rust.git/blobdiff - library/test/src/types.rs
Switch bootstrap cfgs
[rust.git] / library / test / src / types.rs
index 43e5a10ebbe95a02f6184410fb9368e7556a1f1f..1084fb98389fb08c8f74fe6e85765a652f32063f 100644 (file)
@@ -117,12 +117,12 @@ 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 compile_fail: bool,
     pub no_run: bool,
     pub test_type: TestType,
-    #[cfg(bootstrap)]
-    pub allow_fail: bool,
 }
 
 impl TestDesc {