We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ced187 commit 31b8453Copy full SHA for 31b8453
rust-mode.el
@@ -1585,10 +1585,12 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
1585
See `compilation-error-regexp-alist' for help on their format.")
1586
1587
(defvar rustc-colon-compilation-regexps
1588
- (let ((file "\\([^\n]+\\)"))
1589
- (let ((re (concat "^ *::: " file ; ::: foo/bar.rs
+ (let ((file "\\([^\n]+\\)")
+ (start-line "\\([0-9]+\\)")
1590
+ (start-col "\\([0-9]+\\)"))
1591
+ (let ((re (concat "^ *::: " file ":" start-line ":" start-col ; ::: foo/bar.rs
1592
)))
- (cons re '(1))))
1593
+ (cons re '(1 2 3))))
1594
"Specifications for matching `:::` hints in rustc invocations.
1595
1596
0 commit comments