mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
14 lines
424 B
Rust
14 lines
424 B
Rust
// 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.kind.tuple" [null]
|
|
// @is "$.index[*][?(@.name=='UnexpectedEndTag')].inner.discriminant" null
|
|
|
|
pub enum ParseError {
|
|
UnexpectedEndTag(#[doc(hidden)] u32),
|
|
}
|