Skip to content

Commit d2e57a9

Browse files
committed
fix regex to account for [E123]
1 parent 40c33fd commit d2e57a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ See `compilation-error-regexp-alist' for help on their format.")
14131413
(let ((start-of-error
14141414
(save-excursion
14151415
(beginning-of-line)
1416-
(while (not (looking-at "^[a-z]+:"))
1416+
(while (not (looking-at "^[a-z]+:\\|^[a-z]+\\[E[0-9]+\\]:"))
14171417
(forward-line -1))
14181418
(point))))
14191419
(set-window-start (selected-window) start-of-error))))))

0 commit comments

Comments
 (0)