Skip to content

Commit edad264

Browse files
committed
test without --document-hidden-items
1 parent 900b2e7 commit edad264

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/rustdoc-html/typedef-inner-variants.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ pub type HighlyGenericAABB<A, B> = HighlyGenericStruct<A, A, B, B>;
116116
//@ count - '//*[@id="aliased-type"]' 1
117117
//@ count - '//*[@id="variants"]' 0
118118
//@ count - '//*[@id="fields"]' 1
119+
//@ has - '//pre[@class="rust item-decl"]//code' '/* private fields */'
119120
pub use cross_crate_generic_typedef::InlineU64;
120121

121122
//@ has 'inner_variants/type.InlineEnum.html'
122123
//@ count - '//*[@id="aliased-type"]' 1
123124
//@ count - '//*[@id="variants"]' 1
124125
//@ count - '//*[@id="fields"]' 0
125126
//@ count - '//*[@class="variant"]' 2
127+
//@ has - '//pre[@class="rust item-decl"]//code' '// some variants omitted'
126128
pub type InlineEnum = cross_crate_generic_typedef::GenericEnum<i32>;

0 commit comments

Comments
 (0)