diff options
| author | Ralf Jung <post@ralfj.de> | 2022-12-25 15:46:20 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-12-25 15:46:20 +0100 |
| commit | c1b443de0e716c0c7bc3cbb226a2e5cfe94a493b (patch) | |
| tree | 8a9e4cd31bd087730df8c25ae2ed821723cba392 /src/test/codegen | |
| parent | 26e01397bfcb9749849ae372f009cdc1b1bf2684 (diff) | |
| download | rust-c1b443de0e716c0c7bc3cbb226a2e5cfe94a493b.tar.gz rust-c1b443de0e716c0c7bc3cbb226a2e5cfe94a493b.zip | |
fix codegen test
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/vec-shrink-panik.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/codegen/vec-shrink-panik.rs b/src/test/codegen/vec-shrink-panik.rs index 18409014bde..aa6589dc35b 100644 --- a/src/test/codegen/vec-shrink-panik.rs +++ b/src/test/codegen/vec-shrink-panik.rs @@ -18,11 +18,11 @@ pub fn shrink_to_fit(vec: &mut Vec<u32>) { pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> { // CHECK-NOT: panic - // Call to panic_no_unwind in case of double-panic is expected, + // Call to panic_cannot_unwind in case of double-panic is expected, // but other panics are not. // CHECK: cleanup - // CHECK-NEXT: ; call core::panicking::panic_no_unwind - // CHECK-NEXT: panic_no_unwind + // CHECK-NEXT: ; call core::panicking::panic_cannot_unwind + // CHECK-NEXT: panic_cannot_unwind // CHECK-NOT: panic vec.into_boxed_slice() @@ -33,15 +33,15 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> { pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> { // CHECK-NOT: panic - // Call to panic_no_unwind in case of double-panic is expected, + // Call to panic_cannot_unwind in case of double-panic is expected, // but other panics are not. // CHECK: cleanup - // CHECK-NEXT: ; call core::panicking::panic_no_unwind - // CHECK-NEXT: panic_no_unwind + // CHECK-NEXT: ; call core::panicking::panic_cannot_unwind + // CHECK-NEXT: panic_cannot_unwind // CHECK-NOT: panic iter.iter().copied().collect() } -// CHECK: ; core::panicking::panic_no_unwind -// CHECK: declare void @{{.*}}panic_no_unwind +// CHECK: ; core::panicking::panic_cannot_unwind +// CHECK: declare void @{{.*}}panic_cannot_unwind |
