Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/lib.rs')
| -rw-r--r-- | crates/ide/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 4028b0bc72..1acaaaccf0 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -358,8 +358,9 @@ impl Analysis { &self, config: &InlayHintsConfig, file_id: FileId, + range: Option<FileRange>, ) -> Cancellable<Vec<InlayHint>> { - self.with_db(|db| inlay_hints::inlay_hints(db, file_id, config)) + self.with_db(|db| inlay_hints::inlay_hints(db, file_id, range, config)) } /// Returns the set of folding ranges. |