Skip to content

Commit a2e9f56

Browse files
committed
Merge pull request #84 from birkenfeld/compilation-note
Recognize compiler notes as "info" messages
2 parents c801dda + 30d1dac commit a2e9f56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust-mode.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -1173,11 +1173,11 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
11731173
(start-col "\\([0-9]+\\)")
11741174
(end-line "\\([0-9]+\\)")
11751175
(end-col "\\([0-9]+\\)")
1176-
(error-or-warning "\\(?:[Ee]rror\\|\\([Ww]arning\\)\\)"))
1176+
(msg-type "\\(?:[Ee]rror\\|\\([Ww]arning\\)\\|\\([Nn]ote\\|[Hh]elp\\)\\)"))
11771177
(let ((re (concat "^" file ":" start-line ":" start-col
11781178
": " end-line ":" end-col
1179-
" " error-or-warning ":")))
1180-
(cons re '(1 (2 . 4) (3 . 5) (6)))))
1179+
" " msg-type ":")))
1180+
(cons re '(1 (2 . 4) (3 . 5) (6 . 7)))))
11811181
"Specifications for matching errors in rustc invocations.
11821182
See `compilation-error-regexp-alist' for help on their format.")
11831183

0 commit comments

Comments
 (0)