diff options
Diffstat (limited to 'tests/rustdoc/issue-41783.rs')
-rw-r--r-- | tests/rustdoc/issue-41783.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-41783.rs b/tests/rustdoc/issue-41783.rs new file mode 100644 index 000000000..7578d49da --- /dev/null +++ b/tests/rustdoc/issue-41783.rs @@ -0,0 +1,19 @@ +// @has issue_41783/struct.Foo.html +// @!hasraw - 'space' +// @!hasraw - 'comment' +// @hasraw - '<span class="attr">#[outer]' +// @!hasraw - '<span class="attr">#[outer]</span>' +// @hasraw - '#![inner]</span>' +// @!hasraw - '<span class="attr">#![inner]</span>' +// @snapshot 'codeblock' - '//*[@class="toggle top-doc"]/*[@class="docblock"]//pre/code' + +/// ```no_run +/// # # space +/// # comment +/// ## single +/// ### double +/// #### triple +/// ##[outer] +/// ##![inner] +/// ``` +pub struct Foo; |