From 864fd5ee25ea7b379855284365eb199cc0fa9c07 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Feb 2019 10:31:00 +0300 Subject: More compact debug representation for completion --- ...__dont_show_both_completions_for_shadowing.snap | 35 +++++----------------- 1 file changed, 8 insertions(+), 27 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap index 8f8a3a56c..68bfbcdcd 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap @@ -1,40 +1,21 @@ --- -created: "2019-01-23T07:42:59.658375+00:00" -creator: insta@0.4.0 -expression: kind_completions +created: "2019-02-18T07:29:59.810202671Z" +creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs +expression: kind_completions --- [ CompletionItem { - completion_kind: Reference, label: "bar", - kind: Some( - Binding - ), - detail: None, - documentation: None, - lookup: None, - insert_text: None, - insert_text_format: PlainText, source_range: [129; 129), - text_edit: None + kind: Binding }, CompletionItem { - completion_kind: Reference, label: "foo", - kind: Some( - Function - ), - detail: Some( - "fn foo() ->" - ), - documentation: None, - lookup: None, - insert_text: Some( - "foo()$0" - ), - insert_text_format: Snippet, source_range: [129; 129), - text_edit: None + kind: Function, + detail: "fn foo() ->", + insert_text: "foo()$0", + insert_text_format: Snippet } ] -- cgit v1.2.3