]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-95267.rs
Rollup merge of #106854 - steffahn:drop_linear_arc_rebased, r=Mark-Simulacrum
[rust.git] / tests / 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 }