]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0718.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / error-codes / E0718.rs
1 #![feature(lang_items)]
2
3 // Box is expected to be a struct, so this will error.
4 #[lang = "owned_box"] //~ ERROR language item must be applied to a struct
5 static X: u32 = 42;
6
7 fn main() {}