about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-04-09 10:05:26 +0900
committerNikita Popov <npopov@redhat.com>2024-04-25 11:43:47 +0900
commit137775dd631769bd83c90ec8f12bb17db9e6d411 (patch)
treee3be6f94e63afcbdbada34bda0cfc2aa9522e090
parent3695af697efa26b0ea3b67739ade3ecc3929154e (diff)
downloadrust-137775dd631769bd83c90ec8f12bb17db9e6d411.tar.gz
rust-137775dd631769bd83c90ec8f12bb17db9e6d411.zip
Fix incorrect CHECK-LABEL
-rw-r--r--tests/codegen/maybeuninit-rvo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/maybeuninit-rvo.rs b/tests/codegen/maybeuninit-rvo.rs
index d6b9ee8d11d..d21e878c818 100644
--- a/tests/codegen/maybeuninit-rvo.rs
+++ b/tests/codegen/maybeuninit-rvo.rs
@@ -24,7 +24,7 @@ extern "C-unwind" {
 }
 
 pub fn new_from_uninit_unwind() -> Foo {
-    // CHECK-LABEL: new_from_uninit
+    // CHECK-LABEL: new_from_uninit_unwind
     // CHECK-NOT: call void @llvm.memcpy.
     let mut x = std::mem::MaybeUninit::uninit();
     unsafe {