diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:26:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:26:24 +0000 |
commit | 16c7ebbb27dc81b4640b5694f36b381cae706c8d (patch) | |
tree | a6f9a860d59e24b0c9141ad8d73e980cfb9ed748 /crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap | |
parent | 564ab84b787cca0f5994451eb2ce9e1ba8c9d974 (diff) | |
parent | a92db7c84829becdf95e0a5ef6e27cdf833518b8 (diff) |
Merge #854
854: more compact edits in insta r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
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 | 10 |
1 files changed, 6 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..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 | --- |
2 | created: "2019-02-18T07:29:59.810202671Z" | 2 | created: "2019-02-18T09:22:24.188564584Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | 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 | 5 | expression: kind_completions |
@@ -8,14 +8,16 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "bar", | 9 | label: "bar", |
10 | source_range: [129; 129), | 10 | source_range: [129; 129), |
11 | delete: [129; 129), | ||
12 | insert: "bar", | ||
11 | kind: Binding | 13 | kind: Binding |
12 | }, | 14 | }, |
13 | CompletionItem { | 15 | CompletionItem { |
14 | label: "foo", | 16 | label: "foo", |
15 | source_range: [129; 129), | 17 | source_range: [129; 129), |
18 | delete: [129; 129), | ||
19 | insert: "foo()$0", | ||
16 | kind: Function, | 20 | kind: Function, |
17 | detail: "fn foo() ->", | 21 | detail: "fn foo() ->" |
18 | insert_text: "foo()$0", | ||
19 | insert_text_format: Snippet | ||
20 | } | 22 | } |
21 | ] | 23 | ] |