summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/enums/field_hidden.rs
blob: e6310cc3b997c28860234fd3c461596c8ec9ada7 (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.variant_kind" '"tuple"'
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant_inner" [null]

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