Skip to content

Commit 996c583

Browse files
authored
Unrolled build for #142639
Rollup merge of #142639 - dpaoliello:needcolon, r=WaffleLapkin Add a missing colon at the end of the panic location details in location-detail-unwrap-multiline.rs The `location-detail-unwrap-multiline` test was failing when trying to enable `aarch64-pc-windows-msvc` CI Runners: #140136 (comment) When debugging, the normalized stderr was: ``` thread 'main' panicked at $DIR/location-detail-unwrap-multiline.rs:11:10: called `Option::unwrap()` on a `None` value stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ``` Note the trailing colon at the end of the location details in the panic message. This was missing in the error pattern regex. No idea why it has been passing for all other targets and failed for `aarch64-pc-windows-msvc`, but with the trailing colon it is now passing for all.
2 parents d1d8e38 + 81f7eeb commit 996c583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/panics/location-detail-unwrap-multiline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ run-fail
22
//@ compile-flags: -Cstrip=none -Cdebuginfo=line-tables-only -Copt-level=0
33
//@ exec-env:RUST_BACKTRACE=1
4-
//@ regex-error-pattern: location-detail-unwrap-multiline\.rs:11(:10)?\n
4+
//@ regex-error-pattern: location-detail-unwrap-multiline\.rs:11(:10)?:\n
55
//@ needs-unwind
66
//@ ignore-android FIXME #17520
77

0 commit comments

Comments
 (0)