mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
15 lines
281 B
Rust
15 lines
281 B
Rust
//@ check-pass
|
|
|
|
// The doc comment here is ignored. This is a bug, but #95267 showed that
|
|
// existing programs rely on this behaviour, and changing it would require some
|
|
// care and a transition period.
|
|
macro_rules! f {
|
|
(
|
|
/// ab
|
|
) => {};
|
|
}
|
|
|
|
fn main() {
|
|
f!();
|
|
}
|