2016-08-26 00:14:20 +02:00
|
|
|
#![feature(lang_items)]
|
|
|
|
|
|
|
|
#[lang = "cookie"]
|
2018-01-23 15:34:16 -08:00
|
|
|
fn cookie() -> ! {
|
|
|
|
//~^^ ERROR definition of an unknown language item: `cookie` [E0522]
|
2016-08-26 00:14:20 +02:00
|
|
|
loop {}
|
|
|
|
}
|
2018-03-12 13:21:43 -07:00
|
|
|
|
|
|
|
fn main() {}
|