diff options
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 3e6c67a..64d65c4 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -1297,6 +1297,11 @@ list of substrings of `STR' each followed by its face." '("let" font-lock-keyword-face "foo" font-lock-variable-name-face)) (rust-test-font-lock + "let ref foo;" + '("let" font-lock-keyword-face + "ref" font-lock-keyword-face + "foo" font-lock-variable-name-face)) + (rust-test-font-lock "let mut foo;" '("let" font-lock-keyword-face "mut" font-lock-keyword-face |
