about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTristan Dannenberg <teryror@users.noreply.github.com>2021-01-12 18:18:10 +0100
committerGitHub <noreply@github.com>2021-01-12 18:18:10 +0100
commitf3c8f29b3bf784b27e212d289065c5dd1c4cc5fe (patch)
tree5871a3af71182f71b4765b66ef6a46ca42f48211
parent0401a9935fd532a67b4f825684a57f43af8a4f65 (diff)
downloadrust-f3c8f29b3bf784b27e212d289065c5dd1c4cc5fe.tar.gz
rust-f3c8f29b3bf784b27e212d289065c5dd1c4cc5fe.zip
Simplify regression test
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--src/test/rustdoc/issue-80893.rs7
1 files changed, 3 insertions, 4 deletions
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;