diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/presentation.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/presentation.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs index d98201887..cb55d1875 100644 --- a/crates/ra_ide_api/src/completion/presentation.rs +++ b/crates/ra_ide_api/src/completion/presentation.rs | |||
@@ -335,7 +335,6 @@ mod tests { | |||
335 | kind: Function, | 335 | kind: Function, |
336 | lookup: "main", | 336 | lookup: "main", |
337 | detail: "fn main()", | 337 | detail: "fn main()", |
338 | deprecated: false, | ||
339 | }, | 338 | }, |
340 | CompletionItem { | 339 | CompletionItem { |
341 | label: "something_deprecated()", | 340 | label: "something_deprecated()", |
@@ -382,7 +381,6 @@ mod tests { | |||
382 | kind: Function, | 381 | kind: Function, |
383 | lookup: "main", | 382 | lookup: "main", |
384 | detail: "fn main()", | 383 | detail: "fn main()", |
385 | deprecated: false, | ||
386 | }, | 384 | }, |
387 | CompletionItem { | 385 | CompletionItem { |
388 | label: "no_args()", | 386 | label: "no_args()", |
@@ -392,7 +390,6 @@ mod tests { | |||
392 | kind: Function, | 390 | kind: Function, |
393 | lookup: "no_args", | 391 | lookup: "no_args", |
394 | detail: "fn no_args()", | 392 | detail: "fn no_args()", |
395 | deprecated: false, | ||
396 | }, | 393 | }, |
397 | ] | 394 | ] |
398 | "### | 395 | "### |
@@ -414,7 +411,6 @@ mod tests { | |||
414 | kind: Function, | 411 | kind: Function, |
415 | lookup: "main", | 412 | lookup: "main", |
416 | detail: "fn main()", | 413 | detail: "fn main()", |
417 | deprecated: false, | ||
418 | }, | 414 | }, |
419 | CompletionItem { | 415 | CompletionItem { |
420 | label: "with_args(…)", | 416 | label: "with_args(…)", |
@@ -424,7 +420,6 @@ mod tests { | |||
424 | kind: Function, | 420 | kind: Function, |
425 | lookup: "with_args", | 421 | lookup: "with_args", |
426 | detail: "fn with_args(x: i32, y: String)", | 422 | detail: "fn with_args(x: i32, y: String)", |
427 | deprecated: false, | ||
428 | }, | 423 | }, |
429 | ] | 424 | ] |
430 | "### | 425 | "### |
@@ -451,7 +446,6 @@ mod tests { | |||
451 | kind: Method, | 446 | kind: Method, |
452 | lookup: "foo", | 447 | lookup: "foo", |
453 | detail: "fn foo(&self)", | 448 | detail: "fn foo(&self)", |
454 | deprecated: false, | ||
455 | }, | 449 | }, |
456 | ] | 450 | ] |
457 | "### | 451 | "### |
@@ -476,7 +470,6 @@ mod tests { | |||
476 | insert: "foo", | 470 | insert: "foo", |
477 | kind: Function, | 471 | kind: Function, |
478 | detail: "pub fn foo()", | 472 | detail: "pub fn foo()", |
479 | deprecated: false, | ||
480 | }, | 473 | }, |
481 | ]"# | 474 | ]"# |
482 | ); | 475 | ); |
@@ -502,7 +495,6 @@ mod tests { | |||
502 | insert: "frobnicate", | 495 | insert: "frobnicate", |
503 | kind: Function, | 496 | kind: Function, |
504 | detail: "fn frobnicate()", | 497 | detail: "fn frobnicate()", |
505 | deprecated: false, | ||
506 | }, | 498 | }, |
507 | CompletionItem { | 499 | CompletionItem { |
508 | label: "main", | 500 | label: "main", |
@@ -511,7 +503,6 @@ mod tests { | |||
511 | insert: "main", | 503 | insert: "main", |
512 | kind: Function, | 504 | kind: Function, |
513 | detail: "fn main()", | 505 | detail: "fn main()", |
514 | deprecated: false, | ||
515 | }, | 506 | }, |
516 | ]"# | 507 | ]"# |
517 | ); | 508 | ); |
@@ -534,7 +525,6 @@ mod tests { | |||
534 | insert: "new", | 525 | insert: "new", |
535 | kind: Function, | 526 | kind: Function, |
536 | detail: "fn new() -> Foo", | 527 | detail: "fn new() -> Foo", |
537 | deprecated: false, | ||
538 | }, | 528 | }, |
539 | ]"# | 529 | ]"# |
540 | ); | 530 | ); |
@@ -568,7 +558,6 @@ mod tests { | |||
568 | kind: Function, | 558 | kind: Function, |
569 | lookup: "foo", | 559 | lookup: "foo", |
570 | detail: "fn foo(xs: Ve)", | 560 | detail: "fn foo(xs: Ve)", |
571 | deprecated: false, | ||
572 | }, | 561 | }, |
573 | ] | 562 | ] |
574 | "### | 563 | "### |
@@ -598,7 +587,6 @@ mod tests { | |||
598 | kind: Function, | 587 | kind: Function, |
599 | lookup: "foo", | 588 | lookup: "foo", |
600 | detail: "fn foo(xs: Ve)", | 589 | detail: "fn foo(xs: Ve)", |
601 | deprecated: false, | ||
602 | }, | 590 | }, |
603 | ] | 591 | ] |
604 | "### | 592 | "### |
@@ -627,7 +615,6 @@ mod tests { | |||
627 | kind: Function, | 615 | kind: Function, |
628 | lookup: "foo", | 616 | lookup: "foo", |
629 | detail: "fn foo(xs: Ve)", | 617 | detail: "fn foo(xs: Ve)", |
630 | deprecated: false, | ||
631 | }, | 618 | }, |
632 | ] | 619 | ] |
633 | "### | 620 | "### |
@@ -656,7 +643,6 @@ mod tests { | |||
656 | kind: Function, | 643 | kind: Function, |
657 | lookup: "foo", | 644 | lookup: "foo", |
658 | detail: "fn foo(xs: Ve<i128>)", | 645 | detail: "fn foo(xs: Ve<i128>)", |
659 | deprecated: false, | ||
660 | }, | 646 | }, |
661 | ] | 647 | ] |
662 | "### | 648 | "### |
@@ -687,7 +673,6 @@ mod tests { | |||
687 | insert: "frobnicate", | 673 | insert: "frobnicate", |
688 | kind: Macro, | 674 | kind: Macro, |
689 | detail: "#[macro_export]\nmacro_rules! frobnicate", | 675 | detail: "#[macro_export]\nmacro_rules! frobnicate", |
690 | deprecated: false, | ||
691 | }, | 676 | }, |
692 | ] | 677 | ] |
693 | "### | 678 | "### |