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
195 B
Rust
Raw Normal View History

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