about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-16 15:32:39 +0000
committerbors <bors@rust-lang.org>2024-01-16 15:32:39 +0000
commitbf2637f4e89aab364d7ab28deb09820363bef86d (patch)
treecca2e47be1a426b9f1f49187a9b075379b5a8417 /tests/codegen
parent533cfde67caa9c15cc01a685d247bb92ace96e81 (diff)
parent23483664a24434e0bd5dab1576dffe4d8ada712c (diff)
downloadrust-bf2637f4e89aab364d7ab28deb09820363bef86d.tar.gz
rust-bf2637f4e89aab364d7ab28deb09820363bef86d.zip
Auto merge of #119954 - scottmcm:option-unwrap-failed, r=WaffleLapkin
Split out `option::unwrap_failed` like we have `result::unwrap_failed`

...and like `option::expect_failed`
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/debuginfo-inline-callsite-location.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/debuginfo-inline-callsite-location.rs b/tests/codegen/debuginfo-inline-callsite-location.rs
index b1475ee7931..d529f9ccead 100644
--- a/tests/codegen/debuginfo-inline-callsite-location.rs
+++ b/tests/codegen/debuginfo-inline-callsite-location.rs
@@ -4,9 +4,9 @@
 // can correctly merge the debug info if it merges the inlined code (e.g., for merging of tail
 // calls to panic.
 
-// CHECK:       tail call void @_ZN4core9panicking5panic17h{{([0-9a-z]{16})}}E
+// CHECK:       tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
 // CHECK-SAME:  !dbg ![[#first_dbg:]]
-// CHECK:       tail call void @_ZN4core9panicking5panic17h{{([0-9a-z]{16})}}E
+// CHECK:       tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
 // CHECK-SAME:  !dbg ![[#second_dbg:]]
 
 // CHECK-DAG:   ![[#func_dbg:]] = distinct !DISubprogram(name: "unwrap<i32>"