summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0718.rs
blob: 909cae0ba25a210d2380acc48118a6c92058c5de (plain)
1
2
3
4
5
6
7
#![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() {}