diff options
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. |