]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-95267.rs
Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup
[rust.git] / src / test / ui / macros / issue-95267.rs
1 // check-pass
2
3 // The doc comment here is ignored. This is a bug, but #95267 showed that
4 // existing programs rely on this behaviour, and changing it would require some
5 // care and a transition period.
6 macro_rules! f {
7     (
8         /// ab
9     ) => {};
10 }
11
12 fn main() {
13     f!();
14 }