2021-11-26 17:03:16 -06:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2020-11-28 19:25:41 -06:00
|
|
|
|
|
|
|
|
|
|
|
pub fn foo() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
pub mod foo {}
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has mod_ambiguity/struct.A.html '//a/@href' 'foo/index.html'
|
2020-11-28 19:25:41 -06:00
|
|
|
/// Module is [`module@foo`]
|
|
|
|
pub struct A;
|
|
|
|
|
|
|
|
|
2021-03-17 13:41:01 -05:00
|
|
|
// @has mod_ambiguity/struct.B.html '//a/@href' 'fn.foo.html'
|
2020-11-28 19:25:41 -06:00
|
|
|
/// Function is [`fn@foo`]
|
|
|
|
pub struct B;
|