rust/tests/rustdoc/intra-doc/extern-reference-link.rs

8 lines
146 B
Rust

//@ compile-flags: --extern pub_struct
//@ aux-build:pub-struct.rs
/// [SomeStruct]
///
/// [SomeStruct]: pub_struct::SomeStruct
pub fn foo() {}