diff options
-rw-r--r-- | crates/completion/src/completions/keyword.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/completion/src/completions/keyword.rs b/crates/completion/src/completions/keyword.rs index 17a8069fe..123b944d9 100644 --- a/crates/completion/src/completions/keyword.rs +++ b/crates/completion/src/completions/keyword.rs | |||
@@ -259,6 +259,7 @@ mod tests { | |||
259 | kw loop | 259 | kw loop |
260 | kw if | 260 | kw if |
261 | kw if let | 261 | kw if let |
262 | kw for | ||
262 | kw let | 263 | kw let |
263 | kw mod | 264 | kw mod |
264 | kw const | 265 | kw const |
@@ -285,6 +286,7 @@ mod tests { | |||
285 | kw loop | 286 | kw loop |
286 | kw if | 287 | kw if |
287 | kw if let | 288 | kw if let |
289 | kw for | ||
288 | kw let | 290 | kw let |
289 | kw mod | 291 | kw mod |
290 | kw const | 292 | kw const |
@@ -311,6 +313,7 @@ mod tests { | |||
311 | kw loop | 313 | kw loop |
312 | kw if | 314 | kw if |
313 | kw if let | 315 | kw if let |
316 | kw for | ||
314 | kw let | 317 | kw let |
315 | kw else | 318 | kw else |
316 | kw else if | 319 | kw else if |
@@ -344,6 +347,7 @@ fn quux() -> i32 { | |||
344 | kw loop | 347 | kw loop |
345 | kw if | 348 | kw if |
346 | kw if let | 349 | kw if let |
350 | kw for | ||
347 | kw unsafe | 351 | kw unsafe |
348 | kw return | 352 | kw return |
349 | "#]], | 353 | "#]], |
@@ -392,6 +396,7 @@ fn quux() -> i32 { | |||
392 | kw loop | 396 | kw loop |
393 | kw if | 397 | kw if |
394 | kw if let | 398 | kw if let |
399 | kw for | ||
395 | kw let | 400 | kw let |
396 | kw mod | 401 | kw mod |
397 | kw const | 402 | kw const |
@@ -550,6 +555,7 @@ pub mod future { | |||
550 | kw loop | 555 | kw loop |
551 | kw if | 556 | kw if |
552 | kw if let | 557 | kw if let |
558 | kw for | ||
553 | kw return | 559 | kw return |
554 | "#]], | 560 | "#]], |
555 | ) | 561 | ) |
@@ -608,6 +614,7 @@ fn foo() { | |||
608 | kw loop | 614 | kw loop |
609 | kw if | 615 | kw if |
610 | kw if let | 616 | kw if let |
617 | kw for | ||
611 | kw return | 618 | kw return |
612 | "#]], | 619 | "#]], |
613 | ); | 620 | ); |