Skip to content

Commit 2f19383

Browse files
committed
Update test issue-41783.rs for new attribute highlighting behaviour
1 parent e83c808 commit 2f19383

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/rustdoc/issue-41783.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@
1212
// @!has - 'space'
1313
// @!has - 'comment'
1414
// @has - '# <span class="ident">single'
15-
// @has - '#<span class="attribute"># <span class="ident">double</span>'
16-
// @has - '#<span class="attribute">#<span class="attribute"># <span class="ident">triple</span>'
15+
// @has - '## <span class="ident">double</span>'
16+
// @has - '### <span class="ident">triple</span>'
17+
// @has - '<span class="attribute">#[<span class="ident">outer</span>]</span>'
18+
// @has - '<span class="attribute">#![<span class="ident">inner</span>]</span>'
1719

1820
/// ```no_run
1921
/// # # space
2022
/// # comment
2123
/// ## single
2224
/// ### double
2325
/// #### triple
26+
/// ##[outer]
27+
/// ##![inner]
2428
/// ```
2529
pub struct Foo;

0 commit comments

Comments
 (0)