summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2021-12-16 22:05:53 +0100
committerGitHub <noreply@github.com>2021-12-16 22:05:53 +0100
commit9b8d218d74269429c77b5f646ba2c2a2c66ff050 (patch)
tree065c2148295d561501c65fca9adf485a13a7c6be
parent01452f41c15d25b37d0cd3968a04eb397ba2df73 (diff)
parent5b0c565bb3f18d8a086ec01b864e01307b29d5ce (diff)
downloadrust-mode-9b8d218d74269429c77b5f646ba2c2a2c66ff050.tar.gz
Merge pull request #414 from RadicalZephyr/fix-cargo-compilation-regex
Fix cargo compilation regex
-rw-r--r--rust-compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-compile.el b/rust-compile.el
index 6c73901..78a53cf 100644
--- a/rust-compile.el
+++ b/rust-compile.el
@@ -37,7 +37,7 @@ 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
- '("^\\s-+thread '[^']+' panicked at \\('[^']+', \\([^:]+\\):\\([0-9]+\\)\\)"
+ '("', \\(\\([^:]+\\):\\([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.")