aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_dot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_dot.rs')
-rw-r--r--crates/ra_ide_api/src/completion/complete_dot.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs
index b4df6ee2a..9c0abd590 100644
--- a/crates/ra_ide_api/src/completion/complete_dot.rs
+++ b/crates/ra_ide_api/src/completion/complete_dot.rs
@@ -96,6 +96,7 @@ mod tests {
96 ⋮ insert: "the_field", 96 ⋮ insert: "the_field",
97 ⋮ kind: Field, 97 ⋮ kind: Field,
98 ⋮ detail: "u32", 98 ⋮ detail: "u32",
99 ⋮ deprecated: false,
99 ⋮ }, 100 ⋮ },
100 ⋮] 101 ⋮]
101 "### 102 "###
@@ -128,6 +129,7 @@ mod tests {
128 kind: Method, 129 kind: Method,
129 lookup: "foo", 130 lookup: "foo",
130 detail: "fn foo(self)", 131 detail: "fn foo(self)",
132 deprecated: false,
131 }, 133 },
132 CompletionItem { 134 CompletionItem {
133 label: "the_field", 135 label: "the_field",
@@ -139,6 +141,7 @@ mod tests {
139 documentation: Documentation( 141 documentation: Documentation(
140 "This is the_field", 142 "This is the_field",
141 ), 143 ),
144 deprecated: false,
142 }, 145 },
143 ] 146 ]
144 "### 147 "###
@@ -168,6 +171,7 @@ mod tests {
168 kind: Method, 171 kind: Method,
169 lookup: "foo", 172 lookup: "foo",
170 detail: "fn foo(&self)", 173 detail: "fn foo(&self)",
174 deprecated: false,
171 }, 175 },
172 CompletionItem { 176 CompletionItem {
173 label: "the_field", 177 label: "the_field",
@@ -176,6 +180,7 @@ mod tests {
176 insert: "the_field", 180 insert: "the_field",
177 kind: Field, 181 kind: Field,
178 detail: "(u32, i32)", 182 detail: "(u32, i32)",
183 deprecated: false,
179 }, 184 },
180 ] 185 ]
181 "### 186 "###
@@ -221,6 +226,7 @@ mod tests {
221 kind: Method, 226 kind: Method,
222 lookup: "the_method", 227 lookup: "the_method",
223 detail: "fn the_method(&self)", 228 detail: "fn the_method(&self)",
229 deprecated: false,
224 }, 230 },
225 ] 231 ]
226 "### 232 "###
@@ -250,6 +256,7 @@ mod tests {
250 kind: Method, 256 kind: Method,
251 lookup: "the_method", 257 lookup: "the_method",
252 detail: "fn the_method(&self)", 258 detail: "fn the_method(&self)",
259 deprecated: false,
253 }, 260 },
254 ] 261 ]
255 "### 262 "###
@@ -279,6 +286,7 @@ mod tests {
279 kind: Method, 286 kind: Method,
280 lookup: "the_method", 287 lookup: "the_method",
281 detail: "fn the_method(&self)", 288 detail: "fn the_method(&self)",
289 deprecated: false,
282 }, 290 },
283 ] 291 ]
284 "### 292 "###
@@ -331,6 +339,7 @@ mod tests {
331 kind: Method, 339 kind: Method,
332 lookup: "the_method", 340 lookup: "the_method",
333 detail: "fn the_method(&self)", 341 detail: "fn the_method(&self)",
342 deprecated: false,
334 }, 343 },
335 ] 344 ]
336 "### 345 "###
@@ -401,6 +410,7 @@ mod tests {
401 kind: Method, 410 kind: Method,
402 lookup: "blah", 411 lookup: "blah",
403 detail: "pub fn blah(&self)", 412 detail: "pub fn blah(&self)",
413 deprecated: false,
404 }, 414 },
405 ] 415 ]
406 "### 416 "###
@@ -427,6 +437,7 @@ mod tests {
427 ⋮ insert: "the_field", 437 ⋮ insert: "the_field",
428 ⋮ kind: Field, 438 ⋮ kind: Field,
429 ⋮ detail: "u32", 439 ⋮ detail: "u32",
440 ⋮ deprecated: false,
430 ⋮ }, 441 ⋮ },
431 ⋮] 442 ⋮]
432 "### 443 "###