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 adc02e4 commit 80443cbCopy full SHA for 80443cb
src/test/rustdoc/html_no_source_attr.rs
@@ -0,0 +1,6 @@
1
+#![doc(html_no_source)]
2
+#![crate_name = "foo"]
3
+
4
+// @!has src/foo/html_no_source_attr.rs.html
5
+// @has foo/index.html
6
+// @!has - '//*[@class="srclink"]' '[src]'
src/test/rustdoc/html_no_source_flag.rs
@@ -0,0 +1,7 @@
+// compile-flags: --no-source
7
src/test/rustdoc/html_source.rs
@@ -0,0 +1,5 @@
+// @has src/foo/html_source.rs.html
+// @has - '//*[@class="srclink"]' '[src]'
0 commit comments