rust/tests/ui/error-codes/E0152.rs
2024-02-16 20:02:50 +00:00

9 lines
196 B
Rust

//@ normalize-stderr-test "loaded from .*liballoc-.*.rlib" -> "loaded from SYSROOT/liballoc-*.rlib"
#![feature(lang_items)]
#[lang = "owned_box"]
struct Foo<T>(T); //~ ERROR E0152
fn main() {
}