diff options
author | Kirill Bulatov <[email protected]> | 2019-07-21 21:28:05 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2019-07-21 21:44:37 +0100 |
commit | 09c7c86696eb8289c9a8ab30bdbb824824c51eb1 (patch) | |
tree | d72cc0adb850d0d20774b3b2cffa148f686bc964 /crates/ra_ide_api/src/lib.rs | |
parent | 24784c60df583d1807faa889a84312df1d2e3b22 (diff) |
Resolve types on the server
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index 32168f12d..16ffb03ce 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs | |||
@@ -400,7 +400,7 @@ impl Analysis { | |||
400 | 400 | ||
401 | /// Returns a list of the places in the file where type hints can be displayed. | 401 | /// Returns a list of the places in the file where type hints can be displayed. |
402 | pub fn inlay_hints(&self, file_id: FileId) -> Cancelable<Vec<InlayHint>> { | 402 | pub fn inlay_hints(&self, file_id: FileId) -> Cancelable<Vec<InlayHint>> { |
403 | self.with_db(|db| inlay_hints::inlay_hints(&db.parse(file_id).tree())) | 403 | self.with_db(|db| inlay_hints::inlay_hints(db, file_id, &db.parse(file_id).tree())) |
404 | } | 404 | } |
405 | 405 | ||
406 | /// Returns the set of folding ranges. | 406 | /// Returns the set of folding ranges. |