2024-01-03 14:56:10 -07:00
|
|
|
// https://github.com/rust-lang/rust/issues/41783
|
|
|
|
#![crate_name="foo"]
|
|
|
|
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has foo/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'
|
2017-05-06 07:08:41 -06:00
|
|
|
|
|
|
|
/// ```no_run
|
|
|
|
/// # # space
|
|
|
|
/// # comment
|
|
|
|
/// ## single
|
|
|
|
/// ### double
|
|
|
|
/// #### triple
|
2017-08-28 10:52:49 -04:00
|
|
|
/// ##[outer]
|
|
|
|
/// ##![inner]
|
2017-05-06 07:08:41 -06:00
|
|
|
/// ```
|
|
|
|
pub struct Foo;
|