2022-08-15 07:41:23 -05:00
|
|
|
// Regression test for <https://github.com/rust-lang/rust/issues/100529>.
|
|
|
|
|
|
|
|
#![no_core]
|
|
|
|
#![feature(no_core)]
|
|
|
|
|
2022-08-17 05:55:09 -05:00
|
|
|
// @has "$.index[*][?(@.name=='ParseError')]"
|
|
|
|
// @has "$.index[*][?(@.name=='UnexpectedEndTag')]"
|
2023-01-01 12:53:50 -06:00
|
|
|
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.kind.tuple" [null]
|
|
|
|
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.discriminant" null
|
2022-08-15 07:41:23 -05:00
|
|
|
|
|
|
|
pub enum ParseError {
|
|
|
|
UnexpectedEndTag(#[doc(hidden)] u32),
|
|
|
|
}
|