diff options
Diffstat (limited to 'crates/completion/src/completions/postfix.rs')
-rw-r--r-- | crates/completion/src/completions/postfix.rs | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/crates/completion/src/completions/postfix.rs b/crates/completion/src/completions/postfix.rs index c8ba63cd3..d6db82a93 100644 --- a/crates/completion/src/completions/postfix.rs +++ b/crates/completion/src/completions/postfix.rs | |||
@@ -315,20 +315,20 @@ fn main() { | |||
315 | } | 315 | } |
316 | "#, | 316 | "#, |
317 | expect![[r#" | 317 | expect![[r#" |
318 | sn box Box::new(expr) | ||
319 | sn call function(expr) | ||
320 | sn dbg dbg!(expr) | ||
321 | sn dbgr dbg!(&expr) | ||
322 | sn if if expr {} | 318 | sn if if expr {} |
323 | sn let let | 319 | sn while while expr {} |
324 | sn letm let mut | ||
325 | sn match match expr {} | ||
326 | sn not !expr | 320 | sn not !expr |
327 | sn ok Ok(expr) | ||
328 | sn ref &expr | 321 | sn ref &expr |
329 | sn refm &mut expr | 322 | sn refm &mut expr |
323 | sn match match expr {} | ||
324 | sn box Box::new(expr) | ||
325 | sn ok Ok(expr) | ||
330 | sn some Some(expr) | 326 | sn some Some(expr) |
331 | sn while while expr {} | 327 | sn dbg dbg!(expr) |
328 | sn dbgr dbg!(&expr) | ||
329 | sn call function(expr) | ||
330 | sn let let | ||
331 | sn letm let mut | ||
332 | "#]], | 332 | "#]], |
333 | ); | 333 | ); |
334 | } | 334 | } |
@@ -347,18 +347,18 @@ fn main() { | |||
347 | } | 347 | } |
348 | "#, | 348 | "#, |
349 | expect![[r#" | 349 | expect![[r#" |
350 | sn box Box::new(expr) | ||
351 | sn call function(expr) | ||
352 | sn dbg dbg!(expr) | ||
353 | sn dbgr dbg!(&expr) | ||
354 | sn if if expr {} | 350 | sn if if expr {} |
355 | sn match match expr {} | 351 | sn while while expr {} |
356 | sn not !expr | 352 | sn not !expr |
357 | sn ok Ok(expr) | ||
358 | sn ref &expr | 353 | sn ref &expr |
359 | sn refm &mut expr | 354 | sn refm &mut expr |
355 | sn match match expr {} | ||
356 | sn box Box::new(expr) | ||
357 | sn ok Ok(expr) | ||
360 | sn some Some(expr) | 358 | sn some Some(expr) |
361 | sn while while expr {} | 359 | sn dbg dbg!(expr) |
360 | sn dbgr dbg!(&expr) | ||
361 | sn call function(expr) | ||
362 | "#]], | 362 | "#]], |
363 | ); | 363 | ); |
364 | } | 364 | } |
@@ -373,17 +373,17 @@ fn main() { | |||
373 | } | 373 | } |
374 | "#, | 374 | "#, |
375 | expect![[r#" | 375 | expect![[r#" |
376 | sn ref &expr | ||
377 | sn refm &mut expr | ||
378 | sn match match expr {} | ||
376 | sn box Box::new(expr) | 379 | sn box Box::new(expr) |
377 | sn call function(expr) | 380 | sn ok Ok(expr) |
381 | sn some Some(expr) | ||
378 | sn dbg dbg!(expr) | 382 | sn dbg dbg!(expr) |
379 | sn dbgr dbg!(&expr) | 383 | sn dbgr dbg!(&expr) |
384 | sn call function(expr) | ||
380 | sn let let | 385 | sn let let |
381 | sn letm let mut | 386 | sn letm let mut |
382 | sn match match expr {} | ||
383 | sn ok Ok(expr) | ||
384 | sn ref &expr | ||
385 | sn refm &mut expr | ||
386 | sn some Some(expr) | ||
387 | "#]], | 387 | "#]], |
388 | ) | 388 | ) |
389 | } | 389 | } |
@@ -398,20 +398,20 @@ fn main() { | |||
398 | } | 398 | } |
399 | "#, | 399 | "#, |
400 | expect![[r#" | 400 | expect![[r#" |
401 | sn box Box::new(expr) | ||
402 | sn call function(expr) | ||
403 | sn dbg dbg!(expr) | ||
404 | sn dbgr dbg!(&expr) | ||
405 | sn if if expr {} | 401 | sn if if expr {} |
406 | sn let let | 402 | sn while while expr {} |
407 | sn letm let mut | ||
408 | sn match match expr {} | ||
409 | sn not !expr | 403 | sn not !expr |
410 | sn ok Ok(expr) | ||
411 | sn ref &expr | 404 | sn ref &expr |
412 | sn refm &mut expr | 405 | sn refm &mut expr |
406 | sn match match expr {} | ||
407 | sn box Box::new(expr) | ||
408 | sn ok Ok(expr) | ||
413 | sn some Some(expr) | 409 | sn some Some(expr) |
414 | sn while while expr {} | 410 | sn dbg dbg!(expr) |
411 | sn dbgr dbg!(&expr) | ||
412 | sn call function(expr) | ||
413 | sn let let | ||
414 | sn letm let mut | ||
415 | "#]], | 415 | "#]], |
416 | ); | 416 | ); |
417 | } | 417 | } |