We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9597c commit 183425fCopy full SHA for 183425f
tests/testsuite/docscrape.rs
@@ -30,6 +30,11 @@ fn basic() {
30
)
31
.run();
32
33
+ p.cargo("doc -Zunstable-options -Z rustdoc-scrape-examples")
34
+ .masquerade_as_nightly_cargo(&["rustdoc-scrape-examples"])
35
+ .with_stderr("[FINISHED] [..]")
36
+ .run();
37
+
38
let doc_html = p.read_file("target/doc/foo/fn.foo.html");
39
assert!(doc_html.contains("Examples found in repository"));
40
assert!(doc_html.contains("More examples"));
0 commit comments