branch: elpa/rust-mode
commit 9b8d218d74269429c77b5f646ba2c2a2c66ff050
Merge: 01452f4 5b0c565
Author: brotzeit <brotzeitmac...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #414 from RadicalZephyr/fix-cargo-compilation-regex
    
    Fix cargo compilation regex
---
 rust-compile.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.")

Reply via email to