]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unknown-language-item.rs
Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup
[rust.git] / src / test / ui / unknown-language-item.rs
1 #![allow(unused)]
2 #![feature(lang_items)]
3
4 #[lang = "foo"]
5 fn bar() -> ! {
6 //~^^ ERROR definition of an unknown language item: `foo`
7     loop {}
8 }
9
10 fn main() {}