mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
17 lines
291 B
Rust
17 lines
291 B
Rust
#![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
|
|
pub fn foo() {
|
|
|
|
}
|
|
|
|
pub mod foo {}
|
|
//@ has mod_ambiguity/struct.A.html '//a/@href' 'foo/index.html'
|
|
/// Module is [`module@foo`]
|
|
pub struct A;
|
|
|
|
|
|
//@ has mod_ambiguity/struct.B.html '//a/@href' 'fn.foo.html'
|
|
/// Function is [`fn@foo`]
|
|
pub struct B;
|