diff options
author | George Fraser <[email protected]> | 2020-05-10 19:08:32 +0100 |
---|---|---|
committer | George Fraser <[email protected]> | 2020-05-10 21:07:28 +0100 |
commit | 3f1c73633eb3e5d8a2df3a72dc772087cfb18be4 (patch) | |
tree | b70dbd08238f38dfb7fab482d5e543c87cddc26d /crates/ra_ide/src/syntax_highlighting | |
parent | 46566d7a791d758447980a03b13fd79a76c76a0f (diff) |
Color `in` as a control keyword
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tests.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs index 13894869c..7975755b2 100644 --- a/crates/ra_ide/src/syntax_highlighting/tests.rs +++ b/crates/ra_ide/src/syntax_highlighting/tests.rs | |||
@@ -47,6 +47,10 @@ fn main() { | |||
47 | STATIC_MUT = 1; | 47 | STATIC_MUT = 1; |
48 | } | 48 | } |
49 | 49 | ||
50 | for e in vec { | ||
51 | // Do nothing | ||
52 | } | ||
53 | |||
50 | let mut x = 42; | 54 | let mut x = 42; |
51 | let y = &mut x; | 55 | let y = &mut x; |
52 | let z = &y; | 56 | let z = &y; |