We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afd6f5c + 547509e commit 850511dCopy full SHA for 850511d
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