2020-06-17 13:05:30 -05:00
|
|
|
//@ normalize-stderr-test "loaded from .*liballoc-.*.rlib" -> "loaded from SYSROOT/liballoc-*.rlib"
|
2016-05-27 15:06:24 -05:00
|
|
|
#![feature(lang_items)]
|
|
|
|
|
2020-04-07 20:26:48 -05:00
|
|
|
#[lang = "owned_box"]
|
2021-08-14 20:38:37 -05:00
|
|
|
struct Foo<T>(T); //~ ERROR E0152
|
2016-05-27 15:06:24 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|