summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-json/enums/field_hidden.rs
blob: 74d96248d5c7f4d83b43fc135c4258c2e20896ae (plain)
1
2
3
4
5
6
7
8
9
10
// 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),
}