diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-20 19:23:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-20 19:23:31 +0000 |
commit | 2cb2fb1a4807b4e53390c5f88c85106454706b64 (patch) | |
tree | f081f89d08f2edf7859c6d3f9738f507c1dca2d6 /crates/ra_ide_api/src/completion | |
parent | 6983afdea9f41e58d7ebbd15012532cd3935451f (diff) | |
parent | 63f327be67a8e6e0786cc089fba5f9b3f53c5bd6 (diff) |
Merge #2332
2332: Add HasResolver trait r=matklad a=matklad
bors merge
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_scope.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_scope.rs b/crates/ra_ide_api/src/completion/complete_scope.rs index 8c57c907d..d5739b58a 100644 --- a/crates/ra_ide_api/src/completion/complete_scope.rs +++ b/crates/ra_ide_api/src/completion/complete_scope.rs | |||
@@ -305,6 +305,13 @@ mod tests { | |||
305 | @r###" | 305 | @r###" |
306 | [ | 306 | [ |
307 | CompletionItem { | 307 | CompletionItem { |
308 | label: "Self", | ||
309 | source_range: [54; 54), | ||
310 | delete: [54; 54), | ||
311 | insert: "Self", | ||
312 | kind: TypeParam, | ||
313 | }, | ||
314 | CompletionItem { | ||
308 | label: "T", | 315 | label: "T", |
309 | source_range: [54; 54), | 316 | source_range: [54; 54), |
310 | delete: [54; 54), | 317 | delete: [54; 54), |