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