Skip to content

Commit d029800

Browse files
Update reexport-attr-merge rustdoc test
1 parent a825b1e commit d029800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc/reexport-attr-merge.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ pub use Foo1 as Foo2;
1919
// First we ensure that only the reexport `Bar2` and the inlined struct `Bar`
2020
// are inlined.
2121
// @count - '//a[@class="struct"]' 2
22-
// Then we check that both `cfg` are displayed.
22+
// Then we check that `cfg` is displayed for base item, but not for intermediate re-exports.
2323
// @has - '//*[@class="stab portability"]' 'foo'
24-
// @has - '//*[@class="stab portability"]' 'bar'
24+
// @!has - '//*[@class="stab portability"]' 'bar'
2525
// And finally we check that the only element displayed is `Bar`.
2626
// @has - '//a[@class="struct"]' 'Bar'
2727
#[doc(inline)]

0 commit comments

Comments
 (0)