diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-02 07:48:08 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-02 07:48:08 +0100 |
commit | dd698fc3f7090b7781504566a8b82cf2c3d62420 (patch) | |
tree | 1f0f3fce9284ce52210edfc8985815b5d0f18d26 /crates/ra_ide_api/src/completion/snapshots | |
parent | f06e3efbb1e8cfc2b5b3bd9d8c163a5a64e05128 (diff) | |
parent | c596cd133c894ca084dcba5a3502438b605c0515 (diff) |
Merge #1468
1468: Use inline snapshots in complete_path r=matklad a=funkill
Relates to #1127
Co-authored-by: funkill2 <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
13 files changed, 0 insertions, 273 deletions
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 deleted file mode 100644 index 113deafb1..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_use_paths_across_crates.snap +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.108690807Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "bar", | ||
10 | source_range: [9; 9), | ||
11 | delete: [9; 9), | ||
12 | insert: "bar", | ||
13 | kind: Module, | ||
14 | }, | ||
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 deleted file mode 100644 index aacdeb763..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.085633034Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Spam", | ||
10 | source_range: [23; 25), | ||
11 | delete: [23; 25), | ||
12 | insert: "Spam", | ||
13 | kind: Struct, | ||
14 | }, | ||
15 | ] | ||
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap deleted file mode 100644 index ee6518fc8..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-06-29T10:30:34.110468474Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "m", | ||
10 | source_range: [100; 100), | ||
11 | delete: [100; 100), | ||
12 | insert: "m()$0", | ||
13 | kind: Function, | ||
14 | detail: "fn m()", | ||
15 | documentation: Documentation( | ||
16 | "An associated method", | ||
17 | ), | ||
18 | }, | ||
19 | ] | ||
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 deleted file mode 100644 index e40217ca8..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant.snap +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.090178265Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Bar", | ||
10 | source_range: [116; 116), | ||
11 | delete: [116; 116), | ||
12 | insert: "Bar", | ||
13 | kind: EnumVariant, | ||
14 | detail: "(i32)", | ||
15 | documentation: Documentation( | ||
16 | "Bar Variant with i32", | ||
17 | ), | ||
18 | }, | ||
19 | CompletionItem { | ||
20 | label: "Foo", | ||
21 | source_range: [116; 116), | ||
22 | delete: [116; 116), | ||
23 | insert: "Foo", | ||
24 | kind: EnumVariant, | ||
25 | detail: "()", | ||
26 | documentation: Documentation( | ||
27 | "Foo Variant", | ||
28 | ), | ||
29 | }, | ||
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 deleted file mode 100644 index e09d7988a..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_variant_with_details.snap +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.091325331Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Bar", | ||
10 | source_range: [180; 180), | ||
11 | delete: [180; 180), | ||
12 | insert: "Bar", | ||
13 | kind: EnumVariant, | ||
14 | detail: "(i32, u32)", | ||
15 | documentation: Documentation( | ||
16 | "Bar Variant with i32 and u32", | ||
17 | ), | ||
18 | }, | ||
19 | CompletionItem { | ||
20 | label: "Foo", | ||
21 | source_range: [180; 180), | ||
22 | delete: [180; 180), | ||
23 | insert: "Foo", | ||
24 | kind: EnumVariant, | ||
25 | detail: "()", | ||
26 | documentation: Documentation( | ||
27 | "Foo Variant (empty)", | ||
28 | ), | ||
29 | }, | ||
30 | CompletionItem { | ||
31 | label: "S", | ||
32 | source_range: [180; 180), | ||
33 | delete: [180; 180), | ||
34 | insert: "S", | ||
35 | kind: EnumVariant, | ||
36 | detail: "(S)", | ||
37 | documentation: Documentation( | ||
38 | "", | ||
39 | ), | ||
40 | }, | ||
41 | ] | ||
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 deleted file mode 100644 index f2b26e393..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.093689514Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "my", | ||
10 | source_range: [23; 25), | ||
11 | delete: [23; 25), | ||
12 | insert: "my", | ||
13 | kind: Module, | ||
14 | documentation: Documentation( | ||
15 | "Some simple\ndocs describing `mod my`.", | ||
16 | ), | ||
17 | }, | ||
18 | ] | ||
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 deleted file mode 100644 index 4c143d28e..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.099358768Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Spam", | ||
10 | source_range: [12; 14), | ||
11 | delete: [12; 14), | ||
12 | insert: "Spam", | ||
13 | kind: Struct, | ||
14 | }, | ||
15 | CompletionItem { | ||
16 | label: "foo", | ||
17 | source_range: [12; 14), | ||
18 | delete: [12; 14), | ||
19 | insert: "foo", | ||
20 | kind: Module, | ||
21 | }, | ||
22 | ] | ||
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 deleted file mode 100644 index f7bc6177c..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_const.snap +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.101474826Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "C", | ||
10 | source_range: [107; 107), | ||
11 | delete: [107; 107), | ||
12 | insert: "C", | ||
13 | kind: Const, | ||
14 | detail: "const C: i32 = 42;", | ||
15 | documentation: Documentation( | ||
16 | "An associated const", | ||
17 | ), | ||
18 | }, | ||
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 deleted file mode 100644 index 45080a802..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.102351365Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "m", | ||
10 | source_range: [100; 100), | ||
11 | delete: [100; 100), | ||
12 | insert: "m()$0", | ||
13 | kind: Function, | ||
14 | detail: "fn m()", | ||
15 | documentation: Documentation( | ||
16 | "An associated method", | ||
17 | ), | ||
18 | }, | ||
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 deleted file mode 100644 index f40065286..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_type.snap +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.105188762Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "T", | ||
10 | source_range: [101; 101), | ||
11 | delete: [101; 101), | ||
12 | insert: "T", | ||
13 | kind: TypeAlias, | ||
14 | detail: "type T = i32;", | ||
15 | documentation: Documentation( | ||
16 | "An associated type", | ||
17 | ), | ||
18 | }, | ||
19 | ] | ||
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap deleted file mode 100644 index 1c1a250f4..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-06-29T10:37:44.968500164Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "m", | ||
10 | source_range: [101; 101), | ||
11 | delete: [101; 101), | ||
12 | insert: "m()$0", | ||
13 | kind: Function, | ||
14 | detail: "fn m()", | ||
15 | documentation: Documentation( | ||
16 | "An associated method", | ||
17 | ), | ||
18 | }, | ||
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 deleted file mode 100644 index 17e831c84..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.105336210Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Spam", | ||
10 | source_range: [11; 13), | ||
11 | delete: [11; 13), | ||
12 | insert: "Spam", | ||
13 | kind: Struct, | ||
14 | }, | ||
15 | CompletionItem { | ||
16 | label: "foo", | ||
17 | source_range: [11; 13), | ||
18 | delete: [11; 13), | ||
19 | insert: "foo", | ||
20 | kind: Module, | ||
21 | }, | ||
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 deleted file mode 100644 index d1abc6b5b..000000000 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-05-23T22:23:35.106923266Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | label: "Bar", | ||
10 | source_range: [26; 26), | ||
11 | delete: [26; 26), | ||
12 | insert: "Bar", | ||
13 | kind: Struct, | ||
14 | }, | ||
15 | ] | ||