From fbe04502515c0ddadef8a6770fe9c5056caa16e1 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 28 Dec 2022 09:20:57 -0500 Subject: [PATCH] -Zrustdoc-scrape-examples no longer takes arguments --- src/bootstrap/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 0d9c22e210f..c8b4134391e 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1048,7 +1048,7 @@ impl Step for RustdocGUI { if entry.file_name() == "link_to_definition" { cargo.env("RUSTDOCFLAGS", "-Zunstable-options --generate-link-to-definition"); } else if entry.file_name() == "scrape_examples" { - cargo.arg("-Zrustdoc-scrape-examples=examples"); + cargo.arg("-Zrustdoc-scrape-examples"); } builder.run(&mut cargo); }