]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0718.rs
Rollup merge of #106940 - oli-obk:tait_error, r=compiler-errors
[rust.git] / tests / 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() {}