summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-json/enums/field_hidden.rs
blob: 78a05431472cb8874cc80439fbc0e973ab18d506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Regression test for <https://github.com/rust-lang/rust/issues/100529>.

#![no_core]
#![feature(no_core)]

// @has "$.index[*][?(@.name=='ParseError')]"
// @has "$.index[*][?(@.name=='UnexpectedEndTag')]"
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.kind.tuple" [null]
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.discriminant" null

pub enum ParseError {
    UnexpectedEndTag(#[doc(hidden)] u32),
}