branch: elpa/rust-mode
commit 0a81930050aae32ed800a4e801924216beea353c
Author: Felix S. Klock II <[email protected]>
Commit: Felix S. Klock II <[email protected]>

    extend file regexp to match files with embedded spaces.
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index af1c28b..4c257e9 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -229,7 +229,7 @@ The initializer is `DEFAULT-TAB-WIDTH'.")
 ;; regexp (which is broken on a few edge cases), add our own 'rust
 ;; compilation error regexp and use it instead.
 (defvar rustc-compilation-regexps
-  (let ((file "\\([^ \n]+\\)")
+  (let ((file "^\\([^\n]+\\)")
         (start-line "\\([0-9]+\\)")
         (start-col  "\\([0-9]+\\)")
         (end-line   "\\([0-9]+\\)")

Reply via email to