]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/intra-doc/mod-ambiguity.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / rustdoc / intra-doc / mod-ambiguity.rs
1 #![deny(broken_intra_doc_links)]
2
3
4 pub fn foo() {
5
6 }
7
8 pub mod foo {}
9 // @has mod_ambiguity/struct.A.html '//a/@href' 'foo/index.html'
10 /// Module is [`module@foo`]
11 pub struct A;
12
13
14 // @has mod_ambiguity/struct.B.html '//a/@href' 'fn.foo.html'
15 /// Function is [`fn@foo`]
16 pub struct B;