diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-01 20:10:39 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-06-03 19:57:17 +0200 |
| commit | d0298009924a3d37ddba89b346d1e419c9f1def3 (patch) | |
| tree | c010b03f751a756dfa71aa2c2d8fd37c7ae97c38 | |
| parent | a825b1e5da8bce093abf77559cf6b82b590a254e (diff) | |
| download | rust-d0298009924a3d37ddba89b346d1e419c9f1def3.tar.gz rust-d0298009924a3d37ddba89b346d1e419c9f1def3.zip | |
Update reexport-attr-merge rustdoc test
| -rw-r--r-- | tests/rustdoc/reexport-attr-merge.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/reexport-attr-merge.rs b/tests/rustdoc/reexport-attr-merge.rs index f6c23a1365f..6cc054e7a8b 100644 --- a/tests/rustdoc/reexport-attr-merge.rs +++ b/tests/rustdoc/reexport-attr-merge.rs @@ -19,9 +19,9 @@ pub use Foo1 as Foo2; // First we ensure that only the reexport `Bar2` and the inlined struct `Bar` // are inlined. // @count - '//a[@class="struct"]' 2 -// Then we check that both `cfg` are displayed. +// Then we check that `cfg` is displayed for base item, but not for intermediate re-exports. // @has - '//*[@class="stab portability"]' 'foo' -// @has - '//*[@class="stab portability"]' 'bar' +// @!has - '//*[@class="stab portability"]' 'bar' // And finally we check that the only element displayed is `Bar`. // @has - '//a[@class="struct"]' 'Bar' #[doc(inline)] |
