]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/doctest.rs
Ensure that queries only return Copy types.
[rust.git] / src / librustdoc / doctest.rs
index d16383723f56373a8f12a80ef75996e281e5438a..6c55721c0dd9422dcd6f03ad8de6c9ca7841662d 100644 (file)
@@ -951,10 +951,11 @@ fn add_test(&mut self, test: String, config: LangString, line: usize) {
                 },
                 // compiler failures are test failures
                 should_panic: test::ShouldPanic::No,
-                allow_fail: config.allow_fail,
                 compile_fail: config.compile_fail,
                 no_run,
                 test_type: test::TestType::DocTest,
+                #[cfg(bootstrap)]
+                allow_fail: false,
             },
             testfn: test::DynTestFn(box move || {
                 let report_unused_externs = |uext| {