rust/tests/rustdoc-json/enums/field_hidden.rs
Alona Enraght-Moony 7ab71c417b tests/rustdoc-json: replace $.index[*][? with $.index[?
Done automatically with VSCode.
2025-03-21 00:48:09 +00:00

10 lines
394 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),
}