diff options
79 files changed, 595 insertions, 316 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__bug_484.snap b/crates/ra_hir/src/ty/snapshots/tests__bug_484.snap index eeb3061d3..28f57623d 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__bug_484.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__bug_484.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662863951+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [11; 37) '{ l... {}; }': () | 7 | [11; 37) '{ l... {}; }': () |
6 | [20; 21) 'x': () | 8 | [20; 21) 'x': () |
7 | [24; 34) 'if true {}': () | 9 | [24; 34) 'if true {}': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap b/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap index 073009bbc..e7b42e413 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662863969+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [11; 89) '{ ... } }': () | 7 | [11; 89) '{ ... } }': () |
6 | [17; 21) 'X {}': [unknown] | 8 | [17; 21) 'X {}': [unknown] |
7 | [27; 87) 'match ... }': () | 9 | [27; 87) 'match ... }': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_adt_pattern.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_adt_pattern.snap index fb261f1c0..2719f592e 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_adt_pattern.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_adt_pattern.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662935249+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [68; 262) '{ ... d; }': () | 7 | [68; 262) '{ ... d; }': () |
6 | [78; 79) 'e': E | 8 | [78; 79) 'e': E |
7 | [82; 95) 'E::A { x: 3 }': E | 9 | [82; 95) 'E::A { x: 3 }': E |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_array.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_array.snap index 2fc613e26..3f2faa598 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_array.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_array.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662961921+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [9; 10) 'x': &str | 7 | [9; 10) 'x': &str |
6 | [18; 19) 'y': isize | 8 | [18; 19) 'y': isize |
7 | [28; 293) '{ ... []; }': () | 9 | [28; 293) '{ ... []; }': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_backwards.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_backwards.snap index 12f0d8c90..5c74bd8c7 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_backwards.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_backwards.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662902243+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [14; 15) 'x': u32 | 7 | [14; 15) 'x': u32 |
6 | [22; 24) '{}': () | 8 | [22; 24) '{}': () |
7 | [78; 231) '{ ...t &c }': &mut &f64 | 9 | [78; 231) '{ ...t &c }': &mut &f64 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_basics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_basics.snap index eba8126e9..4b0863558 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_basics.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_basics.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662874226+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [9; 10) 'a': u32 | 7 | [9; 10) 'a': u32 |
6 | [17; 18) 'b': isize | 8 | [17; 18) 'b': isize |
7 | [27; 28) 'c': ! | 9 | [27; 28) 'c': ! |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_binary_op.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_binary_op.snap index 3b750ec45..c506bcadd 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_binary_op.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_binary_op.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662972146+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [6; 7) 'x': bool | 7 | [6; 7) 'x': bool |
6 | [22; 34) '{ 0i32 }': i32 | 8 | [22; 34) '{ 0i32 }': i32 |
7 | [28; 32) '0i32': i32 | 9 | [28; 32) '0i32': i32 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap index 8018ff025..bc8b84272 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_enum.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.662949719+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.880187500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [48; 82) '{ E:...:V2; }': () | 7 | [48; 82) '{ E:...:V2; }': () |
6 | [52; 70) 'E::V1 ...d: 1 }': E | 8 | [52; 70) 'E::V1 ...d: 1 }': E |
7 | [67; 68) '1': u32 | 9 | [67; 68) '1': u32 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_field_autoderef.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_field_autoderef.snap index 1943ef079..f092fd319 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_field_autoderef.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_field_autoderef.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.671554939+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.955954900+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [44; 45) 'a': A | 7 | [44; 45) 'a': A |
6 | [50; 213) '{ ...5.b; }': () | 8 | [50; 213) '{ ...5.b; }': () |
7 | [60; 62) 'a1': A | 9 | [60; 62) 'a1': A |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap index 386acc0b3..7203ad1e2 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.669112954+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.954958500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [10; 11) 't': [unknown] | 7 | [10; 11) 't': [unknown] |
6 | [21; 26) '{ t }': [unknown] | 8 | [21; 26) '{ t }': [unknown] |
7 | [23; 24) 't': [unknown] | 9 | [23; 24) 't': [unknown] |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_generic_chain.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_generic_chain.snap index 7a64e4f95..4435180a1 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_generic_chain.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_generic_chain.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.672467086+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.961936900+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [53; 57) 'self': A<[unknown]> | 7 | [53; 57) 'self': A<[unknown]> |
6 | [65; 87) '{ ... }': [unknown] | 8 | [65; 87) '{ ... }': [unknown] |
7 | [75; 79) 'self': A<[unknown]> | 9 | [75; 79) 'self': A<[unknown]> |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_generics_in_patterns.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_generics_in_patterns.snap index ae38ec2fb..fae7ab0dd 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_generics_in_patterns.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_generics_in_patterns.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.683908196+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.970913200+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [79; 81) 'a1': A<u32> | 7 | [79; 81) 'a1': A<u32> |
6 | [91; 92) 'o': Option<u64> | 8 | [91; 92) 'o': Option<u64> |
7 | [107; 244) '{ ... }; }': () | 9 | [107; 244) '{ ... }; }': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_inherent_method.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_inherent_method.snap index 298dac585..b3c706aca 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_inherent_method.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_inherent_method.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.670255659+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.968918800+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [32; 36) 'self': A | 7 | [32; 36) 'self': A |
6 | [38; 39) 'x': u32 | 8 | [38; 39) 'x': u32 |
7 | [53; 55) '{}': () | 9 | [53; 55) '{}': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap index aa4e4cc63..0d085071a 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.666406651+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.963931700+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [11; 71) '{ ...= b; }': () | 7 | [11; 71) '{ ...= b; }': () |
6 | [21; 22) 'a': isize | 8 | [21; 22) 'a': isize |
7 | [25; 31) '1isize': isize | 9 | [25; 31) '1isize': isize |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_literals.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_literals.snap index 00c7e639e..e287a100e 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_literals.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_literals.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.666200994+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.974903100+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [11; 201) '{ ...o"#; }': () | 7 | [11; 201) '{ ...o"#; }': () |
6 | [17; 21) '5i32': i32 | 8 | [17; 21) '5i32': i32 |
7 | [27; 34) '"hello"': &str | 9 | [27; 34) '"hello"': &str |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_paths.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_paths.snap index 0924cdc80..0bceffaef 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_paths.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_paths.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.671399345+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:44:59.975899500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [15; 20) '{ 1 }': u32 | 7 | [15; 20) '{ 1 }': u32 |
6 | [17; 18) '1': u32 | 8 | [17; 18) '1': u32 |
7 | [48; 53) '{ 1 }': u32 | 9 | [48; 53) '{ 1 }': u32 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap index b22b71765..1da46daf8 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_pattern.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.677661229+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.037734500+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [9; 10) 'x': &i32 | 7 | [9; 10) 'x': &i32 |
6 | [18; 369) '{ ...o_x; }': () | 8 | [18; 369) '{ ...o_x; }': () |
7 | [28; 29) 'y': &i32 | 9 | [28; 29) 'y': &i32 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_refs.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_refs.snap index fc5bfe677..56931bb3d 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_refs.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_refs.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.674183006+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.053692600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [9; 10) 'a': &u32 | 7 | [9; 10) 'a': &u32 |
6 | [18; 19) 'b': &mut u32 | 8 | [18; 19) 'b': &mut u32 |
7 | [31; 32) 'c': *const u32 | 9 | [31; 32) 'c': *const u32 |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_self.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_self.snap index 76cb62055..84c8b1e90 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_self.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_self.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:50:17.870325361+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.052694700+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [34; 38) 'self': &S | 7 | [34; 38) 'self': &S |
6 | [40; 61) '{ ... }': () | 8 | [40; 61) '{ ... }': () |
7 | [50; 54) 'self': &S | 9 | [50; 54) 'self': &S |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_struct.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_struct.snap index 0c94d6837..c4a2d5cf8 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_struct.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_struct.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.677495622+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.058678600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [72; 154) '{ ...a.c; }': () | 7 | [72; 154) '{ ...a.c; }': () |
6 | [82; 83) 'c': [unknown] | 8 | [82; 83) 'c': [unknown] |
7 | [86; 87) 'C': [unknown] | 9 | [86; 87) 'C': [unknown] |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap index 7cf947d4d..e07c7d36c 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.678274444+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.058678600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [36; 38) 'a1': A<u32> | 7 | [36; 38) 'a1': A<u32> |
6 | [48; 49) 'i': i32 | 8 | [48; 49) 'i': i32 |
7 | [56; 147) '{ ...3.x; }': () | 9 | [56; 147) '{ ...3.x; }': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap index 862644145..cd11d41d3 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.676903109+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.058678600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [9; 10) 'x': &str | 7 | [9; 10) 'x': &str |
6 | [18; 19) 'y': isize | 8 | [18; 19) 'y': isize |
7 | [28; 170) '{ ...d"); }': () | 9 | [28; 170) '{ ...d"); }': () |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_unary_op.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_unary_op.snap index 8906bb9c0..10aa61954 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_unary_op.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_unary_op.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.676213204+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.059676600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [27; 28) 'x': SomeType | 7 | [27; 28) 'x': SomeType |
6 | [40; 197) '{ ...lo"; }': () | 8 | [40; 197) '{ ...lo"; }': () |
7 | [50; 51) 'b': bool | 9 | [50; 51) 'b': bool |
diff --git a/crates/ra_hir/src/ty/snapshots/tests__no_panic_on_field_of_enum.snap b/crates/ra_hir/src/ty/snapshots/tests__no_panic_on_field_of_enum.snap index 024fbf929..b6f404b4c 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__no_panic_on_field_of_enum.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__no_panic_on_field_of_enum.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-21T21:48:20.676654355+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.058678600+00:00" |
3 | Source: crates/ra_hir/src/ty/tests.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&result" | |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
5 | [20; 21) 'x': X | 7 | [20; 21) 'x': X |
6 | [26; 47) '{ ...eld; }': () | 8 | [26; 47) '{ ...eld; }': () |
7 | [32; 33) 'x': X | 9 | [32; 33) 'x': X |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap index 132048d9c..3d8d5af78 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.241096+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.858540400+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Binding | 12 | Binding |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Function | 26 | Function |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: Some( | 31 | insert_text: Some( |
28 | "quux()$0" | 32 | "quux()$0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap index e7b628f19..7ed1d5ccb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.242456+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.860535200+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Binding | 12 | Binding |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Binding | 26 | Binding |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
@@ -36,6 +40,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
36 | Function | 40 | Function |
37 | ), | 41 | ), |
38 | detail: None, | 42 | detail: None, |
43 | documentation: None, | ||
39 | lookup: None, | 44 | lookup: None, |
40 | insert_text: Some( | 45 | insert_text: Some( |
41 | "quux()$0" | 46 | "quux()$0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap index 403fe0c4c..95581122d 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.243016+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.871506600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Binding | 12 | Binding |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Binding | 26 | Binding |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
@@ -36,6 +40,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
36 | Function | 40 | Function |
37 | ), | 41 | ), |
38 | detail: None, | 42 | detail: None, |
43 | documentation: None, | ||
39 | lookup: None, | 44 | lookup: None, |
40 | insert_text: Some( | 45 | insert_text: Some( |
41 | "quux($0)" | 46 | "quux($0)" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap index 413960191..2e763fe1d 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops1.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.206357+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.620177400+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "continue;" | 82 | "continue;" |
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
85 | Keyword | 92 | Keyword |
86 | ), | 93 | ), |
87 | detail: None, | 94 | detail: None, |
95 | documentation: None, | ||
88 | lookup: None, | 96 | lookup: None, |
89 | insert_text: Some( | 97 | insert_text: Some( |
90 | "break;" | 98 | "break;" |
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
100 | Keyword | 108 | Keyword |
101 | ), | 109 | ), |
102 | detail: None, | 110 | detail: None, |
111 | documentation: None, | ||
103 | lookup: None, | 112 | lookup: None, |
104 | insert_text: Some( | 113 | insert_text: Some( |
105 | "return $0;" | 114 | "return $0;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap index dc2fc95e3..9dcdbf63f 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_break_and_continue_in_loops2.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.217822+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.699965300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return $0;" | 82 | "return $0;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap index 26ca18933..b55e24bdc 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__deeply_nested_use_tree.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.217724+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.719911400+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Struct | 12 | Struct |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap index f5ae8c29f..e3f00d0f1 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_add_semi_after_return_if_not_a_statement.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.208392+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.642118600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return $0" | 82 | "return $0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap index 88c9287fd..18d8b3fb3 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.239872+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.797704900+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Function | 26 | Function |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap index 33286e68b..8bf7bf06c 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_in_use_item.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.239894+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.801693300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap index 2db0eb755..5844254e1 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.248606+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.912397100+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Binding | 12 | Binding |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Function | 26 | Function |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: Some( | 31 | insert_text: Some( |
28 | "foo()$0" | 32 | "foo()$0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap index ed9b62586..13f915446 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion1.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-21T21:32:37.509646722+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.817649800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Postfix, | 9 | completion_kind: Postfix, |
8 | label: "not", | 10 | label: "not", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: None, | 14 | lookup: None, |
12 | insert_text: Some( | 15 | insert_text: Some( |
13 | "!bar" | 16 | "!bar" |
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
30 | label: "if", | 33 | label: "if", |
31 | kind: None, | 34 | kind: None, |
32 | detail: None, | 35 | detail: None, |
36 | documentation: None, | ||
33 | lookup: None, | 37 | lookup: None, |
34 | insert_text: Some( | 38 | insert_text: Some( |
35 | "if bar {$0}" | 39 | "if bar {$0}" |
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
52 | label: "match", | 56 | label: "match", |
53 | kind: None, | 57 | kind: None, |
54 | detail: None, | 58 | detail: None, |
59 | documentation: None, | ||
55 | lookup: None, | 60 | lookup: None, |
56 | insert_text: Some( | 61 | insert_text: Some( |
57 | "match bar {\n${1:_} => {$0\\},\n}" | 62 | "match bar {\n${1:_} => {$0\\},\n}" |
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
74 | label: "while", | 79 | label: "while", |
75 | kind: None, | 80 | kind: None, |
76 | detail: None, | 81 | detail: None, |
82 | documentation: None, | ||
77 | lookup: None, | 83 | lookup: None, |
78 | insert_text: Some( | 84 | insert_text: Some( |
79 | "while bar {\n$0\n}" | 85 | "while bar {\n$0\n}" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap index cc566ac35..fff87574d 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion2.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-21T21:32:37.510644822+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.820642200+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Postfix, | 9 | completion_kind: Postfix, |
8 | label: "not", | 10 | label: "not", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: None, | 14 | lookup: None, |
12 | insert_text: Some( | 15 | insert_text: Some( |
13 | "!bar" | 16 | "!bar" |
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
30 | label: "if", | 33 | label: "if", |
31 | kind: None, | 34 | kind: None, |
32 | detail: None, | 35 | detail: None, |
36 | documentation: None, | ||
33 | lookup: None, | 37 | lookup: None, |
34 | insert_text: Some( | 38 | insert_text: Some( |
35 | "if bar {$0}" | 39 | "if bar {$0}" |
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
52 | label: "match", | 56 | label: "match", |
53 | kind: None, | 57 | kind: None, |
54 | detail: None, | 58 | detail: None, |
59 | documentation: None, | ||
55 | lookup: None, | 60 | lookup: None, |
56 | insert_text: Some( | 61 | insert_text: Some( |
57 | "match bar {\n${1:_} => {$0\\},\n}" | 62 | "match bar {\n${1:_} => {$0\\},\n}" |
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
74 | label: "while", | 79 | label: "while", |
75 | kind: None, | 80 | kind: None, |
76 | detail: None, | 81 | detail: None, |
82 | documentation: None, | ||
77 | lookup: None, | 83 | lookup: None, |
78 | insert_text: Some( | 84 | insert_text: Some( |
79 | "while bar {\n$0\n}" | 85 | "while bar {\n$0\n}" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap index c9f9bddcf..e8191596d 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__filter_postfix_completion3.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-21T21:32:37.510629228+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.830614900+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Postfix, | 9 | completion_kind: Postfix, |
8 | label: "not", | 10 | label: "not", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: None, | 14 | lookup: None, |
12 | insert_text: Some( | 15 | insert_text: Some( |
13 | "!bar" | 16 | "!bar" |
@@ -30,6 +33,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
30 | label: "if", | 33 | label: "if", |
31 | kind: None, | 34 | kind: None, |
32 | detail: None, | 35 | detail: None, |
36 | documentation: None, | ||
33 | lookup: None, | 37 | lookup: None, |
34 | insert_text: Some( | 38 | insert_text: Some( |
35 | "if bar {$0}" | 39 | "if bar {$0}" |
@@ -52,6 +56,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
52 | label: "match", | 56 | label: "match", |
53 | kind: None, | 57 | kind: None, |
54 | detail: None, | 58 | detail: None, |
59 | documentation: None, | ||
55 | lookup: None, | 60 | lookup: None, |
56 | insert_text: Some( | 61 | insert_text: Some( |
57 | "match bar {\n${1:_} => {$0\\},\n}" | 62 | "match bar {\n${1:_} => {$0\\},\n}" |
@@ -74,6 +79,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
74 | label: "while", | 79 | label: "while", |
75 | kind: None, | 80 | kind: None, |
76 | detail: None, | 81 | detail: None, |
82 | documentation: None, | ||
77 | lookup: None, | 83 | lookup: None, |
78 | insert_text: Some( | 84 | insert_text: Some( |
79 | "while bar {\n$0\n}" | 85 | "while bar {\n$0\n}" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap index 7ae216cd2..732a87382 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.249349+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.932343200+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "no_args()$0" | 18 | "no_args()$0" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Function | 28 | Function |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "main()$0" | 34 | "main()$0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap index 231d75d7a..2431b3276 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls2.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.255317+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.995180+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "main()$0" | 18 | "main()$0" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Function | 28 | Function |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "with_args($0)" | 34 | "with_args($0)" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap index 4d309b20e..f1de82bcc 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function1.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.207728+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.635137200+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return;" | 82 | "return;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap index 0f1e66ac3..c309ff9bc 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.207381+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.626162800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "else {$0}" | 82 | "else {$0}" |
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
85 | Keyword | 92 | Keyword |
86 | ), | 93 | ), |
87 | detail: None, | 94 | detail: None, |
95 | documentation: None, | ||
88 | lookup: None, | 96 | lookup: None, |
89 | insert_text: Some( | 97 | insert_text: Some( |
90 | "else if $0 {}" | 98 | "else if $0 {}" |
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
100 | Keyword | 108 | Keyword |
101 | ), | 109 | ), |
102 | detail: None, | 110 | detail: None, |
111 | documentation: None, | ||
103 | lookup: None, | 112 | lookup: None, |
104 | insert_text: Some( | 113 | insert_text: Some( |
105 | "return;" | 114 | "return;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap index 25c29dc18..950cc8045 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function3.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.211090+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.701959300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return $0;" | 82 | "return $0;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap index 7e43be4b0..ae14d7e39 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.218272+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.788727100+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return;" | 82 | "return;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap index 7ed890b74..2ec855bf6 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt1.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.207433+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.626162800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "crate::" | 18 | "crate::" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: None, | 33 | insert_text: None, |
30 | insert_text_format: PlainText, | 34 | insert_text_format: PlainText, |
@@ -38,6 +42,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
38 | Keyword | 42 | Keyword |
39 | ), | 43 | ), |
40 | detail: None, | 44 | detail: None, |
45 | documentation: None, | ||
41 | lookup: None, | 46 | lookup: None, |
42 | insert_text: Some( | 47 | insert_text: Some( |
43 | "super::" | 48 | "super::" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap index 4d4c7af50..92224becc 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt2.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.872623+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.698966900+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Keyword | 26 | Keyword |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: Some( | 31 | insert_text: Some( |
28 | "super::" | 32 | "super::" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap index 66ab20f41..952650ea3 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_use_stmt3.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.217815+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.779752+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Keyword | 26 | Keyword |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: Some( | 31 | insert_text: Some( |
28 | "super::" | 32 | "super::" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap index 2dc47e9b1..1d8725d34 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi1.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.208669+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.642118600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return $0;" | 82 | "return $0;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap index 59e11c585..54175c1a3 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__last_return_in_block_has_semi2.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.221138+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.733874300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "return $0;" | 82 | "return $0;" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap index 966148a36..c294de5cb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__method_completion.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.868112+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.546394900+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Method | 12 | Method |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "the_method($0)" | 18 | "the_method($0)" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap index 9ebb8a357..032516ab4 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.243581+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.874497400+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "quux()$0" | 18 | "quux()$0" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Struct | 28 | Struct |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: None, | 33 | insert_text: None, |
30 | insert_text_format: PlainText, | 34 | insert_text_format: PlainText, |
@@ -38,6 +42,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
38 | Enum | 42 | Enum |
39 | ), | 43 | ), |
40 | detail: None, | 44 | detail: None, |
45 | documentation: None, | ||
41 | lookup: None, | 46 | lookup: None, |
42 | insert_text: None, | 47 | insert_text: None, |
43 | insert_text_format: PlainText, | 48 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap index 9b7aa0540..b33babaf0 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__module_items_in_nested_modules.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.244757+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.875495300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Function | 12 | Function |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "quux()$0" | 18 | "quux()$0" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Struct | 28 | Struct |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: None, | 33 | insert_text: None, |
30 | insert_text_format: PlainText, | 34 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap index 555f7acc6..62fb0a966 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__nested_use_tree.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.222109+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.723900500+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Struct | 12 | Struct |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Module | 26 | Module |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap index 417b692dc..7cc827532 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_non_self_method.snap | |||
@@ -1,5 +1,7 @@ | |||
1 | Created: 2019-01-19T11:34:11.702251+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.552379600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [] | 7 | [] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap index fd56a6c8c..a5164b03e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_semi_after_break_continue_in_expr.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.209867+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.651095300+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Keyword, | 9 | completion_kind: Keyword, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Keyword | 12 | Keyword |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "if $0 {}" | 18 | "if $0 {}" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Keyword | 28 | Keyword |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "match $0 {}" | 34 | "match $0 {}" |
@@ -40,6 +44,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
40 | Keyword | 44 | Keyword |
41 | ), | 45 | ), |
42 | detail: None, | 46 | detail: None, |
47 | documentation: None, | ||
43 | lookup: None, | 48 | lookup: None, |
44 | insert_text: Some( | 49 | insert_text: Some( |
45 | "while $0 {}" | 50 | "while $0 {}" |
@@ -55,6 +60,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
55 | Keyword | 60 | Keyword |
56 | ), | 61 | ), |
57 | detail: None, | 62 | detail: None, |
63 | documentation: None, | ||
58 | lookup: None, | 64 | lookup: None, |
59 | insert_text: Some( | 65 | insert_text: Some( |
60 | "loop {$0}" | 66 | "loop {$0}" |
@@ -70,6 +76,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
70 | Keyword | 76 | Keyword |
71 | ), | 77 | ), |
72 | detail: None, | 78 | detail: None, |
79 | documentation: None, | ||
73 | lookup: None, | 80 | lookup: None, |
74 | insert_text: Some( | 81 | insert_text: Some( |
75 | "continue" | 82 | "continue" |
@@ -85,6 +92,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
85 | Keyword | 92 | Keyword |
86 | ), | 93 | ), |
87 | detail: None, | 94 | detail: None, |
95 | documentation: None, | ||
88 | lookup: None, | 96 | lookup: None, |
89 | insert_text: Some( | 97 | insert_text: Some( |
90 | "break" | 98 | "break" |
@@ -100,6 +108,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
100 | Keyword | 108 | Keyword |
101 | ), | 109 | ), |
102 | detail: None, | 110 | detail: None, |
111 | documentation: None, | ||
103 | lookup: None, | 112 | lookup: None, |
104 | insert_text: Some( | 113 | insert_text: Some( |
105 | "return" | 114 | "return" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap index 0948c9fe6..7cc827532 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__no_struct_field_completion_for_method_call.snap | |||
@@ -1,5 +1,7 @@ | |||
1 | Created: 2019-01-19T11:34:11.702201+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.552379600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [] | 7 | [] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap index e0e5929ff..a5a7713ef 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_last_param.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-20T04:00:48.203211+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.545423800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Magic, | 9 | completion_kind: Magic, |
8 | label: "file_id: FileId", | 10 | label: "file_id: FileId", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: Some( | 14 | lookup: Some( |
12 | "file_id" | 15 | "file_id" |
13 | ), | 16 | ), |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap index 2899cf98e..0df4fcf57 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_nth_param.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-20T04:00:48.203236+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.552379600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Magic, | 9 | completion_kind: Magic, |
8 | label: "file_id: FileId", | 10 | label: "file_id: FileId", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: Some( | 14 | lookup: Some( |
12 | "file_id" | 15 | "file_id" |
13 | ), | 16 | ), |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap index 8a4d9ef63..905ece338 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__param_completion_trait_param.snap | |||
@@ -1,13 +1,16 @@ | |||
1 | Created: 2019-01-20T04:00:48.206552+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.619180200+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Magic, | 9 | completion_kind: Magic, |
8 | label: "file_id: FileId", | 10 | label: "file_id: FileId", |
9 | kind: None, | 11 | kind: None, |
10 | detail: None, | 12 | detail: None, |
13 | documentation: None, | ||
11 | lookup: Some( | 14 | lookup: Some( |
12 | "file_id" | 15 | "file_id" |
13 | ), | 16 | ), |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap index 632d9bbc7..0180a4f44 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__reference_completion.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.899262+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.717917+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | EnumVariant | 12 | EnumVariant |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | EnumVariant | 26 | EnumVariant |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap index 6bef3ed95..24dbe6bb0 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__return_type.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.245820+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.898433800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Struct | 12 | Struct |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Function | 26 | Function |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: Some( | 31 | insert_text: Some( |
28 | "x()$0" | 32 | "x()$0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap index 56bfe1b0d..efda72adf 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__self_in_methods.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.244260+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.894444600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Binding | 12 | Binding |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap index 648d7f189..1d9aff5bb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_expressions.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.252281+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.944312600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Snippet, | 9 | completion_kind: Snippet, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Snippet | 12 | Snippet |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: Some( | 17 | insert_text: Some( |
15 | "eprintln!(\"$0 = {:?}\", $0);" | 18 | "eprintln!(\"$0 = {:?}\", $0);" |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Snippet | 28 | Snippet |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "eprintln!(\"$0 = {:#?}\", $0);" | 34 | "eprintln!(\"$0 = {:#?}\", $0);" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap index f5d0140ea..678335404 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__snippets_in_items.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.253073+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.944312600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Snippet, | 9 | completion_kind: Snippet, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Snippet | 12 | Snippet |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: Some( | 16 | lookup: Some( |
14 | "tfn" | 17 | "tfn" |
15 | ), | 18 | ), |
@@ -27,6 +30,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
27 | Snippet | 30 | Snippet |
28 | ), | 31 | ), |
29 | detail: None, | 32 | detail: None, |
33 | documentation: None, | ||
30 | lookup: None, | 34 | lookup: None, |
31 | insert_text: Some( | 35 | insert_text: Some( |
32 | "pub(crate) $0" | 36 | "pub(crate) $0" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap index c88ddbc67..e8dc12dfd 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.868146+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.545423800+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
12 | detail: Some( | 14 | detail: Some( |
13 | "u32" | 15 | "u32" |
14 | ), | 16 | ), |
17 | documentation: None, | ||
15 | lookup: None, | 18 | lookup: None, |
16 | insert_text: None, | 19 | insert_text: None, |
17 | insert_text_format: PlainText, | 20 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap index f310f523d..9ee668b35 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.868561+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.552379600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
12 | detail: Some( | 14 | detail: Some( |
13 | "(u32, i32)" | 15 | "(u32, i32)" |
14 | ), | 16 | ), |
17 | documentation: None, | ||
15 | lookup: None, | 18 | lookup: None, |
16 | insert_text: None, | 19 | insert_text: None, |
17 | insert_text_format: PlainText, | 20 | insert_text_format: PlainText, |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Method | 28 | Method |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "foo($0)" | 34 | "foo($0)" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index 4eae65128..b9d70ea3f 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.868333+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.552379600+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -12,6 +14,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
12 | detail: Some( | 14 | detail: Some( |
13 | "(u32,)" | 15 | "(u32,)" |
14 | ), | 16 | ), |
17 | documentation: None, | ||
15 | lookup: None, | 18 | lookup: None, |
16 | insert_text: None, | 19 | insert_text: None, |
17 | insert_text_format: PlainText, | 20 | insert_text_format: PlainText, |
@@ -25,6 +28,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
25 | Method | 28 | Method |
26 | ), | 29 | ), |
27 | detail: None, | 30 | detail: None, |
31 | documentation: None, | ||
28 | lookup: None, | 32 | lookup: None, |
29 | insert_text: Some( | 33 | insert_text: Some( |
30 | "foo($0)" | 34 | "foo($0)" |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap index 29f7f86f1..01294ca40 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_crate.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T04:00:48.223130+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.761799100+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Struct | 12 | Struct |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
@@ -23,6 +26,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
23 | Module | 26 | Module |
24 | ), | 27 | ), |
25 | detail: None, | 28 | detail: None, |
29 | documentation: None, | ||
26 | lookup: None, | 30 | lookup: None, |
27 | insert_text: None, | 31 | insert_text: None, |
28 | insert_text_format: PlainText, | 32 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap index 1a3bd8034..33dd2b904 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__use_item_starting_with_self.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-20T09:26:20.899584+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.780748400+00:00" |
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | 3 | creator: [email protected] |
4 | 4 | expression: kind_completions | |
5 | source: "crates\\ra_ide_api\\src\\completion\\completion_item.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | CompletionItem { | 8 | CompletionItem { |
7 | completion_kind: Reference, | 9 | completion_kind: Reference, |
@@ -10,6 +12,7 @@ Source: crates/ra_ide_api/src/completion/completion_item.rs | |||
10 | Struct | 12 | Struct |
11 | ), | 13 | ), |
12 | detail: None, | 14 | detail: None, |
15 | documentation: None, | ||
13 | lookup: None, | 16 | lookup: None, |
14 | insert_text: None, | 17 | insert_text: None, |
15 | insert_text_format: PlainText, | 18 | insert_text_format: PlainText, |
diff --git a/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap b/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap index b84aa9c78..062add083 100644 --- a/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap +++ b/crates/ra_ide_api/src/snapshots/tests__highlight_query_group_macro.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732493641+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.017117100+00:00" |
3 | Source: crates/ra_ide_api/src/syntax_highlighting.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&highlights" | |
5 | source: "crates\\ra_ide_api\\src\\syntax_highlighting.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | HighlightedRange { | 8 | HighlightedRange { |
7 | range: [20; 32), | 9 | range: [20; 32), |
diff --git a/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap b/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap index 14c6e5a4e..fd8265abb 100644 --- a/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap +++ b/crates/ra_ide_api/src/snapshots/tests__highlights_code_inside_macros.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732523231+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.043047100+00:00" |
3 | Source: crates/ra_ide_api/src/syntax_highlighting.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&highlights" | |
5 | source: "crates\\ra_ide_api\\src\\syntax_highlighting.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | HighlightedRange { | 8 | HighlightedRange { |
7 | range: [13; 15), | 9 | range: [13; 15), |
diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap index dc97b3334..3267d1ac5 100644 --- a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap +++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-18T08:26:43.427092+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.975229300+00:00" |
3 | Source: crates/ra_ide_api/src/rename.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&source_change" | |
5 | source: "crates\\ra_ide_api\\src\\rename.rs" | ||
6 | --- | ||
5 | Some( | 7 | Some( |
6 | SourceChange { | 8 | SourceChange { |
7 | label: "rename", | 9 | label: "rename", |
diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap index 7dcd65185..e96bf5c02 100644 --- a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap +++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-18T08:26:43.427095+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.975229300+00:00" |
3 | Source: crates/ra_ide_api/src/rename.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&source_change" | |
5 | source: "crates\\ra_ide_api\\src\\rename.rs" | ||
6 | --- | ||
5 | Some( | 7 | Some( |
6 | SourceChange { | 8 | SourceChange { |
7 | label: "rename", | 9 | label: "rename", |
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables.snap b/crates/ra_ide_api/src/snapshots/tests__runnables.snap index ba6cba0ab..71bd7a4bd 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732460119+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.975229300+00:00" |
3 | Source: crates/ra_ide_api/src/runnables.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&runnables" | |
5 | source: "crates\\ra_ide_api\\src\\runnables.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | Runnable { | 8 | Runnable { |
7 | range: [1; 21), | 9 | range: [1; 21), |
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap index b3f2d4d6e..a28dd8952 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732460109+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.976230700+00:00" |
3 | Source: crates/ra_ide_api/src/runnables.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&runnables" | |
5 | source: "crates\\ra_ide_api\\src\\runnables.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | Runnable { | 8 | Runnable { |
7 | range: [1; 59), | 9 | range: [1; 59), |
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap index 6eba482e7..79f07bef9 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732522773+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:00.979218100+00:00" |
3 | Source: crates/ra_ide_api/src/runnables.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&runnables" | |
5 | source: "crates\\ra_ide_api\\src\\runnables.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | Runnable { | 8 | Runnable { |
7 | range: [41; 115), | 9 | range: [41; 115), |
diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap index f40c762f3..d199e9073 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.732480089+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.016119500+00:00" |
3 | Source: crates/ra_ide_api/src/runnables.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&runnables" | |
5 | source: "crates\\ra_ide_api\\src\\runnables.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | Runnable { | 8 | Runnable { |
7 | range: [23; 85), | 9 | range: [23; 85), |
diff --git a/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap b/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap index 1b41e2b00..d258820af 100644 --- a/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap +++ b/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:20.891129945+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.486985900+00:00" |
3 | Source: crates/ra_ide_api/tests/test/main.rs | 3 | creator: [email protected] |
4 | 4 | expression: "&diagnostics" | |
5 | source: "crates\\ra_ide_api\\tests\\test\\main.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | Diagnostic { | 8 | Diagnostic { |
7 | message: "unresolved module", | 9 | message: "unresolved module", |
diff --git a/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap b/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap index 10eb5c724..4661ea2c4 100644 --- a/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap +++ b/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:21.073862814+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.959724300+00:00" |
3 | Source: crates/ra_ide_api_light/src/structure.rs | 3 | creator: [email protected] |
4 | 4 | expression: structure | |
5 | source: "crates\\ra_ide_api_light\\src\\structure.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | StructureNode { | 8 | StructureNode { |
7 | parent: None, | 9 | parent: None, |
diff --git a/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap b/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap index d8f44a713..ef306a7a0 100644 --- a/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap +++ b/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap | |||
@@ -1,7 +1,9 @@ | |||
1 | Created: 2019-01-15T11:15:21.073858657+00:00 | 1 | --- |
2 | Creator: [email protected] | 2 | created: "2019-01-22T14:45:01.959724300+00:00" |
3 | Source: crates/ra_ide_api_light/src/lib.rs | 3 | creator: [email protected] |
4 | 4 | expression: hls | |
5 | source: "crates\\ra_ide_api_light\\src\\lib.rs" | ||
6 | --- | ||
5 | [ | 7 | [ |
6 | HighlightedRange { | 8 | HighlightedRange { |
7 | range: [1; 11), | 9 | range: [1; 11), |