]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-41783.rs
Auto merge of #107768 - matthiaskrgr:rollup-9u4cal4, r=matthiaskrgr
[rust.git] / tests / rustdoc / issue-41783.rs
1 // @has issue_41783/struct.Foo.html
2 // @!hasraw - 'space'
3 // @!hasraw - 'comment'
4 // @hasraw - '<span class="attr">#[outer]'
5 // @!hasraw - '<span class="attr">#[outer]</span>'
6 // @hasraw - '#![inner]</span>'
7 // @!hasraw - '<span class="attr">#![inner]</span>'
8 // @snapshot 'codeblock' - '//*[@class="toggle top-doc"]/*[@class="docblock"]//pre/code'
9
10 /// ```no_run
11 /// # # space
12 /// # comment
13 /// ## single
14 /// ### double
15 /// #### triple
16 /// ##[outer]
17 /// ##![inner]
18 /// ```
19 pub struct Foo;