From 5b0c565bb3f18d8a086ec01b864e01307b29d5ce Mon Sep 17 00:00:00 2001 From: Zephyr Shannon Date: Thu, 9 Sep 2021 23:22:36 -0700 Subject: Don't include the `', ` in compilation highlighting It's more distracting than helpful. --- rust-compile.el | 4 ++-- 1 file 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.") -- cgit v1.2.3