Create rust.json

This commit is contained in:
Jonas Bushart 2022-04-17 21:11:26 +02:00 committed by GitHub
parent a0827d6cf2
commit e71ba78d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

33
rust.json Normal file
View file

@ -0,0 +1,33 @@
{
"problemMatcher": [
{
"owner": "rustfmt",
"severity": "warning",
"pattern": [
{
"regexp": "^(Diff in (.+)) at line (\\d+):$",
"message": 1,
"file": 2,
"line": 3
}
]
},
{
"owner": "clippy",
"pattern": [
{
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
"severity": 1,
"message": 4,
"code": 3
},
{
"regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
"file": 2,
"line": 3,
"column": 4
}
]
}
]
}