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 fe98de2 commit 69dab50Copy full SHA for 69dab50
src/test/rustdoc/intra-doc-link-mod-ambiguity.rs
@@ -0,0 +1,18 @@
1
+// ignore-tidy-linelength
2
+
3
+#![deny(intra_doc_link_resolution_failure)]
4
5
6
+pub fn foo() {
7
8
+}
9
10
+pub mod foo {}
11
+// @has intra_doc_link_mod_ambiguity/struct.A.html '//a/@href' '../intra_doc_link_mod_ambiguity/foo/index.html'
12
+/// Module is [`module@foo`]
13
+pub struct A;
14
15
16
+// @has intra_doc_link_mod_ambiguity/struct.B.html '//a/@href' '../intra_doc_link_mod_ambiguity/fn.foo.html'
17
+/// Function is [`fn@foo`]
18
+pub struct B;
0 commit comments