about summary refs log tree commit diff
path: root/tests/codegen-units/item-collection/implicit-panic-call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen-units/item-collection/implicit-panic-call.rs')
-rw-r--r--tests/codegen-units/item-collection/implicit-panic-call.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/codegen-units/item-collection/implicit-panic-call.rs b/tests/codegen-units/item-collection/implicit-panic-call.rs
index 6d3a17d8d4a..612132f056b 100644
--- a/tests/codegen-units/item-collection/implicit-panic-call.rs
+++ b/tests/codegen-units/item-collection/implicit-panic-call.rs
@@ -28,8 +28,14 @@ fn panic_div_overflow() -> ! {
     loop {}
 }
 
+#[lang = "pointee_sized"]
+pub trait PointeeSized {}
+
+#[lang = "meta_sized"]
+pub trait MetaSized: PointeeSized {}
+
 #[lang = "sized"]
-trait Sized {}
+pub trait Sized: MetaSized {}
 
 #[lang = "copy"]
 trait Copy {}