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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
197 B
Rust
Raw Normal View History

//@ normalize-stderr-test: "loaded from .*liballoc-.*.rlib" -> "loaded from SYSROOT/liballoc-*.rlib"
2016-05-28 04:06:24 +08:00
#![feature(lang_items)]
#[lang = "owned_box"]
struct Foo<T>(T); //~ ERROR E0152
2016-05-28 04:06:24 +08:00
fn main() {
}