We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a11936 commit dad6802Copy full SHA for dad6802
tests/rustdoc/footnote-definition-without-blank-line-100638.rs
@@ -0,0 +1,15 @@
1
+#![crate_name = "foo"]
2
+
3
+//! Reference to footnotes A[^1], B[^2] and C[^3].
4
+//!
5
+//! [^1]: Footnote A.
6
+//! [^2]: Footnote B.
7
+//! [^3]: Footnote C.
8
9
+// @has 'foo/index.html'
10
+// @has - '//*[@class="docblock"]/*[@class="footnotes"]/ol/li[@id="fn1"]/p' 'Footnote A'
11
+// @has - '//li[@id="fn1"]/p/a/@href' '#fnref1'
12
+// @has - '//*[@class="docblock"]/*[@class="footnotes"]/ol/li[@id="fn2"]/p' 'Footnote B'
13
+// @has - '//li[@id="fn2"]/p/a/@href' '#fnref2'
14
+// @has - '//*[@class="docblock"]/*[@class="footnotes"]/ol/li[@id="fn3"]/p' 'Footnote C'
15
+// @has - '//li[@id="fn3"]/p/a/@href' '#fnref3'
0 commit comments