rust/tests/rustdoc-json/enums/field_hidden.rs
2024-07-19 16:54:42 +02:00

11 lines
406 B
Rust

// Regression test for <https://github.com/rust-lang/rust/issues/100529>.
//@ has "$.index[*][?(@.name=='ParseError')]"
//@ has "$.index[*][?(@.name=='UnexpectedEndTag')]"
//@ is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant.kind.tuple" [null]
//@ is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant.discriminant" null
pub enum ParseError {
UnexpectedEndTag(#[doc(hidden)] u32),
}