aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-18 09:05:16 +0000
committerAleksey Kladov <[email protected]>2019-02-18 09:24:20 +0000
commit92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (patch)
treece785e530a547e3aede708b7725b4a95e666f45f /crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
parent79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (diff)
Don't use additional_text_edits API internally
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, 18 insertions, 4 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 68bfbcdcd..7af2f3eb9 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-18T07:29:59.810202671Z" 2created: "2019-02-18T09:10:52.134207539Z"
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,14 +8,28 @@ 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 {
12 atoms: [
13 AtomTextEdit {
14 delete: [129; 129),
15 insert: "bar"
16 }
17 ]
18 },
11 kind: Binding 19 kind: Binding
12 }, 20 },
13 CompletionItem { 21 CompletionItem {
14 label: "foo", 22 label: "foo",
15 source_range: [129; 129), 23 source_range: [129; 129),
24 text_edit: TextEdit {
25 atoms: [
26 AtomTextEdit {
27 delete: [129; 129),
28 insert: "foo()$0"
29 }
30 ]
31 },
16 kind: Function, 32 kind: Function,
17 detail: "fn foo() ->", 33 detail: "fn foo() ->"
18 insert_text: "foo()$0",
19 insert_text_format: Snippet
20 } 34 }
21] 35]