diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap index bc886ef0b..3e16c8e79 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap | |||
@@ -1,8 +1,8 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-03T11:38:42.897384636+00:00" | 2 | created: "2019-02-14T17:12:57.412523988Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | expression: kind_completions | ||
5 | 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 | ||
6 | --- | 6 | --- |
7 | [ | 7 | [ |
8 | CompletionItem { | 8 | CompletionItem { |
@@ -99,6 +99,29 @@ source: crates/ra_ide_api/src/completion/completion_item.rs | |||
99 | }, | 99 | }, |
100 | CompletionItem { | 100 | CompletionItem { |
101 | completion_kind: Postfix, | 101 | completion_kind: Postfix, |
102 | label: "ref", | ||
103 | kind: None, | ||
104 | detail: None, | ||
105 | documentation: None, | ||
106 | lookup: None, | ||
107 | insert_text: Some( | ||
108 | "&bar" | ||
109 | ), | ||
110 | insert_text_format: Snippet, | ||
111 | source_range: [76; 76), | ||
112 | text_edit: Some( | ||
113 | TextEdit { | ||
114 | atoms: [ | ||
115 | AtomTextEdit { | ||
116 | delete: [72; 76), | ||
117 | insert: "" | ||
118 | } | ||
119 | ] | ||
120 | } | ||
121 | ) | ||
122 | }, | ||
123 | CompletionItem { | ||
124 | completion_kind: Postfix, | ||
102 | label: "while", | 125 | label: "while", |
103 | kind: None, | 126 | kind: None, |
104 | detail: None, | 127 | detail: None, |