summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.")