From e71ba78d1bd9df5b59ea327eee9f4e2be01bb207 Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sun, 17 Apr 2022 21:11:26 +0200 Subject: [PATCH] Create rust.json --- rust.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 rust.json diff --git a/rust.json b/rust.json new file mode 100644 index 0000000..eba3c5b --- /dev/null +++ b/rust.json @@ -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 + } + ] + } + ] +}