aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/tests.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-12-23 16:15:01 +0000
committerLukas Wirth <[email protected]>2020-12-24 14:40:18 +0000
commit42e3f97c300c24b6ff9ff96ad0c24d386d3a253b (patch)
tree4142c4c99b034035bbc4e2b35ecd0f7e185b6855 /crates/ide/src/syntax_highlighting/tests.rs
parente1acb0ca5ca2162be068fd6a07f7cc4ae171ed81 (diff)
Support labels in reference search
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index f53d2c3ba..e0df0d2b5 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -168,6 +168,11 @@ fn main() {
168 let baz = -baz; 168 let baz = -baz;
169 169
170 let _ = !true; 170 let _ = !true;
171
172 'foo: loop {
173 break 'foo;
174 continue 'foo;
175 }
171} 176}
172 177
173enum Option<T> { 178enum Option<T> {