rust/tests/rustdoc/doctest/doctest-escape-boring-41783.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
554 B
Rust
Raw Normal View History

2024-01-03 21:56:10 +00:00
// https://github.com/rust-lang/rust/issues/41783
#![crate_name="foo"]
// @has foo/struct.Foo.html
2022-08-12 04:44:07 +00:00
// @!hasraw - 'space'
// @!hasraw - 'comment'
// @hasraw - '<span class="attr">#[outer]'
// @!hasraw - '<span class="attr">#[outer]</span>'
2022-08-19 16:16:02 +00:00
// @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;