emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode a2e9f56 199/486: Merge pull request #84 from bir


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode a2e9f56 199/486: Merge pull request #84 from birkenfeld/compilation-note
Date: Sat, 7 Aug 2021 09:25:18 -0400 (EDT)

branch: elpa/rust-mode
commit a2e9f56a8f3b088c11edad8bb087ae5a259758c4
Merge: c801dda 30d1dac
Author: Micah Chalmer <micah@micahchalmer.net>
Commit: Micah Chalmer <micah@micahchalmer.net>

    Merge pull request #84 from birkenfeld/compilation-note
    
    Recognize compiler notes as "info" messages
---
 rust-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index 4ba4c7c..cc4958f 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1173,11 +1173,11 @@ This is written mainly to be used as 
`end-of-defun-function' for Rust."
         (start-col  "\\([0-9]+\\)")
         (end-line   "\\([0-9]+\\)")
         (end-col    "\\([0-9]+\\)")
-        (error-or-warning "\\(?:[Ee]rror\\|\\([Ww]arning\\)\\)"))
+        (msg-type   
"\\(?:[Ee]rror\\|\\([Ww]arning\\)\\|\\([Nn]ote\\|[Hh]elp\\)\\)"))
     (let ((re (concat "^" file ":" start-line ":" start-col
                       ": " end-line ":" end-col
-                      " " error-or-warning ":")))
-      (cons re '(1 (2 . 4) (3 . 5) (6)))))
+                      " " msg-type ":")))
+      (cons re '(1 (2 . 4) (3 . 5) (6 . 7)))))
   "Specifications for matching errors in rustc invocations.
 See `compilation-error-regexp-alist' for help on their format.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]