Skip to content

Commit

Permalink
Auto merge of #16096 - LuisFerLCC:master, r=lnicola
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
bors committed Dec 27, 2023
2 parents 85fb463 + 0542723 commit 3ab1666
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
Expand Down

0 comments on commit 3ab1666

Please sign in to comment.