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 --- .../completion_item__bindings_from_if_let.snap | 46 +++++----------------- 1 file changed, 9 insertions(+), 37 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap index 9f37bae36..e6c1a936a 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap @@ -1,54 +1,26 @@ --- -created: "2019-01-27T19:56:59.946956414+00:00" -creator: insta@0.5.2 -expression: kind_completions +created: "2019-02-18T07:29:59.739513594Z" +creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs +expression: kind_completions --- [ CompletionItem { - completion_kind: Reference, label: "a", - kind: Some( - Binding - ), - detail: None, - documentation: None, - lookup: None, - insert_text: None, - insert_text_format: PlainText, source_range: [214; 214), - text_edit: None + kind: Binding }, CompletionItem { - completion_kind: Reference, label: "b", - kind: Some( - Binding - ), - detail: None, - documentation: None, - lookup: None, - insert_text: None, - insert_text_format: PlainText, source_range: [214; 214), - text_edit: None + kind: Binding }, CompletionItem { - completion_kind: Reference, label: "quux", - kind: Some( - Function - ), - detail: Some( - "fn quux()" - ), - documentation: None, - lookup: None, - insert_text: Some( - "quux()$0" - ), - insert_text_format: Snippet, source_range: [214; 214), - text_edit: None + kind: Function, + detail: "fn quux()", + insert_text: "quux()$0", + insert_text_format: Snippet } ] -- cgit v1.2.3