mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +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",
|
"name": "rust-panic",
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"regexp": "^thread '.*' panicked at '(.*)', (.*):(\\d*):(\\d*)$",
|
"regexp": "^thread '.*' panicked at (.*):(\\d*):(\\d*):$",
|
||||||
"message": 1,
|
"file": 1,
|
||||||
"file": 2,
|
"line": 2,
|
||||||
"line": 3,
|
"column": 3
|
||||||
"column": 4
|
},
|
||||||
|
{
|
||||||
|
"regexp": "(.*)",
|
||||||
|
"message": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue