diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap index 25c5007e4..954d1b4bc 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.780512486Z" | 2 | created: "2019-02-18T09:10:52.125606324Z" |
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,28 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Foo", | 9 | label: "Foo", |
10 | source_range: [47; 47), | 10 | source_range: [47; 47), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [47; 47), | ||
15 | insert: "Foo" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: Struct | 19 | kind: Struct |
12 | }, | 20 | }, |
13 | CompletionItem { | 21 | CompletionItem { |
14 | label: "x", | 22 | label: "x", |
15 | source_range: [47; 47), | 23 | source_range: [47; 47), |
24 | text_edit: TextEdit { | ||
25 | atoms: [ | ||
26 | AtomTextEdit { | ||
27 | delete: [47; 47), | ||
28 | insert: "x()$0" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
16 | kind: Function, | 32 | kind: Function, |
17 | detail: "fn x() ->", | 33 | detail: "fn x() ->" |
18 | insert_text: "x()$0", | ||
19 | insert_text_format: Snippet | ||
20 | } | 34 | } |
21 | ] | 35 | ] |