From aa5a0c0d88eceb2bb55bdc7a39ffc6adc7a22881 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Sat, 19 Nov 2022 17:42:07 -0700 Subject: rustdoc: add test case for scraped example expand GUI --- src/bootstrap/test.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bootstrap') diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index fd362b8367c..db83cda3700 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1011,6 +1011,8 @@ impl Step for RustdocGUI { // instead of hard-coding this test 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"); } builder.run(&mut cargo); } -- cgit 1.4.1-3-g733a5