From f3c8f29b3bf784b27e212d289065c5dd1c4cc5fe Mon Sep 17 00:00:00 2001 From: Tristan Dannenberg Date: Tue, 12 Jan 2021 18:18:10 +0100 Subject: Simplify regression test Co-authored-by: Joshua Nelson --- src/test/rustdoc/issue-80893.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/test/rustdoc') diff --git a/src/test/rustdoc/issue-80893.rs b/src/test/rustdoc/issue-80893.rs index 26f9a56b50e..7c958a80be3 100644 --- a/src/test/rustdoc/issue-80893.rs +++ b/src/test/rustdoc/issue-80893.rs @@ -1,7 +1,6 @@ -// compile-flags: --test -Z unstable-options --test-builder true --runtool true +// compile-flags: --test -Z unstable-options --test-builder true -/// ``` -/// This does not compile, but specifying a custom --test-builder should let this pass anyway -/// `true` does not generate an output file to run, so we also specify it as a runtool +/// ```no_run +/// This tests that `--test-builder` is accepted as a flag by rustdoc. /// ``` pub struct Foo; -- cgit 1.4.1-3-g733a5