blob: 1fe62ecf1f4e007e69d473f3b6ddaa8fd4a21668 (
plain)
1
2
3
4
5
6
7
8
9
10
|
A `#[lang = ".."]` attribute was placed on the wrong item type.
Erroneous code example:
```compile_fail,E0718
#![feature(lang_items)]
#[lang = "owned_box"]
static X: u32 = 42;
```
|