summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0522.rs
blob: 1414e82408cef53e80d606a32997a0f881937656 (plain)
1
2
3
4
5
6
7
8
9
#![feature(lang_items)]

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

fn main() {}