From bfe593e03a0f73ee52ac666be17e963957ef628f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 29 Feb 2020 09:29:51 +0100 Subject: [PATCH] clarify a comment in the test --- src/test/ui/intrinsics/panic-uninitialized-zeroed.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs b/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs index be0df0ea254..02f8ecaa4ee 100644 --- a/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs +++ b/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs @@ -161,7 +161,9 @@ fn main() { let _val = mem::zeroed::>>(); let _val = mem::uninitialized::>(); - // We don't panic for these just to be conservative. They are UB as of now (2019-11-09). + // These are UB because they have not been officially blessed, but we await the resolution + // of before doing + // anything about that. let _val = mem::uninitialized::(); let _val = mem::uninitialized::<*const ()>(); }