Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
macros
/
macro-doc-comments.rs
blob: fcc64cc0670de2023170fb0a2c3a5a5da8265a14 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_snake_case
)]
macro_rules
!
doc
{
(
$
(#[
$outer
:
meta
])*
mod
$i
:
ident
{
$
(#![
$inner
:
meta
])*
}
)
=>
(
$
(#[
$outer
])*
pub
mod
$i
{
$
(#![
$inner
])*
}
)
}
doc
!
{
/// Outer doc
mod
Foo
{
//! Inner doc
}
}
fn
main
()
{
}