Skip to content

Commit 3ab1666

Browse files
committed
Auto merge of rust-lang#16096 - LuisFerLCC:master, r=lnicola
fix: update VSCode rust-panic problem matcher Corrected the `rust-panic` task problem matcher for the VSCode Extension to match the new panic message pattern. From: ``` thread 'main' panicked at 'PANIC_MESSAGE', src/main.rs:L:C ``` To: ``` thread 'main' panicked at src/main.rs:L:C: PANIC_MESSAGE ```
2 parents 85fb463 + 0542723 commit 3ab1666

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

editors/code/package.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -1690,11 +1690,14 @@
16901690
"name": "rust-panic",
16911691
"patterns": [
16921692
{
1693-
"regexp": "^thread '.*' panicked at '(.*)', (.*):(\\d*):(\\d*)$",
1694-
"message": 1,
1695-
"file": 2,
1696-
"line": 3,
1697-
"column": 4
1693+
"regexp": "^thread '.*' panicked at (.*):(\\d*):(\\d*):$",
1694+
"file": 1,
1695+
"line": 2,
1696+
"column": 3
1697+
},
1698+
{
1699+
"regexp": "(.*)",
1700+
"message": 1
16981701
}
16991702
]
17001703
}

0 commit comments

Comments
 (0)