]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/doc-comment-preserved.rs
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
[rust.git] / src / test / ui / proc-macro / doc-comment-preserved.rs
1 // check-pass
2 // aux-build:test-macros.rs
3
4 // Anonymize unstable non-dummy spans while still showing dummy spans `0..0`.
5 // normalize-stdout-test "bytes\([^0]\w*\.\.(\w+)\)" -> "bytes(LO..$1)"
6 // normalize-stdout-test "bytes\((\w+)\.\.[^0]\w*\)" -> "bytes($1..HI)"
7
8 #[macro_use]
9 extern crate test_macros;
10
11 print_bang! {
12
13 /**
14 *******
15 * DOC *
16 * DOC *
17 * DOC *
18 *******
19 */
20 pub struct S;
21
22 }
23
24 fn main() {}