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-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant.kind.tuple" [null]
|
|
|
|
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.variant.discriminant" null
|
2022-08-15 07:41:23 -05:00
|
|
|
|
|
|
|
pub enum ParseError {
|
|
|
|
UnexpectedEndTag(#[doc(hidden)] u32),
|
|
|
|
}
|