Debian Codegraph @

gcc/testsuite/rust/compile/torture/doc_comment.rs

raw
1 /// doc comment 1
2 /// doc comment 2
3 /// `blah blah` markdown
4 pub struct TestStruct {}
5
6 #[doc(hidden)]
7 pub struct DocAttribute {}
8
9 #[doc(a,b)]
10 pub struct UnkAttribute {}
11
12 fn main() {
13 let _ = TestStruct {};
14 let _ = DocAttribute {};
15 let _ = UnkAttribute {};
16 }