Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #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 ```
bors 2023-12-27
parent 85fb463 · parent 0542723 · commit 3ab1666
-rw-r--r--editors/code/package.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 246167e03f..89a7b92079 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1690,11 +1690,14 @@
"name": "rust-panic",
"patterns": [
{
- "regexp": "^thread '.*' panicked at '(.*)', (.*):(\\d*):(\\d*)$",
- "message": 1,
- "file": 2,
- "line": 3,
- "column": 4
+ "regexp": "^thread '.*' panicked at (.*):(\\d*):(\\d*):$",
+ "file": 1,
+ "line": 2,
+ "column": 3
+ },
+ {
+ "regexp": "(.*)",
+ "message": 1
}
]
}