blob: 9f000f04e6c5074cfb76a1f79def84a18499ba0b [file]
error: the `lang = "owned_box"` attribute cannot be used on statics
--> $DIR/E0718.rs:4:3
|
LL | #[lang = "owned_box"]
| ^^^^^^^^^^^^^^^^^^
LL | static X: u32 = 42;
|
= help: the `lang = "owned_box"` attribute can only be applied to structs
error: aborting due to 1 previous error