We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06f1c68 + 63deaf3 commit a871d10Copy full SHA for a871d10
rust-mode.el
@@ -1610,9 +1610,8 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
1610
(let ((file "\\([^\n]+\\)")
1611
(start-line "\\([0-9]+\\)")
1612
(start-col "\\([0-9]+\\)"))
1613
- (let ((re (concat "^ *--> " file ":" start-line ":" start-col ; --> 1:2:3
1614
- )))
1615
- (cons re '(1 2 3))))
+ (let ((re (concat "^\\(?:error\\|\\(warning\\)\\)[^-]+--> \\(" file ":" start-line ":" start-col "\\)")))
+ (cons re '(3 4 5 (1) 2))))
1616
"Specifications for matching errors in rustc invocations.
1617
See `compilation-error-regexp-alist' for help on their format.")
1618
0 commit comments