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