2022-10-24 23:19:48 +02:00
|
|
|
//@ compile-flags: -Z track-diagnostics
|
2025-06-02 23:40:01 -06:00
|
|
|
//@ dont-require-annotations: NOTE
|
2022-10-24 23:19:48 +02:00
|
|
|
|
|
|
|
|
// Normalize the emitted location so this doesn't need
|
|
|
|
|
// updating everytime someone adds or removes a line.
|
2024-12-25 22:12:17 +11:00
|
|
|
//@ normalize-stderr: ".rs:\d+:\d+" -> ".rs:LL:CC"
|
2022-10-24 23:19:48 +02:00
|
|
|
|
2025-06-02 23:40:01 -06:00
|
|
|
pub onion {
|
|
|
|
|
//~^ ERROR missing `enum` for enum definition
|
|
|
|
|
//~| NOTE created at
|
2022-10-24 23:19:48 +02:00
|
|
|
Owo(u8),
|
|
|
|
|
Uwu(i8),
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|