diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap index d082a9c2f..86bc8679d 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:52.120932427Z" | 2 | created: "2019-02-18T09:22:24.161888678Z" |
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,40 +8,22 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Baz", | 9 | label: "Baz", |
10 | source_range: [89; 89), | 10 | source_range: [89; 89), |
11 | text_edit: TextEdit { | 11 | delete: [89; 89), |
12 | atoms: [ | 12 | insert: "Baz", |
13 | AtomTextEdit { | ||
14 | delete: [89; 89), | ||
15 | insert: "Baz" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Enum | 13 | kind: Enum |
20 | }, | 14 | }, |
21 | CompletionItem { | 15 | CompletionItem { |
22 | label: "Foo", | 16 | label: "Foo", |
23 | source_range: [89; 89), | 17 | source_range: [89; 89), |
24 | text_edit: TextEdit { | 18 | delete: [89; 89), |
25 | atoms: [ | 19 | insert: "Foo", |
26 | AtomTextEdit { | ||
27 | delete: [89; 89), | ||
28 | insert: "Foo" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Struct | 20 | kind: Struct |
33 | }, | 21 | }, |
34 | CompletionItem { | 22 | CompletionItem { |
35 | label: "quux", | 23 | label: "quux", |
36 | source_range: [89; 89), | 24 | source_range: [89; 89), |
37 | text_edit: TextEdit { | 25 | delete: [89; 89), |
38 | atoms: [ | 26 | insert: "quux()$0", |
39 | AtomTextEdit { | ||
40 | delete: [89; 89), | ||
41 | insert: "quux()$0" | ||
42 | } | ||
43 | ] | ||
44 | }, | ||
45 | kind: Function, | 27 | kind: Function, |
46 | detail: "fn quux()" | 28 | detail: "fn quux()" |
47 | } | 29 | } |