diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-08-20 05:55:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-20 05:55:26 -0400 |
| commit | 5cfb9197af67e00ebd5bbcb05c28545c9014ea32 (patch) | |
| tree | 065ae32d610600f2f71769be0583665f34419e37 /rust-mode.el | |
| parent | f73f3217b24f0fb261d09c4e58a0416a42c82c77 (diff) | |
| parent | d2e57a93743efc73928b6dfdc5e7574af938923b (diff) | |
| download | rust-mode-5cfb9197af67e00ebd5bbcb05c28545c9014ea32.tar.gz | |
Merge pull request #165 from nikomatsakis/new-errors
fix regex to account for `[E123]`
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 99e4bb4..4867e77 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -1428,7 +1428,7 @@ See `compilation-error-regexp-alist' for help on their format.") (let ((start-of-error (save-excursion (beginning-of-line) - (while (not (looking-at "^[a-z]+:")) + (while (not (looking-at "^[a-z]+:\\|^[a-z]+\\[E[0-9]+\\]:")) (forward-line -1)) (point)))) (set-window-start (selected-window) start-of-error)))))) |
