diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 07:31:00 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 07:31:00 +0000 |
commit | 864fd5ee25ea7b379855284365eb199cc0fa9c07 (patch) | |
tree | 02a9e8fd4f1c096945ee134fcd5b2b856698e7de /crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap | |
parent | 8b95c0e0c22a67d486c08416175c79b99da5acd9 (diff) |
More compact debug representation for completion
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap | 35 |
1 files changed, 8 insertions, 27 deletions
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 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-23T07:42:59.658375+00:00" | 2 | created: "2019-02-18T07:29:59.810202671Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | expression: kind_completions | ||
5 | source: crates/ra_ide_api/src/completion/completion_item.rs | 4 | source: crates/ra_ide_api/src/completion/completion_item.rs |
5 | expression: kind_completions | ||
6 | --- | 6 | --- |
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
9 | completion_kind: Reference, | ||
10 | label: "bar", | 9 | label: "bar", |
11 | kind: Some( | ||
12 | Binding | ||
13 | ), | ||
14 | detail: None, | ||
15 | documentation: None, | ||
16 | lookup: None, | ||
17 | insert_text: None, | ||
18 | insert_text_format: PlainText, | ||
19 | source_range: [129; 129), | 10 | source_range: [129; 129), |
20 | text_edit: None | 11 | kind: Binding |
21 | }, | 12 | }, |
22 | CompletionItem { | 13 | CompletionItem { |
23 | completion_kind: Reference, | ||
24 | label: "foo", | 14 | label: "foo", |
25 | kind: Some( | ||
26 | Function | ||
27 | ), | ||
28 | detail: Some( | ||
29 | "fn foo() ->" | ||
30 | ), | ||
31 | documentation: None, | ||
32 | lookup: None, | ||
33 | insert_text: Some( | ||
34 | "foo()$0" | ||
35 | ), | ||
36 | insert_text_format: Snippet, | ||
37 | source_range: [129; 129), | 15 | source_range: [129; 129), |
38 | text_edit: None | 16 | kind: Function, |
17 | detail: "fn foo() ->", | ||
18 | insert_text: "foo()$0", | ||
19 | insert_text_format: Snippet | ||
39 | } | 20 | } |
40 | ] | 21 | ] |