aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r--crates/ra_ide/src/syntax_highlighting/tests.rs4
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;