mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
8 lines
184 B
Rust
8 lines
184 B
Rust
#![feature(lang_items)]
|
|
|
|
// Box is expected to be a struct, so this will error.
|
|
#[lang = "owned_box"] //~ ERROR lang item must be applied to a struct
|
|
static X: u32 = 42;
|
|
|
|
fn main() {}
|