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 22:14:20 +00:00
#![feature(lang_items)]
#[lang = "cookie"]
2018-01-23 23:34:16 +00:00
fn cookie() -> ! {
//~^^ ERROR definition of an unknown lang item: `cookie` [E0522]
2016-08-25 22:14:20 +00:00
loop {}
}
fn main() {}