File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1173,11 +1173,11 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
1173
1173
(start-col " \\ ([0-9]+\\ )" )
1174
1174
(end-line " \\ ([0-9]+\\ )" )
1175
1175
(end-col " \\ ([0-9]+\\ )" )
1176
- (error-or-warning " \\ (?:[Ee]rror\\ |\\ ([Ww]arning\\ )\\ )" ))
1176
+ (msg-type " \\ (?:[Ee]rror\\ |\\ ([Ww]arning\\ ) \\ | \\ ([Nn]ote \\ |[Hh]elp \\ )\\ )" ))
1177
1177
(let ((re (concat " ^" file " :" start-line " :" start-col
1178
1178
" : " 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 )))))
1181
1181
" Specifications for matching errors in rustc invocations.
1182
1182
See `compilation-error-regexp-alist' for help on their format." )
1183
1183
You can’t perform that action at this time.
0 commit comments