]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-json/enum_variant_hidden.rs
Rollup merge of #101412 - WaffleLapkin:improve_std_ptr_code_leftovers, r=scottmcm
[rust.git] / src / test / rustdoc-json / enum_variant_hidden.rs
1 // Regression test for <https://github.com/rust-lang/rust/issues/100529>.
2
3 #![no_core]
4 #![feature(no_core)]
5
6 // @has "$.index[*][?(@.name=='ParseError')]"
7 // @has "$.index[*][?(@.name=='UnexpectedEndTag')]"
8 // @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant_kind" '"tuple"'
9 // @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant_inner" []
10
11 pub enum ParseError {
12     UnexpectedEndTag(#[doc(hidden)] u32),
13 }