Error code E0718

A #[lang = ".."] attribute was placed on the wrong item type.

Erroneous code example:

#![feature(lang_items)]

#[lang = "owned_box"]
static X: u32 = 42;
Run

Back to list of error codes