mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +00:00
14 lines
331 B
Rust
14 lines
331 B
Rust
//@ compile-flags: -Z track-diagnostics
|
|
//@ error-pattern: created at
|
|
|
|
// Normalize the emitted location so this doesn't need
|
|
// updating everytime someone adds or removes a line.
|
|
//@ normalize-stderr: ".rs:\d+:\d+" -> ".rs:LL:CC"
|
|
|
|
pub onion { //~ ERROR missing `enum` for enum definition
|
|
Owo(u8),
|
|
Uwu(i8),
|
|
}
|
|
|
|
fn main() {}
|