mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
25 lines
298 B
Rust
25 lines
298 B
Rust
//@ check-pass
|
|
#![allow(rustdoc::private_intra_doc_links)]
|
|
|
|
macro_rules! foo {
|
|
() => {};
|
|
}
|
|
|
|
/// [foo!]
|
|
pub fn baz() {}
|
|
|
|
#[macro_use]
|
|
mod macros {
|
|
macro_rules! escaping {
|
|
() => {};
|
|
}
|
|
}
|
|
|
|
pub mod inner {
|
|
/// [foo!]
|
|
/// [escaping]
|
|
pub fn baz() {
|
|
foo!();
|
|
}
|
|
}
|