rust/tests/ui/error-codes/E0152.rs

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