diff options
author | Lukas Wirth <[email protected]> | 2020-12-23 16:15:01 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-24 14:40:18 +0000 |
commit | 42e3f97c300c24b6ff9ff96ad0c24d386d3a253b (patch) | |
tree | 4142c4c99b034035bbc4e2b35ecd0f7e185b6855 /crates/ide/src/syntax_highlighting/tests.rs | |
parent | e1acb0ca5ca2162be068fd6a07f7cc4ae171ed81 (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.rs | 5 |
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 | ||
173 | enum Option<T> { | 178 | enum Option<T> { |