We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04e485 commit 888f3deCopy full SHA for 888f3de
rust-mode.el
@@ -1484,6 +1484,8 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
1484
(with-current-buffer (get-buffer rust-rustfmt-buffername)
1485
(goto-char (point-min))
1486
(while (re-search-forward "--> <stdin>:" nil t)
1487
+ (replace-match (format "--> %s:" buffer-name)))
1488
+ (while (re-search-forward "--> stdin:" nil t)
1489
(replace-match (format "--> %s:" buffer-name)))))
1490
1491
;; If rust-mode has been configured to navigate to source of the error
0 commit comments