diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap | 72 |
1 files changed, 15 insertions, 57 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap index 42f736d74..038e7f402 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:51.988658363Z" | 2 | created: "2019-02-18T09:22:23.999953358Z" |
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,92 +8,50 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "break", | 9 | label: "break", |
10 | source_range: [106; 108), | 10 | source_range: [106; 108), |
11 | text_edit: TextEdit { | 11 | delete: [106; 108), |
12 | atoms: [ | 12 | insert: "break", |
13 | AtomTextEdit { | ||
14 | delete: [106; 108), | ||
15 | insert: "break" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Keyword | 13 | kind: Keyword |
20 | }, | 14 | }, |
21 | CompletionItem { | 15 | CompletionItem { |
22 | label: "continue", | 16 | label: "continue", |
23 | source_range: [106; 108), | 17 | source_range: [106; 108), |
24 | text_edit: TextEdit { | 18 | delete: [106; 108), |
25 | atoms: [ | 19 | insert: "continue", |
26 | AtomTextEdit { | ||
27 | delete: [106; 108), | ||
28 | insert: "continue" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Keyword | 20 | kind: Keyword |
33 | }, | 21 | }, |
34 | CompletionItem { | 22 | CompletionItem { |
35 | label: "if", | 23 | label: "if", |
36 | source_range: [106; 108), | 24 | source_range: [106; 108), |
37 | text_edit: TextEdit { | 25 | delete: [106; 108), |
38 | atoms: [ | 26 | insert: "if $0 {}", |
39 | AtomTextEdit { | ||
40 | delete: [106; 108), | ||
41 | insert: "if $0 {}" | ||
42 | } | ||
43 | ] | ||
44 | }, | ||
45 | kind: Keyword | 27 | kind: Keyword |
46 | }, | 28 | }, |
47 | CompletionItem { | 29 | CompletionItem { |
48 | label: "loop", | 30 | label: "loop", |
49 | source_range: [106; 108), | 31 | source_range: [106; 108), |
50 | text_edit: TextEdit { | 32 | delete: [106; 108), |
51 | atoms: [ | 33 | insert: "loop {$0}", |
52 | AtomTextEdit { | ||
53 | delete: [106; 108), | ||
54 | insert: "loop {$0}" | ||
55 | } | ||
56 | ] | ||
57 | }, | ||
58 | kind: Keyword | 34 | kind: Keyword |
59 | }, | 35 | }, |
60 | CompletionItem { | 36 | CompletionItem { |
61 | label: "match", | 37 | label: "match", |
62 | source_range: [106; 108), | 38 | source_range: [106; 108), |
63 | text_edit: TextEdit { | 39 | delete: [106; 108), |
64 | atoms: [ | 40 | insert: "match $0 {}", |
65 | AtomTextEdit { | ||
66 | delete: [106; 108), | ||
67 | insert: "match $0 {}" | ||
68 | } | ||
69 | ] | ||
70 | }, | ||
71 | kind: Keyword | 41 | kind: Keyword |
72 | }, | 42 | }, |
73 | CompletionItem { | 43 | CompletionItem { |
74 | label: "return", | 44 | label: "return", |
75 | source_range: [106; 108), | 45 | source_range: [106; 108), |
76 | text_edit: TextEdit { | 46 | delete: [106; 108), |
77 | atoms: [ | 47 | insert: "return", |
78 | AtomTextEdit { | ||
79 | delete: [106; 108), | ||
80 | insert: "return" | ||
81 | } | ||
82 | ] | ||
83 | }, | ||
84 | kind: Keyword | 48 | kind: Keyword |
85 | }, | 49 | }, |
86 | CompletionItem { | 50 | CompletionItem { |
87 | label: "while", | 51 | label: "while", |
88 | source_range: [106; 108), | 52 | source_range: [106; 108), |
89 | text_edit: TextEdit { | 53 | delete: [106; 108), |
90 | atoms: [ | 54 | insert: "while $0 {}", |
91 | AtomTextEdit { | ||
92 | delete: [106; 108), | ||
93 | insert: "while $0 {}" | ||
94 | } | ||
95 | ] | ||
96 | }, | ||
97 | kind: Keyword | 55 | kind: Keyword |
98 | } | 56 | } |
99 | ] | 57 | ] |