Skip to content

Commit 547509e

Browse files
committed
rustdoc: add test cases for hidden enum variants
1 parent 30b3f35 commit 547509e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// @has strip_enum_variant/enum.MyThing.html
2+
// @has - '//code' 'Shown'
3+
// @!has - '//code' 'NotShown'
4+
// @has - '//code' '// some variants omitted'
5+
pub enum MyThing {
6+
Shown,
7+
#[doc(hidden)]
8+
NotShown,
9+
}

0 commit comments

Comments
 (0)