We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b3f35 commit 547509eCopy full SHA for 547509e
src/test/rustdoc/strip-enum-variant.rs
@@ -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