mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
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 ```
This commit is contained in:
commit
3ab1666370
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue