diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 09:05:16 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 09:24:20 +0000 |
commit | 92aa0f9c871a9308ea3db1b1c4b7e42d88348e30 (patch) | |
tree | ce785e530a547e3aede708b7725b4a95e666f45f /crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap | |
parent | 79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (diff) |
Don't use additional_text_edits API internally
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap index bf314de84..a8257ef12 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.731789946Z" | 2 | created: "2019-02-18T09:10:52.075119580Z" |
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,6 +8,14 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Bar", | 9 | label: "Bar", |
10 | source_range: [26; 26), | 10 | source_range: [26; 26), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [26; 26), | ||
15 | insert: "Bar" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: Struct | 19 | kind: Struct |
12 | } | 20 | } |
13 | ] | 21 | ] |