rust/tests/ui/track-diagnostics/track4.rs

14 lines
331 B
Rust
Raw Permalink Normal View History

//@ compile-flags: -Z track-diagnostics
//@ error-pattern: created at
2022-10-24 21:19:48 +00:00
// 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"
2022-10-24 21:19:48 +00:00
pub onion { //~ ERROR missing `enum` for enum definition
2022-10-24 21:19:48 +00:00
Owo(u8),
Uwu(i8),
}
fn main() {}