diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_path.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index 9ac9768af..2c9c8645b 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs | |||
@@ -308,6 +308,7 @@ mod tests { | |||
308 | documentation: Documentation( | 308 | documentation: Documentation( |
309 | "Bar Variant with i32", | 309 | "Bar Variant with i32", |
310 | ), | 310 | ), |
311 | deprecated: false, | ||
311 | }, | 312 | }, |
312 | CompletionItem { | 313 | CompletionItem { |
313 | label: "Foo", | 314 | label: "Foo", |
@@ -319,6 +320,7 @@ mod tests { | |||
319 | documentation: Documentation( | 320 | documentation: Documentation( |
320 | "Foo Variant", | 321 | "Foo Variant", |
321 | ), | 322 | ), |
323 | deprecated: false, | ||
322 | }, | 324 | }, |
323 | ]"### | 325 | ]"### |
324 | ); | 326 | ); |
@@ -354,6 +356,7 @@ mod tests { | |||
354 | documentation: Documentation( | 356 | documentation: Documentation( |
355 | "Bar Variant with i32 and u32", | 357 | "Bar Variant with i32 and u32", |
356 | ), | 358 | ), |
359 | deprecated: false, | ||
357 | }, | 360 | }, |
358 | CompletionItem { | 361 | CompletionItem { |
359 | label: "Foo", | 362 | label: "Foo", |
@@ -365,6 +368,7 @@ mod tests { | |||
365 | documentation: Documentation( | 368 | documentation: Documentation( |
366 | "Foo Variant (empty)", | 369 | "Foo Variant (empty)", |
367 | ), | 370 | ), |
371 | deprecated: false, | ||
368 | }, | 372 | }, |
369 | CompletionItem { | 373 | CompletionItem { |
370 | label: "S", | 374 | label: "S", |
@@ -376,6 +380,7 @@ mod tests { | |||
376 | documentation: Documentation( | 380 | documentation: Documentation( |
377 | "", | 381 | "", |
378 | ), | 382 | ), |
383 | deprecated: false, | ||
379 | }, | 384 | }, |
380 | ]"### | 385 | ]"### |
381 | ); | 386 | ); |
@@ -411,6 +416,7 @@ mod tests { | |||
411 | documentation: Documentation( | 416 | documentation: Documentation( |
412 | "An associated method", | 417 | "An associated method", |
413 | ), | 418 | ), |
419 | deprecated: false, | ||
414 | }, | 420 | }, |
415 | ] | 421 | ] |
416 | "### | 422 | "### |
@@ -445,6 +451,7 @@ mod tests { | |||
445 | documentation: Documentation( | 451 | documentation: Documentation( |
446 | "An associated const", | 452 | "An associated const", |
447 | ), | 453 | ), |
454 | deprecated: false, | ||
448 | }, | 455 | }, |
449 | ]"### | 456 | ]"### |
450 | ); | 457 | ); |
@@ -478,6 +485,7 @@ mod tests { | |||
478 | documentation: Documentation( | 485 | documentation: Documentation( |
479 | "An associated type", | 486 | "An associated type", |
480 | ), | 487 | ), |
488 | deprecated: false, | ||
481 | }, | 489 | }, |
482 | ]"### | 490 | ]"### |
483 | ); | 491 | ); |
@@ -513,6 +521,7 @@ mod tests { | |||
513 | documentation: Documentation( | 521 | documentation: Documentation( |
514 | "An associated method", | 522 | "An associated method", |
515 | ), | 523 | ), |
524 | deprecated: false, | ||
516 | }, | 525 | }, |
517 | ] | 526 | ] |
518 | "### | 527 | "### |
@@ -549,6 +558,7 @@ mod tests { | |||
549 | documentation: Documentation( | 558 | documentation: Documentation( |
550 | "An associated method", | 559 | "An associated method", |
551 | ), | 560 | ), |
561 | deprecated: false, | ||
552 | }, | 562 | }, |
553 | ] | 563 | ] |
554 | "### | 564 | "### |
@@ -608,6 +618,7 @@ mod tests { | |||
608 | documentation: Documentation( | 618 | documentation: Documentation( |
609 | "A trait method", | 619 | "A trait method", |
610 | ), | 620 | ), |
621 | deprecated: false, | ||
611 | }, | 622 | }, |
612 | ] | 623 | ] |
613 | "### | 624 | "### |
@@ -644,6 +655,7 @@ mod tests { | |||
644 | documentation: Documentation( | 655 | documentation: Documentation( |
645 | "A trait method", | 656 | "A trait method", |
646 | ), | 657 | ), |
658 | deprecated: false, | ||
647 | }, | 659 | }, |
648 | ] | 660 | ] |
649 | "### | 661 | "### |
@@ -680,6 +692,7 @@ mod tests { | |||
680 | documentation: Documentation( | 692 | documentation: Documentation( |
681 | "A trait method", | 693 | "A trait method", |
682 | ), | 694 | ), |
695 | deprecated: false, | ||
683 | }, | 696 | }, |
684 | ] | 697 | ] |
685 | "### | 698 | "### |
@@ -711,6 +724,7 @@ mod tests { | |||
711 | kind: Function, | 724 | kind: Function, |
712 | lookup: "bar", | 725 | lookup: "bar", |
713 | detail: "fn bar()", | 726 | detail: "fn bar()", |
727 | deprecated: false, | ||
714 | }, | 728 | }, |
715 | CompletionItem { | 729 | CompletionItem { |
716 | label: "foo()", | 730 | label: "foo()", |
@@ -720,6 +734,7 @@ mod tests { | |||
720 | kind: Function, | 734 | kind: Function, |
721 | lookup: "foo", | 735 | lookup: "foo", |
722 | detail: "fn foo()", | 736 | detail: "fn foo()", |
737 | deprecated: false, | ||
723 | }, | 738 | }, |
724 | ] | 739 | ] |
725 | "### | 740 | "### |
@@ -750,6 +765,7 @@ mod tests { | |||
750 | insert: "foo!($0)", | 765 | insert: "foo!($0)", |
751 | kind: Macro, | 766 | kind: Macro, |
752 | detail: "#[macro_export]\nmacro_rules! foo", | 767 | detail: "#[macro_export]\nmacro_rules! foo", |
768 | deprecated: false, | ||
753 | }, | 769 | }, |
754 | CompletionItem { | 770 | CompletionItem { |
755 | label: "main()", | 771 | label: "main()", |
@@ -759,6 +775,7 @@ mod tests { | |||
759 | kind: Function, | 775 | kind: Function, |
760 | lookup: "main", | 776 | lookup: "main", |
761 | detail: "fn main()", | 777 | detail: "fn main()", |
778 | deprecated: false, | ||
762 | }, | 779 | }, |
763 | ] | 780 | ] |
764 | "### | 781 | "### |