diff options
Diffstat (limited to '.emacs.d/lisp/rust-compile.el')
| -rw-r--r-- | .emacs.d/lisp/rust-compile.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/lisp/rust-compile.el b/.emacs.d/lisp/rust-compile.el index cbdf43a..87b8c57 100644 --- a/.emacs.d/lisp/rust-compile.el +++ b/.emacs.d/lisp/rust-compile.el | |||
| @@ -41,9 +41,10 @@ See `compilation-error-regexp-alist' for help on their format.") | |||
| 41 | See `compilation-error-regexp-alist' for help on their format.") | 41 | See `compilation-error-regexp-alist' for help on their format.") |
| 42 | 42 | ||
| 43 | (defvar rustc-panics-compilation-regexps | 43 | (defvar rustc-panics-compilation-regexps |
| 44 | (let ((re (concat "thread '[^']+' panicked at " rustc-compilation-location))) | 44 | (let ((re (concat "thread '[^']+'\\(?: ([0-9]+)\\)? panicked at " |
| 45 | (cons re '(2 3 4 nil 1))) | 45 | rustc-compilation-location))) |
| 46 | "Specifications for matching panics in rustc invocations. | 46 | (cons re '(2 3 4 nil 1))) |
| 47 | "Specifications for matching panics in rustc invocations. | ||
| 47 | See `compilation-error-regexp-alist' for help on their format.") | 48 | See `compilation-error-regexp-alist' for help on their format.") |
| 48 | 49 | ||
| 49 | ;; Match test run failures and panics during compilation as | 50 | ;; Match test run failures and panics during compilation as |
