diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap index bbbdeae8f..7a9792b0e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.658885169Z" | 2 | created: "2019-02-18T09:10:52.008665355Z" |
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,13 +8,27 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "self", | 9 | label: "self", |
10 | source_range: [20; 20), | 10 | source_range: [20; 20), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [20; 20), | ||
15 | insert: "self" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: Keyword | 19 | kind: Keyword |
12 | }, | 20 | }, |
13 | CompletionItem { | 21 | CompletionItem { |
14 | label: "super", | 22 | label: "super", |
15 | source_range: [20; 20), | 23 | source_range: [20; 20), |
16 | kind: Keyword, | 24 | text_edit: TextEdit { |
17 | insert_text: "super::", | 25 | atoms: [ |
18 | insert_text_format: PlainText | 26 | AtomTextEdit { |
27 | delete: [20; 20), | ||
28 | insert: "super::" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Keyword | ||
19 | } | 33 | } |
20 | ] | 34 | ] |