aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots
diff options
context:
space:
mode:
authorJeremy A. Kolb <[email protected]>2019-01-22 14:51:29 +0000
committerJeremy A. Kolb <[email protected]>2019-01-22 14:51:29 +0000
commit7c27e6d2b3133e4c37b176f0e13c15994eb16dfa (patch)
tree5fd4248bf02dc17a310141ede107dac4b42d6ddc /crates/ra_ide_api/src/completion/snapshots
parentb5404514834a27c682dc22d86bc5585c0cae3076 (diff)
Update snaps
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap13
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap13
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap17
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap14
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap14
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap14
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap17
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap13
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap15
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap13
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap10
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap17
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap10
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap11
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap12
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap11
44 files changed, 385 insertions, 176 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap
index 132048d9c..3d8d5af78 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.241096+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.858540400+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Binding 12 Binding
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Function 26 Function
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: Some( 31 insert_text: Some(
28 "quux()$0" 32 "quux()$0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap
index e7b628f19..7ed1d5ccb 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.242456+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.860535200+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Binding 12 Binding
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Binding 26 Binding
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
@@ -36,6 +40,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
36 Function 40 Function
37 ), 41 ),
38 detail: None, 42 detail: None,
43 documentation: None,
39 lookup: None, 44 lookup: None,
40 insert_text: Some( 45 insert_text: Some(
41 "quux()$0" 46 "quux()$0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
index 403fe0c4c..95581122d 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.243016+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.871506600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Binding 12 Binding
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Binding 26 Binding
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
@@ -36,6 +40,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
36 Function 40 Function
37 ), 41 ),
38 detail: None, 42 detail: None,
43 documentation: None,
39 lookup: None, 44 lookup: None,
40 insert_text: Some( 45 insert_text: Some(
41 "quux($0)" 46 "quux($0)"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
index 413960191..2e763fe1d 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.206357+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.620177400+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "continue;" 82 "continue;"
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
85 Keyword 92 Keyword
86 ), 93 ),
87 detail: None, 94 detail: None,
95 documentation: None,
88 lookup: None, 96 lookup: None,
89 insert_text: Some( 97 insert_text: Some(
90 "break;" 98 "break;"
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
100 Keyword 108 Keyword
101 ), 109 ),
102 detail: None, 110 detail: None,
111 documentation: None,
103 lookup: None, 112 lookup: None,
104 insert_text: Some( 113 insert_text: Some(
105 "return $0;" 114 "return $0;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap
index dc2fc95e3..9dcdbf63f 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.217822+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.699965300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return $0;" 82 "return $0;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap
index 26ca18933..b55e24bdc 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.217724+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.719911400+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Struct 12 Struct
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap
index f5ae8c29f..e3f00d0f1 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.208392+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.642118600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return $0" 82 "return $0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap
index 88c9287fd..18d8b3fb3 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.239872+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.797704900+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Function 26 Function
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap
index 33286e68b..8bf7bf06c 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.239894+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.801693300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
index 2db0eb755..5844254e1 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.248606+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.912397100+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Binding 12 Binding
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Function 26 Function
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: Some( 31 insert_text: Some(
28 "foo()$0" 32 "foo()$0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap
index ed9b62586..13f915446 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-21T21:32:37.509646722+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.817649800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Postfix, 9 completion_kind: Postfix,
8 label: "not", 10 label: "not",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: None, 14 lookup: None,
12 insert_text: Some( 15 insert_text: Some(
13 "!bar" 16 "!bar"
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
30 label: "if", 33 label: "if",
31 kind: None, 34 kind: None,
32 detail: None, 35 detail: None,
36 documentation: None,
33 lookup: None, 37 lookup: None,
34 insert_text: Some( 38 insert_text: Some(
35 "if bar {$0}" 39 "if bar {$0}"
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
52 label: "match", 56 label: "match",
53 kind: None, 57 kind: None,
54 detail: None, 58 detail: None,
59 documentation: None,
55 lookup: None, 60 lookup: None,
56 insert_text: Some( 61 insert_text: Some(
57 "match bar {\n${1:_} => {$0\\},\n}" 62 "match bar {\n${1:_} => {$0\\},\n}"
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
74 label: "while", 79 label: "while",
75 kind: None, 80 kind: None,
76 detail: None, 81 detail: None,
82 documentation: None,
77 lookup: None, 83 lookup: None,
78 insert_text: Some( 84 insert_text: Some(
79 "while bar {\n$0\n}" 85 "while bar {\n$0\n}"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap
index cc566ac35..fff87574d 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-21T21:32:37.510644822+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.820642200+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Postfix, 9 completion_kind: Postfix,
8 label: "not", 10 label: "not",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: None, 14 lookup: None,
12 insert_text: Some( 15 insert_text: Some(
13 "!bar" 16 "!bar"
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
30 label: "if", 33 label: "if",
31 kind: None, 34 kind: None,
32 detail: None, 35 detail: None,
36 documentation: None,
33 lookup: None, 37 lookup: None,
34 insert_text: Some( 38 insert_text: Some(
35 "if bar {$0}" 39 "if bar {$0}"
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
52 label: "match", 56 label: "match",
53 kind: None, 57 kind: None,
54 detail: None, 58 detail: None,
59 documentation: None,
55 lookup: None, 60 lookup: None,
56 insert_text: Some( 61 insert_text: Some(
57 "match bar {\n${1:_} => {$0\\},\n}" 62 "match bar {\n${1:_} => {$0\\},\n}"
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
74 label: "while", 79 label: "while",
75 kind: None, 80 kind: None,
76 detail: None, 81 detail: None,
82 documentation: None,
77 lookup: None, 83 lookup: None,
78 insert_text: Some( 84 insert_text: Some(
79 "while bar {\n$0\n}" 85 "while bar {\n$0\n}"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap
index c9f9bddcf..e8191596d 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-21T21:32:37.510629228+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.830614900+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Postfix, 9 completion_kind: Postfix,
8 label: "not", 10 label: "not",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: None, 14 lookup: None,
12 insert_text: Some( 15 insert_text: Some(
13 "!bar" 16 "!bar"
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
30 label: "if", 33 label: "if",
31 kind: None, 34 kind: None,
32 detail: None, 35 detail: None,
36 documentation: None,
33 lookup: None, 37 lookup: None,
34 insert_text: Some( 38 insert_text: Some(
35 "if bar {$0}" 39 "if bar {$0}"
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
52 label: "match", 56 label: "match",
53 kind: None, 57 kind: None,
54 detail: None, 58 detail: None,
59 documentation: None,
55 lookup: None, 60 lookup: None,
56 insert_text: Some( 61 insert_text: Some(
57 "match bar {\n${1:_} => {$0\\},\n}" 62 "match bar {\n${1:_} => {$0\\},\n}"
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
74 label: "while", 79 label: "while",
75 kind: None, 80 kind: None,
76 detail: None, 81 detail: None,
82 documentation: None,
77 lookup: None, 83 lookup: None,
78 insert_text: Some( 84 insert_text: Some(
79 "while bar {\n$0\n}" 85 "while bar {\n$0\n}"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap
index 7ae216cd2..732a87382 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.249349+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.932343200+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "no_args()$0" 18 "no_args()$0"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Function 28 Function
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "main()$0" 34 "main()$0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap
index 231d75d7a..2431b3276 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.255317+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.995180+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "main()$0" 18 "main()$0"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Function 28 Function
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "with_args($0)" 34 "with_args($0)"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap
index 4d309b20e..f1de82bcc 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.207728+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.635137200+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return;" 82 "return;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
index 0f1e66ac3..c309ff9bc 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.207381+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.626162800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "else {$0}" 82 "else {$0}"
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
85 Keyword 92 Keyword
86 ), 93 ),
87 detail: None, 94 detail: None,
95 documentation: None,
88 lookup: None, 96 lookup: None,
89 insert_text: Some( 97 insert_text: Some(
90 "else if $0 {}" 98 "else if $0 {}"
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
100 Keyword 108 Keyword
101 ), 109 ),
102 detail: None, 110 detail: None,
111 documentation: None,
103 lookup: None, 112 lookup: None,
104 insert_text: Some( 113 insert_text: Some(
105 "return;" 114 "return;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap
index 25c29dc18..950cc8045 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.211090+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.701959300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return $0;" 82 "return $0;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
index 7e43be4b0..ae14d7e39 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.218272+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.788727100+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return;" 82 "return;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap
index 7ed890b74..2ec855bf6 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.207433+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.626162800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "crate::" 18 "crate::"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: None, 33 insert_text: None,
30 insert_text_format: PlainText, 34 insert_text_format: PlainText,
@@ -38,6 +42,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
38 Keyword 42 Keyword
39 ), 43 ),
40 detail: None, 44 detail: None,
45 documentation: None,
41 lookup: None, 46 lookup: None,
42 insert_text: Some( 47 insert_text: Some(
43 "super::" 48 "super::"
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 4d4c7af50..92224becc 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,7 +1,9 @@
1Created: 2019-01-20T09:26:20.872623+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.698966900+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Keyword 26 Keyword
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: Some( 31 insert_text: Some(
28 "super::" 32 "super::"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap
index 66ab20f41..952650ea3 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.217815+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.779752+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Keyword 26 Keyword
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: Some( 31 insert_text: Some(
28 "super::" 32 "super::"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap
index 2dc47e9b1..1d8725d34 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.208669+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.642118600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return $0;" 82 "return $0;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap
index 59e11c585..54175c1a3 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.221138+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.733874300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "return $0;" 82 "return $0;"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap
index 966148a36..c294de5cb 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.868112+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.546394900+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Method 12 Method
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "the_method($0)" 18 "the_method($0)"
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 9ebb8a357..032516ab4 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,7 +1,9 @@
1Created: 2019-01-20T04:00:48.243581+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.874497400+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "quux()$0" 18 "quux()$0"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Struct 28 Struct
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: None, 33 insert_text: None,
30 insert_text_format: PlainText, 34 insert_text_format: PlainText,
@@ -38,6 +42,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
38 Enum 42 Enum
39 ), 43 ),
40 detail: None, 44 detail: None,
45 documentation: None,
41 lookup: None, 46 lookup: None,
42 insert_text: None, 47 insert_text: None,
43 insert_text_format: PlainText, 48 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap
index 9b7aa0540..b33babaf0 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.244757+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.875495300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Function 12 Function
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "quux()$0" 18 "quux()$0"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Struct 28 Struct
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: None, 33 insert_text: None,
30 insert_text_format: PlainText, 34 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap
index 555f7acc6..62fb0a966 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.222109+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.723900500+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Struct 12 Struct
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Module 26 Module
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap
index 417b692dc..7cc827532 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap
@@ -1,5 +1,7 @@
1Created: 2019-01-19T11:34:11.702251+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.552379600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[] 7[]
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 fd56a6c8c..a5164b03e 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,7 +1,9 @@
1Created: 2019-01-20T04:00:48.209867+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.651095300+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Keyword, 9 completion_kind: Keyword,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Keyword 12 Keyword
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "if $0 {}" 18 "if $0 {}"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Keyword 28 Keyword
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "match $0 {}" 34 "match $0 {}"
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
40 Keyword 44 Keyword
41 ), 45 ),
42 detail: None, 46 detail: None,
47 documentation: None,
43 lookup: None, 48 lookup: None,
44 insert_text: Some( 49 insert_text: Some(
45 "while $0 {}" 50 "while $0 {}"
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
55 Keyword 60 Keyword
56 ), 61 ),
57 detail: None, 62 detail: None,
63 documentation: None,
58 lookup: None, 64 lookup: None,
59 insert_text: Some( 65 insert_text: Some(
60 "loop {$0}" 66 "loop {$0}"
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
70 Keyword 76 Keyword
71 ), 77 ),
72 detail: None, 78 detail: None,
79 documentation: None,
73 lookup: None, 80 lookup: None,
74 insert_text: Some( 81 insert_text: Some(
75 "continue" 82 "continue"
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
85 Keyword 92 Keyword
86 ), 93 ),
87 detail: None, 94 detail: None,
95 documentation: None,
88 lookup: None, 96 lookup: None,
89 insert_text: Some( 97 insert_text: Some(
90 "break" 98 "break"
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
100 Keyword 108 Keyword
101 ), 109 ),
102 detail: None, 110 detail: None,
111 documentation: None,
103 lookup: None, 112 lookup: None,
104 insert_text: Some( 113 insert_text: Some(
105 "return" 114 "return"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap
index 0948c9fe6..7cc827532 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap
@@ -1,5 +1,7 @@
1Created: 2019-01-19T11:34:11.702201+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.552379600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[] 7[]
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap
index e0e5929ff..a5a7713ef 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-20T04:00:48.203211+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.545423800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Magic, 9 completion_kind: Magic,
8 label: "file_id: FileId", 10 label: "file_id: FileId",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: Some( 14 lookup: Some(
12 "file_id" 15 "file_id"
13 ), 16 ),
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap
index 2899cf98e..0df4fcf57 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-20T04:00:48.203236+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.552379600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Magic, 9 completion_kind: Magic,
8 label: "file_id: FileId", 10 label: "file_id: FileId",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: Some( 14 lookup: Some(
12 "file_id" 15 "file_id"
13 ), 16 ),
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap
index 8a4d9ef63..905ece338 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap
@@ -1,13 +1,16 @@
1Created: 2019-01-20T04:00:48.206552+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.619180200+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Magic, 9 completion_kind: Magic,
8 label: "file_id: FileId", 10 label: "file_id: FileId",
9 kind: None, 11 kind: None,
10 detail: None, 12 detail: None,
13 documentation: None,
11 lookup: Some( 14 lookup: Some(
12 "file_id" 15 "file_id"
13 ), 16 ),
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap
index 632d9bbc7..0180a4f44 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.899262+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.717917+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 EnumVariant 12 EnumVariant
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 EnumVariant 26 EnumVariant
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
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 6bef3ed95..24dbe6bb0 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,7 +1,9 @@
1Created: 2019-01-20T04:00:48.245820+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.898433800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Struct 12 Struct
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Function 26 Function
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: Some( 31 insert_text: Some(
28 "x()$0" 32 "x()$0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap
index 56bfe1b0d..efda72adf 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.244260+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.894444600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Binding 12 Binding
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap
index 648d7f189..1d9aff5bb 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.252281+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.944312600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Snippet, 9 completion_kind: Snippet,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Snippet 12 Snippet
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: Some( 17 insert_text: Some(
15 "eprintln!(\"$0 = {:?}\", $0);" 18 "eprintln!(\"$0 = {:?}\", $0);"
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Snippet 28 Snippet
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "eprintln!(\"$0 = {:#?}\", $0);" 34 "eprintln!(\"$0 = {:#?}\", $0);"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap
index f5d0140ea..678335404 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.253073+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.944312600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Snippet, 9 completion_kind: Snippet,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Snippet 12 Snippet
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: Some( 16 lookup: Some(
14 "tfn" 17 "tfn"
15 ), 18 ),
@@ -27,6 +30,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
27 Snippet 30 Snippet
28 ), 31 ),
29 detail: None, 32 detail: None,
33 documentation: None,
30 lookup: None, 34 lookup: None,
31 insert_text: Some( 35 insert_text: Some(
32 "pub(crate) $0" 36 "pub(crate) $0"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap
index c88ddbc67..e8dc12dfd 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.868146+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.545423800+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
12 detail: Some( 14 detail: Some(
13 "u32" 15 "u32"
14 ), 16 ),
17 documentation: None,
15 lookup: None, 18 lookup: None,
16 insert_text: None, 19 insert_text: None,
17 insert_text_format: PlainText, 20 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap
index f310f523d..9ee668b35 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.868561+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.552379600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
12 detail: Some( 14 detail: Some(
13 "(u32, i32)" 15 "(u32, i32)"
14 ), 16 ),
17 documentation: None,
15 lookup: None, 18 lookup: None,
16 insert_text: None, 19 insert_text: None,
17 insert_text_format: PlainText, 20 insert_text_format: PlainText,
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Method 28 Method
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "foo($0)" 34 "foo($0)"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap
index 4eae65128..b9d70ea3f 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.868333+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.552379600+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
12 detail: Some( 14 detail: Some(
13 "(u32,)" 15 "(u32,)"
14 ), 16 ),
17 documentation: None,
15 lookup: None, 18 lookup: None,
16 insert_text: None, 19 insert_text: None,
17 insert_text_format: PlainText, 20 insert_text_format: PlainText,
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
25 Method 28 Method
26 ), 29 ),
27 detail: None, 30 detail: None,
31 documentation: None,
28 lookup: None, 32 lookup: None,
29 insert_text: Some( 33 insert_text: Some(
30 "foo($0)" 34 "foo($0)"
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap
index 29f7f86f1..01294ca40 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T04:00:48.223130+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.761799100+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Struct 12 Struct
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
23 Module 26 Module
24 ), 27 ),
25 detail: None, 28 detail: None,
29 documentation: None,
26 lookup: None, 30 lookup: None,
27 insert_text: None, 31 insert_text: None,
28 insert_text_format: PlainText, 32 insert_text_format: PlainText,
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap
index 1a3bd8034..33dd2b904 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap
@@ -1,7 +1,9 @@
1Created: 2019-01-20T09:26:20.899584+00:00 1---
2Creator: [email protected] 2created: "2019-01-22T14:45:00.780748400+00:00"
3Source: crates/ra_ide_api/src/completion/completion_item.rs 3creator: [email protected]
4 4expression: kind_completions
5source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs"
6---
5[ 7[
6 CompletionItem { 8 CompletionItem {
7 completion_kind: Reference, 9 completion_kind: Reference,
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs
10 Struct 12 Struct
11 ), 13 ),
12 detail: None, 14 detail: None,
15 documentation: None,
13 lookup: None, 16 lookup: None,
14 insert_text: None, 17 insert_text: None,
15 insert_text_format: PlainText, 18 insert_text_format: PlainText,