From e04e485b9f74b0fcb52816fb01845af083213bdf Mon Sep 17 00:00:00 2001 From: Nathan Moreau Date: Sun, 12 Apr 2020 17:42:15 +0200 Subject: rustc-compilation-regexps: handle `note` case as compilation-info. --- rust-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust-mode.el') diff --git a/rust-mode.el b/rust-mode.el index e7ef1ef..f91d5ff 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -1831,9 +1831,9 @@ Return the created process." (let ((file "\\([^\n]+\\)") (start-line "\\([0-9]+\\)") (start-col "\\([0-9]+\\)")) - (let ((re (concat "^\\(?:error\\|\\(warning\\)\\)[^\0]+?--> \\(" + (let ((re (concat "^\\(?:error\\|\\(warning\\)\\|\\(note\\)\\)[^\0]+?--> \\(" file ":" start-line ":" start-col "\\)"))) - (cons re '(3 4 5 (1) 2)))) + (cons re '(4 5 6 (1 . 2) 3)))) "Specifications for matching errors in rustc invocations. See `compilation-error-regexp-alist' for help on their format.") -- cgit v1.2.3