diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 23:50:34 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 23:50:34 +0100 |
commit | 8a9cc674212f2301c9b3283359f995366409bd0d (patch) | |
tree | 068d6bddab6b25398d03bcf8f74bcb5f2b9a592a /crates/ra_ide_api/src/completion/snapshots | |
parent | de87fe293e88e2b8785e1d90371ec4f274139454 (diff) | |
parent | 0270b4bc577ba57f211d25bab161a607b9b94ec5 (diff) |
Merge #1321
1321: Rustc r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
45 files changed, 270 insertions, 270 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 bd7f99f71..e9b717a45 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.132341107Z" | 2 | created: "2019-05-23T22:23:35.119822026Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,13 +11,13 @@ expression: kind_completions | |||
11 | delete: [83; 83), | 11 | delete: [83; 83), |
12 | insert: "quux()$0", | 12 | insert: "quux()$0", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn quux()" | 14 | detail: "fn quux()", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "x", | 17 | label: "x", |
18 | source_range: [83; 83), | 18 | source_range: [83; 83), |
19 | delete: [83; 83), | 19 | delete: [83; 83), |
20 | insert: "x", | 20 | insert: "x", |
21 | kind: Binding | 21 | kind: Binding, |
22 | } | 22 | }, |
23 | ] | 23 | ] |
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 3b374c4de..2a22201ad 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.126809445Z" | 2 | created: "2019-05-23T22:23:35.122168608Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,14 +10,14 @@ expression: kind_completions | |||
10 | source_range: [214; 214), | 10 | source_range: [214; 214), |
11 | delete: [214; 214), | 11 | delete: [214; 214), |
12 | insert: "a", | 12 | insert: "a", |
13 | kind: Binding | 13 | kind: Binding, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "b", | 16 | label: "b", |
17 | source_range: [214; 214), | 17 | source_range: [214; 214), |
18 | delete: [214; 214), | 18 | delete: [214; 214), |
19 | insert: "b", | 19 | insert: "b", |
20 | kind: Binding | 20 | kind: Binding, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "quux", | 23 | label: "quux", |
@@ -25,6 +25,6 @@ expression: kind_completions | |||
25 | delete: [214; 214), | 25 | delete: [214; 214), |
26 | insert: "quux()$0", | 26 | insert: "quux()$0", |
27 | kind: Function, | 27 | kind: Function, |
28 | detail: "fn quux()" | 28 | detail: "fn quux()", |
29 | } | 29 | }, |
30 | ] | 30 | ] |
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 173f5319a..b9a5dc9c8 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.126696322Z" | 2 | created: "2019-05-23T22:23:35.122797188Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,20 +11,20 @@ expression: kind_completions | |||
11 | delete: [79; 79), | 11 | delete: [79; 79), |
12 | insert: "quux($0)", | 12 | insert: "quux($0)", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn quux(x: i32)" | 14 | detail: "fn quux(x: i32)", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "x", | 17 | label: "x", |
18 | source_range: [79; 79), | 18 | source_range: [79; 79), |
19 | delete: [79; 79), | 19 | delete: [79; 79), |
20 | insert: "x", | 20 | insert: "x", |
21 | kind: Binding | 21 | kind: Binding, |
22 | }, | 22 | }, |
23 | CompletionItem { | 23 | CompletionItem { |
24 | label: "y", | 24 | label: "y", |
25 | source_range: [79; 79), | 25 | source_range: [79; 79), |
26 | delete: [79; 79), | 26 | delete: [79; 79), |
27 | insert: "y", | 27 | insert: "y", |
28 | kind: Binding | 28 | kind: Binding, |
29 | } | 29 | }, |
30 | ] | 30 | ] |
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 42ff02469..b6f95c1ff 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.976673150Z" | 2 | created: "2019-05-23T22:23:35.067956470Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,48 +10,48 @@ expression: kind_completions | |||
10 | source_range: [55; 55), | 10 | source_range: [55; 55), |
11 | delete: [55; 55), | 11 | delete: [55; 55), |
12 | insert: "break;", | 12 | insert: "break;", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "continue", | 16 | label: "continue", |
17 | source_range: [55; 55), | 17 | source_range: [55; 55), |
18 | delete: [55; 55), | 18 | delete: [55; 55), |
19 | insert: "continue;", | 19 | insert: "continue;", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "if", | 23 | label: "if", |
24 | source_range: [55; 55), | 24 | source_range: [55; 55), |
25 | delete: [55; 55), | 25 | delete: [55; 55), |
26 | insert: "if $0 {}", | 26 | insert: "if $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "loop", | 30 | label: "loop", |
31 | source_range: [55; 55), | 31 | source_range: [55; 55), |
32 | delete: [55; 55), | 32 | delete: [55; 55), |
33 | insert: "loop {$0}", | 33 | insert: "loop {$0}", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "match", | 37 | label: "match", |
38 | source_range: [55; 55), | 38 | source_range: [55; 55), |
39 | delete: [55; 55), | 39 | delete: [55; 55), |
40 | insert: "match $0 {}", | 40 | insert: "match $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | }, | 42 | }, |
43 | CompletionItem { | 43 | CompletionItem { |
44 | label: "return", | 44 | label: "return", |
45 | source_range: [55; 55), | 45 | source_range: [55; 55), |
46 | delete: [55; 55), | 46 | delete: [55; 55), |
47 | insert: "return $0;", | 47 | insert: "return $0;", |
48 | kind: Keyword | 48 | kind: Keyword, |
49 | }, | 49 | }, |
50 | CompletionItem { | 50 | CompletionItem { |
51 | label: "while", | 51 | label: "while", |
52 | source_range: [55; 55), | 52 | source_range: [55; 55), |
53 | delete: [55; 55), | 53 | delete: [55; 55), |
54 | insert: "while $0 {}", | 54 | insert: "while $0 {}", |
55 | kind: Keyword | 55 | kind: Keyword, |
56 | } | 56 | }, |
57 | ] | 57 | ] |
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 057ff8a7a..9b37478ef 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.068967569Z" | 2 | created: "2019-05-23T22:44:10.859967190Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [60; 60), | 10 | source_range: [60; 60), |
11 | delete: [60; 60), | 11 | delete: [60; 60), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [60; 60), | 17 | source_range: [60; 60), |
18 | delete: [60; 60), | 18 | delete: [60; 60), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [60; 60), | 24 | source_range: [60; 60), |
25 | delete: [60; 60), | 25 | delete: [60; 60), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [60; 60), | 31 | source_range: [60; 60), |
32 | delete: [60; 60), | 32 | delete: [60; 60), |
33 | insert: "return $0;", | 33 | insert: "return $0;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [60; 60), | 38 | source_range: [60; 60), |
39 | delete: [60; 60), | 39 | delete: [60; 60), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap index 16126ee77..b339c6c5f 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.180517434Z" | 2 | created: "2019-05-23T22:23:35.139262926Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [18; 18), | 10 | source_range: [18; 18), |
11 | delete: [18; 18), | 11 | delete: [18; 18), |
12 | insert: "Option", | 12 | insert: "Option", |
13 | kind: Struct | 13 | kind: Struct, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "foo", | 16 | label: "foo", |
@@ -18,13 +18,13 @@ expression: kind_completions | |||
18 | delete: [18; 18), | 18 | delete: [18; 18), |
19 | insert: "foo()$0", | 19 | insert: "foo()$0", |
20 | kind: Function, | 20 | kind: Function, |
21 | detail: "fn foo()" | 21 | detail: "fn foo()", |
22 | }, | 22 | }, |
23 | CompletionItem { | 23 | CompletionItem { |
24 | label: "std", | 24 | label: "std", |
25 | source_range: [18; 18), | 25 | source_range: [18; 18), |
26 | delete: [18; 18), | 26 | delete: [18; 18), |
27 | insert: "std", | 27 | insert: "std", |
28 | kind: Module | 28 | kind: Module, |
29 | } | 29 | }, |
30 | ] | 30 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_use_paths_across_crates.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_use_paths_across_crates.snap index 2420e7744..113deafb1 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_use_paths_across_crates.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_use_paths_across_crates.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.118807216Z" | 2 | created: "2019-05-23T22:23:35.108690807Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,6 +10,6 @@ expression: kind_completions | |||
10 | source_range: [9; 9), | 10 | source_range: [9; 9), |
11 | delete: [9; 9), | 11 | delete: [9; 9), |
12 | insert: "bar", | 12 | insert: "bar", |
13 | kind: Module | 13 | kind: Module, |
14 | } | 14 | }, |
15 | ] | 15 | ] |
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 c472f7965..aacdeb763 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.044567777Z" | 2 | created: "2019-05-23T22:23:35.085633034Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,6 +10,6 @@ expression: kind_completions | |||
10 | source_range: [23; 25), | 10 | source_range: [23; 25), |
11 | delete: [23; 25), | 11 | delete: [23; 25), |
12 | insert: "Spam", | 12 | insert: "Spam", |
13 | kind: Struct | 13 | kind: Struct, |
14 | } | 14 | }, |
15 | ] | 15 | ] |
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 97bd76c49..9d320c715 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.987788705Z" | 2 | created: "2019-05-23T22:23:35.081993214Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [85; 85), | 10 | source_range: [85; 85), |
11 | delete: [85; 85), | 11 | delete: [85; 85), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [85; 85), | 17 | source_range: [85; 85), |
18 | delete: [85; 85), | 18 | delete: [85; 85), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [85; 85), | 24 | source_range: [85; 85), |
25 | delete: [85; 85), | 25 | delete: [85; 85), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [85; 85), | 31 | source_range: [85; 85), |
32 | delete: [85; 85), | 32 | delete: [85; 85), |
33 | insert: "return $0", | 33 | insert: "return $0", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [85; 85), | 38 | source_range: [85; 85), |
39 | delete: [85; 85), | 39 | delete: [85; 85), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
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 1de0efb5b..46bea2ccd 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.211680376Z" | 2 | created: "2019-05-23T22:23:35.158296242Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,7 +11,7 @@ expression: kind_completions | |||
11 | delete: [35; 39), | 11 | delete: [35; 39), |
12 | insert: "frobnicate", | 12 | insert: "frobnicate", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn frobnicate()" | 14 | detail: "fn frobnicate()", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "main", | 17 | label: "main", |
@@ -19,6 +19,6 @@ expression: kind_completions | |||
19 | delete: [35; 39), | 19 | delete: [35; 39), |
20 | insert: "main", | 20 | insert: "main", |
21 | kind: Function, | 21 | kind: Function, |
22 | detail: "fn main()" | 22 | detail: "fn main()", |
23 | } | 23 | }, |
24 | ] | 24 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap index 19375ea95..b09a6745e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-24T16:33:48.008220694Z" | 2 | created: "2019-05-23T22:44:10.920136527Z" |
3 | creator: insta@0.6.3 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,6 +11,6 @@ expression: kind_completions | |||
11 | delete: [67; 69), | 11 | delete: [67; 69), |
12 | insert: "new", | 12 | insert: "new", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn new() -> Foo" | 14 | detail: "fn new() -> Foo", |
15 | } | 15 | }, |
16 | ] | 16 | ] |
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 ef77816ec..84ccc8160 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.213677341Z" | 2 | created: "2019-05-23T22:23:35.154795561Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,6 +11,6 @@ expression: kind_completions | |||
11 | delete: [40; 41), | 11 | delete: [40; 41), |
12 | insert: "foo", | 12 | insert: "foo", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "pub fn foo()" | 14 | detail: "pub fn foo()", |
15 | } | 15 | }, |
16 | ] | 16 | ] |
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 34adcda6c..57434210d 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-04-04T14:52:24.531844100Z" | 2 | created: "2019-05-23T22:23:35.142044205Z" |
3 | creator: insta@0.7.4 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [126; 126), | 10 | source_range: [126; 126), |
11 | delete: [126; 126), | 11 | delete: [126; 126), |
12 | insert: "bar", | 12 | insert: "bar", |
13 | kind: Binding | 13 | kind: Binding, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "foo", | 16 | label: "foo", |
@@ -18,6 +18,6 @@ expression: kind_completions | |||
18 | delete: [126; 126), | 18 | delete: [126; 126), |
19 | insert: "foo()$0", | 19 | insert: "foo()$0", |
20 | kind: Function, | 20 | kind: Function, |
21 | detail: "fn foo()" | 21 | detail: "fn foo()", |
22 | } | 22 | }, |
23 | ] | 23 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant.snap index 1df121523..e40217ca8 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.045355450Z" | 2 | created: "2019-05-23T22:23:35.090178265Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -13,8 +13,8 @@ expression: kind_completions | |||
13 | kind: EnumVariant, | 13 | kind: EnumVariant, |
14 | detail: "(i32)", | 14 | detail: "(i32)", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "Bar Variant with i32" | 16 | "Bar Variant with i32", |
17 | ) | 17 | ), |
18 | }, | 18 | }, |
19 | CompletionItem { | 19 | CompletionItem { |
20 | label: "Foo", | 20 | label: "Foo", |
@@ -24,7 +24,7 @@ expression: kind_completions | |||
24 | kind: EnumVariant, | 24 | kind: EnumVariant, |
25 | detail: "()", | 25 | detail: "()", |
26 | documentation: Documentation( | 26 | documentation: Documentation( |
27 | "Foo Variant" | 27 | "Foo Variant", |
28 | ) | 28 | ), |
29 | } | 29 | }, |
30 | ] | 30 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap index daccd9fba..e09d7988a 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-04-02T07:43:12.954637543Z" | 2 | created: "2019-05-23T22:23:35.091325331Z" |
3 | creator: insta@0.7.4 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -13,8 +13,8 @@ expression: kind_completions | |||
13 | kind: EnumVariant, | 13 | kind: EnumVariant, |
14 | detail: "(i32, u32)", | 14 | detail: "(i32, u32)", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "Bar Variant with i32 and u32" | 16 | "Bar Variant with i32 and u32", |
17 | ) | 17 | ), |
18 | }, | 18 | }, |
19 | CompletionItem { | 19 | CompletionItem { |
20 | label: "Foo", | 20 | label: "Foo", |
@@ -24,8 +24,8 @@ expression: kind_completions | |||
24 | kind: EnumVariant, | 24 | kind: EnumVariant, |
25 | detail: "()", | 25 | detail: "()", |
26 | documentation: Documentation( | 26 | documentation: Documentation( |
27 | "Foo Variant (empty)" | 27 | "Foo Variant (empty)", |
28 | ) | 28 | ), |
29 | }, | 29 | }, |
30 | CompletionItem { | 30 | CompletionItem { |
31 | label: "S", | 31 | label: "S", |
@@ -35,7 +35,7 @@ expression: kind_completions | |||
35 | kind: EnumVariant, | 35 | kind: EnumVariant, |
36 | detail: "(S)", | 36 | detail: "(S)", |
37 | documentation: Documentation( | 37 | documentation: Documentation( |
38 | "" | 38 | "", |
39 | ) | 39 | ), |
40 | } | 40 | }, |
41 | ] | 41 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__extern_prelude.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__extern_prelude.snap index 0d36fd603..b9449a76c 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__extern_prelude.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__extern_prelude.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.137183638Z" | 2 | created: "2019-05-23T22:23:35.123197049Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,6 +10,6 @@ expression: kind_completions | |||
10 | source_range: [4; 4), | 10 | source_range: [4; 4), |
11 | delete: [4; 4), | 11 | delete: [4; 4), |
12 | insert: "other_crate", | 12 | insert: "other_crate", |
13 | kind: Module | 13 | kind: Module, |
14 | } | 14 | }, |
15 | ] | 15 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params.snap index 210e5a02d..eb1a4151a 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.143253235Z" | 2 | created: "2019-05-23T22:23:35.123825399Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [44; 44), | 10 | source_range: [44; 44), |
11 | delete: [44; 44), | 11 | delete: [44; 44), |
12 | insert: "T", | 12 | insert: "T", |
13 | kind: TypeParam | 13 | kind: TypeParam, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "quux", | 16 | label: "quux", |
@@ -18,6 +18,6 @@ expression: kind_completions | |||
18 | delete: [44; 44), | 18 | delete: [44; 44), |
19 | insert: "quux()$0", | 19 | insert: "quux()$0", |
20 | kind: Function, | 20 | kind: Function, |
21 | detail: "fn quux<T>()" | 21 | detail: "fn quux<T>()", |
22 | } | 22 | }, |
23 | ] | 23 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params_in_struct.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params_in_struct.snap index ab8c30446..52f08267f 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params_in_struct.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__generic_params_in_struct.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.149424158Z" | 2 | created: "2019-05-23T22:23:35.130778739Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [46; 46), | 10 | source_range: [46; 46), |
11 | delete: [46; 46), | 11 | delete: [46; 46), |
12 | insert: "T", | 12 | insert: "T", |
13 | kind: TypeParam | 13 | kind: TypeParam, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "X", | 16 | label: "X", |
17 | source_range: [46; 46), | 17 | source_range: [46; 46), |
18 | delete: [46; 46), | 18 | delete: [46; 46), |
19 | insert: "X", | 19 | insert: "X", |
20 | kind: Struct | 20 | kind: Struct, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 a4fc447b2..c795b9aae 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.224510370Z" | 2 | created: "2019-05-23T22:23:35.156115632Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,7 +11,7 @@ expression: kind_completions | |||
11 | delete: [53; 56), | 11 | delete: [53; 56), |
12 | insert: "main()$0", | 12 | insert: "main()$0", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn main()" | 14 | detail: "fn main()", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "no_args", | 17 | label: "no_args", |
@@ -19,6 +19,6 @@ expression: kind_completions | |||
19 | delete: [53; 56), | 19 | delete: [53; 56), |
20 | insert: "no_args()$0", | 20 | insert: "no_args()$0", |
21 | kind: Function, | 21 | kind: Function, |
22 | detail: "fn no_args()" | 22 | detail: "fn no_args()", |
23 | } | 23 | }, |
24 | ] | 24 | ] |
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 b124355d5..b49a838e0 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.267013140Z" | 2 | created: "2019-05-23T22:44:10.916806744Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,7 +11,7 @@ expression: kind_completions | |||
11 | delete: [72; 77), | 11 | delete: [72; 77), |
12 | insert: "main()$0", | 12 | insert: "main()$0", |
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn main()" | 14 | detail: "fn main()", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "with_args", | 17 | label: "with_args", |
@@ -19,6 +19,6 @@ expression: kind_completions | |||
19 | delete: [72; 77), | 19 | delete: [72; 77), |
20 | insert: "with_args($0)", | 20 | insert: "with_args($0)", |
21 | kind: Function, | 21 | kind: Function, |
22 | detail: "fn with_args(x: i32, y: String)" | 22 | detail: "fn with_args(x: i32, y: String)", |
23 | } | 23 | }, |
24 | ] | 24 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls3.snap index fec729d48..b62cb7aa1 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls3.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls3.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.303360770Z" | 2 | created: "2019-05-23T22:44:40.543731193Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,6 +11,6 @@ expression: kind_completions | |||
11 | delete: [139; 140), | 11 | delete: [139; 140), |
12 | insert: "foo()$0", | 12 | insert: "foo()$0", |
13 | kind: Method, | 13 | kind: Method, |
14 | detail: "fn foo(&self)" | 14 | detail: "fn foo(&self)", |
15 | } | 15 | }, |
16 | ] | 16 | ] |
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 045e2a4e6..34a44bb70 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.987788720Z" | 2 | created: "2019-05-23T22:23:35.075690846Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [41; 41), | 10 | source_range: [41; 41), |
11 | delete: [41; 41), | 11 | delete: [41; 41), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [41; 41), | 17 | source_range: [41; 41), |
18 | delete: [41; 41), | 18 | delete: [41; 41), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [41; 41), | 24 | source_range: [41; 41), |
25 | delete: [41; 41), | 25 | delete: [41; 41), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [41; 41), | 31 | source_range: [41; 41), |
32 | delete: [41; 41), | 32 | delete: [41; 41), |
33 | insert: "return;", | 33 | insert: "return;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [41; 41), | 38 | source_range: [41; 41), |
39 | delete: [41; 41), | 39 | delete: [41; 41), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
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 b08efa522..ac744f362 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.984740354Z" | 2 | created: "2019-05-23T22:23:35.068799431Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,48 +10,48 @@ expression: kind_completions | |||
10 | source_range: [92; 92), | 10 | source_range: [92; 92), |
11 | delete: [92; 92), | 11 | delete: [92; 92), |
12 | insert: "else {$0}", | 12 | insert: "else {$0}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "else if", | 16 | label: "else if", |
17 | source_range: [92; 92), | 17 | source_range: [92; 92), |
18 | delete: [92; 92), | 18 | delete: [92; 92), |
19 | insert: "else if $0 {}", | 19 | insert: "else if $0 {}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "if", | 23 | label: "if", |
24 | source_range: [92; 92), | 24 | source_range: [92; 92), |
25 | delete: [92; 92), | 25 | delete: [92; 92), |
26 | insert: "if $0 {}", | 26 | insert: "if $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "loop", | 30 | label: "loop", |
31 | source_range: [92; 92), | 31 | source_range: [92; 92), |
32 | delete: [92; 92), | 32 | delete: [92; 92), |
33 | insert: "loop {$0}", | 33 | insert: "loop {$0}", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "match", | 37 | label: "match", |
38 | source_range: [92; 92), | 38 | source_range: [92; 92), |
39 | delete: [92; 92), | 39 | delete: [92; 92), |
40 | insert: "match $0 {}", | 40 | insert: "match $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | }, | 42 | }, |
43 | CompletionItem { | 43 | CompletionItem { |
44 | label: "return", | 44 | label: "return", |
45 | source_range: [92; 92), | 45 | source_range: [92; 92), |
46 | delete: [92; 92), | 46 | delete: [92; 92), |
47 | insert: "return;", | 47 | insert: "return;", |
48 | kind: Keyword | 48 | kind: Keyword, |
49 | }, | 49 | }, |
50 | CompletionItem { | 50 | CompletionItem { |
51 | label: "while", | 51 | label: "while", |
52 | source_range: [92; 92), | 52 | source_range: [92; 92), |
53 | delete: [92; 92), | 53 | delete: [92; 92), |
54 | insert: "while $0 {}", | 54 | insert: "while $0 {}", |
55 | kind: Keyword | 55 | kind: Keyword, |
56 | } | 56 | }, |
57 | ] | 57 | ] |
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 e2b9214fb..1098ecf54 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.049699338Z" | 2 | created: "2019-05-23T22:23:35.085655258Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [48; 48), | 10 | source_range: [48; 48), |
11 | delete: [48; 48), | 11 | delete: [48; 48), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [48; 48), | 17 | source_range: [48; 48), |
18 | delete: [48; 48), | 18 | delete: [48; 48), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [48; 48), | 24 | source_range: [48; 48), |
25 | delete: [48; 48), | 25 | delete: [48; 48), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [48; 48), | 31 | source_range: [48; 48), |
32 | delete: [48; 48), | 32 | delete: [48; 48), |
33 | insert: "return $0;", | 33 | insert: "return $0;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [48; 48), | 38 | source_range: [48; 48), |
39 | delete: [48; 48), | 39 | delete: [48; 48), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
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 1ea7eb5ce..3c5eca1ba 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.090949782Z" | 2 | created: "2019-05-23T22:44:10.869539856Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [41; 41), | 10 | source_range: [41; 41), |
11 | delete: [41; 41), | 11 | delete: [41; 41), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [41; 41), | 17 | source_range: [41; 41), |
18 | delete: [41; 41), | 18 | delete: [41; 41), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [41; 41), | 24 | source_range: [41; 41), |
25 | delete: [41; 41), | 25 | delete: [41; 41), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [41; 41), | 31 | source_range: [41; 41), |
32 | delete: [41; 41), | 32 | delete: [41; 41), |
33 | insert: "return;", | 33 | insert: "return;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [41; 41), | 38 | source_range: [41; 41), |
39 | delete: [41; 41), | 39 | delete: [41; 41), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
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 76d5daf55..71d7e9de8 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.988755424Z" | 2 | created: "2019-05-23T22:23:35.066687241Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,20 +10,20 @@ expression: kind_completions | |||
10 | source_range: [17; 17), | 10 | source_range: [17; 17), |
11 | delete: [17; 17), | 11 | delete: [17; 17), |
12 | insert: "crate::", | 12 | insert: "crate::", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "self", | 16 | label: "self", |
17 | source_range: [17; 17), | 17 | source_range: [17; 17), |
18 | delete: [17; 17), | 18 | delete: [17; 17), |
19 | insert: "self", | 19 | insert: "self", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "super", | 23 | label: "super", |
24 | source_range: [17; 17), | 24 | source_range: [17; 17), |
25 | delete: [17; 17), | 25 | delete: [17; 17), |
26 | insert: "super::", | 26 | insert: "super::", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | } | 28 | }, |
29 | ] | 29 | ] |
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 ee8bf4ca1..ad156fb44 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.030382527Z" | 2 | created: "2019-05-23T22:44:10.859494330Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [20; 20), | 10 | source_range: [20; 20), |
11 | delete: [20; 20), | 11 | delete: [20; 20), |
12 | insert: "self", | 12 | insert: "self", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "super", | 16 | label: "super", |
17 | source_range: [20; 20), | 17 | source_range: [20; 20), |
18 | delete: [20; 20), | 18 | delete: [20; 20), |
19 | insert: "super::", | 19 | insert: "super::", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 b44db276e..e7b11d532 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.073607133Z" | 2 | created: "2019-05-23T22:44:40.506690279Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [24; 24), | 10 | source_range: [24; 24), |
11 | delete: [24; 24), | 11 | delete: [24; 24), |
12 | insert: "self", | 12 | insert: "self", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "super", | 16 | label: "super", |
17 | source_range: [24; 24), | 17 | source_range: [24; 24), |
18 | delete: [24; 24), | 18 | delete: [24; 24), |
19 | insert: "super::", | 19 | insert: "super::", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 f220d35c2..e7069dc0c 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.989188654Z" | 2 | created: "2019-05-23T22:23:35.082403612Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [83; 83), | 10 | source_range: [83; 83), |
11 | delete: [83; 83), | 11 | delete: [83; 83), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [83; 83), | 17 | source_range: [83; 83), |
18 | delete: [83; 83), | 18 | delete: [83; 83), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [83; 83), | 24 | source_range: [83; 83), |
25 | delete: [83; 83), | 25 | delete: [83; 83), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [83; 83), | 31 | source_range: [83; 83), |
32 | delete: [83; 83), | 32 | delete: [83; 83), |
33 | insert: "return $0;", | 33 | insert: "return $0;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [83; 83), | 38 | source_range: [83; 83), |
39 | delete: [83; 83), | 39 | delete: [83; 83), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
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 d2093acdf..47beb904b 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.036383875Z" | 2 | created: "2019-05-23T22:44:10.871868390Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,34 +10,34 @@ expression: kind_completions | |||
10 | source_range: [83; 83), | 10 | source_range: [83; 83), |
11 | delete: [83; 83), | 11 | delete: [83; 83), |
12 | insert: "if $0 {}", | 12 | insert: "if $0 {}", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "loop", | 16 | label: "loop", |
17 | source_range: [83; 83), | 17 | source_range: [83; 83), |
18 | delete: [83; 83), | 18 | delete: [83; 83), |
19 | insert: "loop {$0}", | 19 | insert: "loop {$0}", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [83; 83), | 24 | source_range: [83; 83), |
25 | delete: [83; 83), | 25 | delete: [83; 83), |
26 | insert: "match $0 {}", | 26 | insert: "match $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "return", | 30 | label: "return", |
31 | source_range: [83; 83), | 31 | source_range: [83; 83), |
32 | delete: [83; 83), | 32 | delete: [83; 83), |
33 | insert: "return $0;", | 33 | insert: "return $0;", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "while", | 37 | label: "while", |
38 | source_range: [83; 83), | 38 | source_range: [83; 83), |
39 | delete: [83; 83), | 39 | delete: [83; 83), |
40 | insert: "while $0 {}", | 40 | insert: "while $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | } | 42 | }, |
43 | ] | 43 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap index 1da3c3ba2..f2b26e393 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.066918191Z" | 2 | created: "2019-05-23T22:23:35.093689514Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -12,7 +12,7 @@ expression: kind_completions | |||
12 | insert: "my", | 12 | insert: "my", |
13 | kind: Module, | 13 | kind: Module, |
14 | documentation: Documentation( | 14 | documentation: Documentation( |
15 | "Some simple\ndocs describing `mod my`." | 15 | "Some simple\ndocs describing `mod my`.", |
16 | ) | 16 | ), |
17 | } | 17 | }, |
18 | ] | 18 | ] |
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 86bc8679d..cee4898c3 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.161888678Z" | 2 | created: "2019-05-23T22:23:35.133106898Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,14 +10,14 @@ expression: kind_completions | |||
10 | source_range: [89; 89), | 10 | source_range: [89; 89), |
11 | delete: [89; 89), | 11 | delete: [89; 89), |
12 | insert: "Baz", | 12 | insert: "Baz", |
13 | kind: Enum | 13 | kind: Enum, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "Foo", | 16 | label: "Foo", |
17 | source_range: [89; 89), | 17 | source_range: [89; 89), |
18 | delete: [89; 89), | 18 | delete: [89; 89), |
19 | insert: "Foo", | 19 | insert: "Foo", |
20 | kind: Struct | 20 | kind: Struct, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "quux", | 23 | label: "quux", |
@@ -25,6 +25,6 @@ expression: kind_completions | |||
25 | delete: [89; 89), | 25 | delete: [89; 89), |
26 | insert: "quux()$0", | 26 | insert: "quux()$0", |
27 | kind: Function, | 27 | kind: Function, |
28 | detail: "fn quux()" | 28 | detail: "fn quux()", |
29 | } | 29 | }, |
30 | ] | 30 | ] |
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 9f796b7ca..ce18e5bb7 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.180517419Z" | 2 | created: "2019-05-23T22:23:35.134417551Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [101; 101), | 10 | source_range: [101; 101), |
11 | delete: [101; 101), | 11 | delete: [101; 101), |
12 | insert: "Bar", | 12 | insert: "Bar", |
13 | kind: Struct | 13 | kind: Struct, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "quux", | 16 | label: "quux", |
@@ -18,6 +18,6 @@ expression: kind_completions | |||
18 | delete: [101; 101), | 18 | delete: [101; 101), |
19 | insert: "quux()$0", | 19 | insert: "quux()$0", |
20 | kind: Function, | 20 | kind: Function, |
21 | detail: "fn quux()" | 21 | detail: "fn quux()", |
22 | } | 22 | }, |
23 | ] | 23 | ] |
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 4920e500e..4c143d28e 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.085605313Z" | 2 | created: "2019-05-23T22:23:35.099358768Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [12; 14), | 10 | source_range: [12; 14), |
11 | delete: [12; 14), | 11 | delete: [12; 14), |
12 | insert: "Spam", | 12 | insert: "Spam", |
13 | kind: Struct | 13 | kind: Struct, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "foo", | 16 | label: "foo", |
17 | source_range: [12; 14), | 17 | source_range: [12; 14), |
18 | delete: [12; 14), | 18 | delete: [12; 14), |
19 | insert: "foo", | 19 | insert: "foo", |
20 | kind: Module | 20 | kind: Module, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 038e7f402..22e25fe3d 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:23.999953358Z" | 2 | created: "2019-05-23T22:23:35.085365816Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,48 +10,48 @@ expression: kind_completions | |||
10 | source_range: [106; 108), | 10 | source_range: [106; 108), |
11 | delete: [106; 108), | 11 | delete: [106; 108), |
12 | insert: "break", | 12 | insert: "break", |
13 | kind: Keyword | 13 | kind: Keyword, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "continue", | 16 | label: "continue", |
17 | source_range: [106; 108), | 17 | source_range: [106; 108), |
18 | delete: [106; 108), | 18 | delete: [106; 108), |
19 | insert: "continue", | 19 | insert: "continue", |
20 | kind: Keyword | 20 | kind: Keyword, |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "if", | 23 | label: "if", |
24 | source_range: [106; 108), | 24 | source_range: [106; 108), |
25 | delete: [106; 108), | 25 | delete: [106; 108), |
26 | insert: "if $0 {}", | 26 | insert: "if $0 {}", |
27 | kind: Keyword | 27 | kind: Keyword, |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "loop", | 30 | label: "loop", |
31 | source_range: [106; 108), | 31 | source_range: [106; 108), |
32 | delete: [106; 108), | 32 | delete: [106; 108), |
33 | insert: "loop {$0}", | 33 | insert: "loop {$0}", |
34 | kind: Keyword | 34 | kind: Keyword, |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "match", | 37 | label: "match", |
38 | source_range: [106; 108), | 38 | source_range: [106; 108), |
39 | delete: [106; 108), | 39 | delete: [106; 108), |
40 | insert: "match $0 {}", | 40 | insert: "match $0 {}", |
41 | kind: Keyword | 41 | kind: Keyword, |
42 | }, | 42 | }, |
43 | CompletionItem { | 43 | CompletionItem { |
44 | label: "return", | 44 | label: "return", |
45 | source_range: [106; 108), | 45 | source_range: [106; 108), |
46 | delete: [106; 108), | 46 | delete: [106; 108), |
47 | insert: "return", | 47 | insert: "return", |
48 | kind: Keyword | 48 | kind: Keyword, |
49 | }, | 49 | }, |
50 | CompletionItem { | 50 | CompletionItem { |
51 | label: "while", | 51 | label: "while", |
52 | source_range: [106; 108), | 52 | source_range: [106; 108), |
53 | delete: [106; 108), | 53 | delete: [106; 108), |
54 | insert: "while $0 {}", | 54 | insert: "while $0 {}", |
55 | kind: Keyword | 55 | kind: Keyword, |
56 | } | 56 | }, |
57 | ] | 57 | ] |
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 3bbc9e3c4..fcb292596 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-04-22T07:37:13.981826301Z" | 2 | created: "2019-05-23T22:23:35.118738523Z" |
3 | creator: insta@0.7.4 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,48 +10,48 @@ expression: kind_completions | |||
10 | source_range: [76; 76), | 10 | source_range: [76; 76), |
11 | delete: [72; 76), | 11 | delete: [72; 76), |
12 | insert: "dbg!(bar)", | 12 | insert: "dbg!(bar)", |
13 | detail: "dbg!(expr)" | 13 | detail: "dbg!(expr)", |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "if", | 16 | label: "if", |
17 | source_range: [76; 76), | 17 | source_range: [76; 76), |
18 | delete: [72; 76), | 18 | delete: [72; 76), |
19 | insert: "if bar {$0}", | 19 | insert: "if bar {$0}", |
20 | detail: "if expr {}" | 20 | detail: "if expr {}", |
21 | }, | 21 | }, |
22 | CompletionItem { | 22 | CompletionItem { |
23 | label: "match", | 23 | label: "match", |
24 | source_range: [76; 76), | 24 | source_range: [76; 76), |
25 | delete: [72; 76), | 25 | delete: [72; 76), |
26 | insert: "match bar {\n ${1:_} => {$0\\},\n}", | 26 | insert: "match bar {\n ${1:_} => {$0\\},\n}", |
27 | detail: "match expr {}" | 27 | detail: "match expr {}", |
28 | }, | 28 | }, |
29 | CompletionItem { | 29 | CompletionItem { |
30 | label: "not", | 30 | label: "not", |
31 | source_range: [76; 76), | 31 | source_range: [76; 76), |
32 | delete: [72; 76), | 32 | delete: [72; 76), |
33 | insert: "!bar", | 33 | insert: "!bar", |
34 | detail: "!expr" | 34 | detail: "!expr", |
35 | }, | 35 | }, |
36 | CompletionItem { | 36 | CompletionItem { |
37 | label: "ref", | 37 | label: "ref", |
38 | source_range: [76; 76), | 38 | source_range: [76; 76), |
39 | delete: [72; 76), | 39 | delete: [72; 76), |
40 | insert: "&bar", | 40 | insert: "&bar", |
41 | detail: "&expr" | 41 | detail: "&expr", |
42 | }, | 42 | }, |
43 | CompletionItem { | 43 | CompletionItem { |
44 | label: "refm", | 44 | label: "refm", |
45 | source_range: [76; 76), | 45 | source_range: [76; 76), |
46 | delete: [72; 76), | 46 | delete: [72; 76), |
47 | insert: "&mut bar", | 47 | insert: "&mut bar", |
48 | detail: "&mut expr" | 48 | detail: "&mut expr", |
49 | }, | 49 | }, |
50 | CompletionItem { | 50 | CompletionItem { |
51 | label: "while", | 51 | label: "while", |
52 | source_range: [76; 76), | 52 | source_range: [76; 76), |
53 | delete: [72; 76), | 53 | delete: [72; 76), |
54 | insert: "while bar {\n$0\n}", | 54 | insert: "while bar {\n$0\n}", |
55 | detail: "while expr {}" | 55 | detail: "while expr {}", |
56 | } | 56 | }, |
57 | ] | 57 | ] |
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 ff36df707..16dd18431 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-04-04T14:52:24.525395600Z" | 2 | created: "2019-05-23T22:23:35.140648630Z" |
3 | creator: insta@0.7.4 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [47; 47), | 10 | source_range: [47; 47), |
11 | delete: [47; 47), | 11 | delete: [47; 47), |
12 | insert: "Foo", | 12 | insert: "Foo", |
13 | kind: Struct | 13 | kind: Struct, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "x", | 16 | label: "x", |
@@ -18,6 +18,6 @@ expression: kind_completions | |||
18 | delete: [47; 47), | 18 | delete: [47; 47), |
19 | insert: "x()$0", | 19 | insert: "x()$0", |
20 | kind: Function, | 20 | kind: Function, |
21 | detail: "fn x()" | 21 | detail: "fn x()", |
22 | } | 22 | }, |
23 | ] | 23 | ] |
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 baf12cae1..e1af94870 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.174038680Z" | 2 | created: "2019-05-23T22:23:35.141900902Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [25; 25), | 10 | source_range: [25; 25), |
11 | delete: [25; 25), | 11 | delete: [25; 25), |
12 | insert: "Self", | 12 | insert: "Self", |
13 | kind: TypeParam | 13 | kind: TypeParam, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "self", | 16 | label: "self", |
17 | source_range: [25; 25), | 17 | source_range: [25; 25), |
18 | delete: [25; 25), | 18 | delete: [25; 25), |
19 | insert: "self", | 19 | insert: "self", |
20 | kind: Binding | 20 | kind: Binding, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 fce2d6479..6f41bf76f 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.191576723Z" | 2 | created: "2019-05-23T22:23:35.141901047Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [17; 17), | 10 | source_range: [17; 17), |
11 | delete: [17; 17), | 11 | delete: [17; 17), |
12 | insert: "eprintln!(\"$0 = {:?}\", $0);", | 12 | insert: "eprintln!(\"$0 = {:?}\", $0);", |
13 | kind: Snippet | 13 | kind: Snippet, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "ppd", | 16 | label: "ppd", |
17 | source_range: [17; 17), | 17 | source_range: [17; 17), |
18 | delete: [17; 17), | 18 | delete: [17; 17), |
19 | insert: "eprintln!(\"$0 = {:#?}\", $0);", | 19 | insert: "eprintln!(\"$0 = {:#?}\", $0);", |
20 | kind: Snippet | 20 | kind: Snippet, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 d2b1a5f0e..1eb0adebe 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.187670733Z" | 2 | created: "2019-05-23T22:23:35.149234118Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -11,13 +11,13 @@ expression: kind_completions | |||
11 | delete: [66; 66), | 11 | delete: [66; 66), |
12 | insert: "#[test]\nfn ${1:feature}() {\n $0\n}", | 12 | insert: "#[test]\nfn ${1:feature}() {\n $0\n}", |
13 | kind: Snippet, | 13 | kind: Snippet, |
14 | lookup: "tfn" | 14 | lookup: "tfn", |
15 | }, | 15 | }, |
16 | CompletionItem { | 16 | CompletionItem { |
17 | label: "pub(crate)", | 17 | label: "pub(crate)", |
18 | source_range: [66; 66), | 18 | source_range: [66; 66), |
19 | delete: [66; 66), | 19 | delete: [66; 66), |
20 | insert: "pub(crate) $0", | 20 | insert: "pub(crate) $0", |
21 | kind: Snippet | 21 | kind: Snippet, |
22 | } | 22 | }, |
23 | ] | 23 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_const.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_const.snap index 6ad4c5acc..f7bc6177c 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_const.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_const.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.093406123Z" | 2 | created: "2019-05-23T22:23:35.101474826Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -13,7 +13,7 @@ expression: kind_completions | |||
13 | kind: Const, | 13 | kind: Const, |
14 | detail: "const C: i32 = 42;", | 14 | detail: "const C: i32 = 42;", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "An associated const" | 16 | "An associated const", |
17 | ) | 17 | ), |
18 | } | 18 | }, |
19 | ] | 19 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap index 7c69eebeb..45080a802 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-24T16:33:47.990111169Z" | 2 | created: "2019-05-23T22:23:35.102351365Z" |
3 | creator: insta@0.6.3 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -13,7 +13,7 @@ expression: kind_completions | |||
13 | kind: Function, | 13 | kind: Function, |
14 | detail: "fn m()", | 14 | detail: "fn m()", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "An associated method" | 16 | "An associated method", |
17 | ) | 17 | ), |
18 | } | 18 | }, |
19 | ] | 19 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_type.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_type.snap index 583bda225..f40065286 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_type.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_type.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.090876030Z" | 2 | created: "2019-05-23T22:23:35.105188762Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -13,7 +13,7 @@ expression: kind_completions | |||
13 | kind: TypeAlias, | 13 | kind: TypeAlias, |
14 | detail: "type T = i32;", | 14 | detail: "type T = i32;", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "An associated type" | 16 | "An associated type", |
17 | ) | 17 | ), |
18 | } | 18 | }, |
19 | ] | 19 | ] |
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 34e70c35d..17e831c84 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.098574884Z" | 2 | created: "2019-05-23T22:23:35.105336210Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,13 +10,13 @@ expression: kind_completions | |||
10 | source_range: [11; 13), | 10 | source_range: [11; 13), |
11 | delete: [11; 13), | 11 | delete: [11; 13), |
12 | insert: "Spam", | 12 | insert: "Spam", |
13 | kind: Struct | 13 | kind: Struct, |
14 | }, | 14 | }, |
15 | CompletionItem { | 15 | CompletionItem { |
16 | label: "foo", | 16 | label: "foo", |
17 | source_range: [11; 13), | 17 | source_range: [11; 13), |
18 | delete: [11; 13), | 18 | delete: [11; 13), |
19 | insert: "foo", | 19 | insert: "foo", |
20 | kind: Module | 20 | kind: Module, |
21 | } | 21 | }, |
22 | ] | 22 | ] |
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 d15f1905b..d1abc6b5b 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,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.102063333Z" | 2 | created: "2019-05-23T22:23:35.106923266Z" |
3 | creator: insta@0.6.2 | 3 | creator: insta@0.8.1 |
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 |
6 | --- | 6 | --- |
@@ -10,6 +10,6 @@ expression: kind_completions | |||
10 | source_range: [26; 26), | 10 | source_range: [26; 26), |
11 | delete: [26; 26), | 11 | delete: [26; 26), |
12 | insert: "Bar", | 12 | insert: "Bar", |
13 | kind: Struct | 13 | kind: Struct, |
14 | } | 14 | }, |
15 | ] | 15 | ] |