rust/tests/ui/error-codes/E0522.rs

10 lines
156 B
Rust

#![feature(lang_items)]
#[lang = "cookie"]
fn cookie() -> ! {
//~^^ ERROR definition of an unknown lang item: `cookie` [E0522]
loop {}
}
fn main() {}