Skip to content

Commit 5cfb919

Browse files
authored
Merge pull request #165 from nikomatsakis/new-errors
fix regex to account for `[E123]`
2 parents f73f321 + d2e57a9 commit 5cfb919

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
@@ -1428,7 +1428,7 @@ See `compilation-error-regexp-alist' for help on their format.")
14281428
(let ((start-of-error
14291429
(save-excursion
14301430
(beginning-of-line)
1431-
(while (not (looking-at "^[a-z]+:"))
1431+
(while (not (looking-at "^[a-z]+:\\|^[a-z]+\\[E[0-9]+\\]:"))
14321432
(forward-line -1))
14331433
(point))))
14341434
(set-window-start (selected-window) start-of-error))))))

0 commit comments

Comments
 (0)