Error code E0718
Note: this error code is no longer emitted by the compiler.
A #[lang = ".."] attribute was placed on the wrong item type.
Erroneous code example:
#![allow(unused)]
#![feature(lang_items)]
fn main() {
#[lang = "owned_box"]
static X: u32 = 42;
}