We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a825b1e commit d029800Copy full SHA for d029800
tests/rustdoc/reexport-attr-merge.rs
@@ -19,9 +19,9 @@ pub use Foo1 as Foo2;
19
// First we ensure that only the reexport `Bar2` and the inlined struct `Bar`
20
// are inlined.
21
// @count - '//a[@class="struct"]' 2
22
-// Then we check that both `cfg` are displayed.
+// Then we check that `cfg` is displayed for base item, but not for intermediate re-exports.
23
// @has - '//*[@class="stab portability"]' 'foo'
24
-// @has - '//*[@class="stab portability"]' 'bar'
+// @!has - '//*[@class="stab portability"]' 'bar'
25
// And finally we check that the only element displayed is `Bar`.
26
// @has - '//a[@class="struct"]' 'Bar'
27
#[doc(inline)]
0 commit comments