From b83b34e82d366e52324f675de9829ae96fd065b1 Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Fri, 24 Dec 2021 15:50:00 +0100 Subject: Add a face for the ampersand reference mark Customizing this face may improve code readability for some users. By default nothing is set for backward compatibility. --- rust-mode-tests.el | 1 + 1 file changed, 1 insertion(+) (limited to 'rust-mode-tests.el') diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 9c23ed4..24c2682 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -1699,6 +1699,7 @@ this_is_not_a_string();)" "foo" font-lock-type-face "x" font-lock-variable-name-face ;; This union is the name of a lifetime. + "&" rust-ampersand-face "union" font-lock-variable-name-face "bar" font-lock-type-face))) -- cgit v1.2.3