Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Add problem matchers for panic and test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
teohhanhui authored Jan 13, 2022
1 parent 9e120dd commit d984ec8
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .matchers/rust.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"problemMatcher": [
{
"owner": "rust",
"owner": "rust-diagnostic",
"pattern": [
{
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
Expand All @@ -16,6 +16,24 @@
"column": 4
}
]
},
{
"owner": "rust-panic",
"pattern": [
{
"regexp": "^(thread '[^']+' panicked at '[^']+'?)",
"message": 1
}
]
},
{
"owner": "rust-test-failure",
"pattern": [
{
"regexp": "^(test \\w+ ... FAILED)",
"message": 1
}
]
}
]
}

0 comments on commit d984ec8

Please sign in to comment.