summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephyr Shannon <earthlingzephyr@gmail.com>2021-09-09 23:22:36 -0700
committerZephyr Shannon <earthlingzephyr@gmail.com>2021-09-09 23:22:36 -0700
commit5b0c565bb3f18d8a086ec01b864e01307b29d5ce (patch)
tree1b7b501b5b2ee77e4f3d278e646beeb7a4ca25ec
parentaad506dfb2bf5dc1234c6dce5971d75051576490 (diff)
downloadrust-mode-5b0c565bb3f18d8a086ec01b864e01307b29d5ce.tar.gz
Don't include the `', ` in compilation highlighting
It's more distracting than helpful.
-rw-r--r--rust-compile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust-compile.el b/rust-compile.el
index 682fe61..78a53cf 100644
--- a/rust-compile.el
+++ b/rust-compile.el
@@ -37,8 +37,8 @@ See `compilation-error-regexp-alist' for help on their format.")
;; Match test run failures and panics during compilation as
;; compilation warnings
(defvar cargo-compilation-regexps
- '("', \\([^:]+\\):\\([0-9]+\\)"
- 1 2 nil nil 0)
+ '("', \\(\\([^:]+\\):\\([0-9]+\\)\\)"
+ 2 3 nil nil 1)
"Specifications for matching panics in cargo test invocations.
See `compilation-error-regexp-alist' for help on their format.")