We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a5ac2 commit 36758a2Copy full SHA for 36758a2
src/test/rustdoc-json/enum_variant_hidden.rs
@@ -0,0 +1,13 @@
1
+// Regression test for <https://github.com/rust-lang/rust/issues/100529>.
2
+
3
+#![no_core]
4
+#![feature(no_core)]
5
6
+// @has enum_variant_hidden.json "$.index[*][?(@.name=='ParseError')]"
7
+// @has - "$.index[*][?(@.name=='UnexpectedEndTag')]"
8
+// @is - "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant_kind" '"tuple"'
9
+// @is - "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant_inner" []
10
11
+pub enum ParseError {
12
+ UnexpectedEndTag(#[doc(hidden)] u32),
13
+}
0 commit comments