rust/tests/ui/error-codes/E0152.rs
2023-01-11 09:32:08 +00:00

9 lines
195 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() {
}