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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
156 B
Rust
Raw Normal View History

2016-08-25 17:14:20 -05:00
#![feature(lang_items)]
#[lang = "cookie"]
2018-01-23 17:34:16 -06:00
fn cookie() -> ! {
//~^^ ERROR definition of an unknown lang item: `cookie` [E0522]
2016-08-25 17:14:20 -05:00
loop {}
}
fn main() {}