Skip to content

Commit 28596ad

Browse files
committed
Fix empty-section.rs test
The Auto Trait Implementation section is not wrapped in a `synthetic-implementations` class. In fact, it is wrapped in a `synthetic-implementations` id. However, we can generalize and completely remove the `synthetic-implementations` requirement. We just have to verify that there's no mention of "Auto Trait Implementations" anywhere.
1 parent a9a26de commit 28596ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/empty-section.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
pub struct Foo;
1616

1717
// @has foo/struct.Foo.html
18-
// @!has - '//*[@class="synthetic-implementations"]' 'Auto Trait Implementations'
18+
// @!has - 'Auto Trait Implementations'
1919
impl !Send for Foo {}
2020
impl !Sync for Foo {}

0 commit comments

Comments
 (0)