Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
error-codes
/
E0718.rs
blob: 909cae0ba25a210d2380acc48118a6c92058c5de [
file
] [
log
] [
blame
]
#![
feature
(
lang_items
)]
// Box is expected to be a struct, so this will error.
#[
lang
=
"owned_box"
]
//~ ERROR language item must be applied to a struct
static
X
:
u32
=
42
;
fn
main
()
{}