]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
fc512014
XL
1#![deny(broken_intra_doc_links)]
2
3
4pub fn foo() {
5
6}
7
8pub mod foo {}
cdc7bbd5 9// @has mod_ambiguity/struct.A.html '//a/@href' 'foo/index.html'
fc512014
XL
10/// Module is [`module@foo`]
11pub struct A;
12
13
cdc7bbd5 14// @has mod_ambiguity/struct.B.html '//a/@href' 'fn.foo.html'
fc512014
XL
15/// Function is [`fn@foo`]
16pub struct B;