aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
diff options
context:
space:
mode:
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.snap22
1 files changed, 5 insertions, 17 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 7af2f3eb9..87691b304 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,5 +1,5 @@
1--- 1---
2created: "2019-02-18T09:10:52.134207539Z" 2created: "2019-02-18T09:22:24.188564584Z"
3creator: [email protected] 3creator: [email protected]
4source: crates/ra_ide_api/src/completion/completion_item.rs 4source: crates/ra_ide_api/src/completion/completion_item.rs
5expression: kind_completions 5expression: kind_completions
@@ -8,27 +8,15 @@ expression: kind_completions
8 CompletionItem { 8 CompletionItem {
9 label: "bar", 9 label: "bar",
10 source_range: [129; 129), 10 source_range: [129; 129),
11 text_edit: TextEdit { 11 delete: [129; 129),
12 atoms: [ 12 insert: "bar",
13 AtomTextEdit {
14 delete: [129; 129),
15 insert: "bar"
16 }
17 ]
18 },
19 kind: Binding 13 kind: Binding
20 }, 14 },
21 CompletionItem { 15 CompletionItem {
22 label: "foo", 16 label: "foo",
23 source_range: [129; 129), 17 source_range: [129; 129),
24 text_edit: TextEdit { 18 delete: [129; 129),
25 atoms: [ 19 insert: "foo()$0",
26 AtomTextEdit {
27 delete: [129; 129),
28 insert: "foo()$0"
29 }
30 ]
31 },
32 kind: Function, 20 kind: Function,
33 detail: "fn foo() ->" 21 detail: "fn foo() ->"
34 } 22 }