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.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index 065b48378b..0552330814 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -425,11 +425,8 @@ impl Analysis {
&self,
position: FilePosition,
search_scope: Option<SearchScope>,
- exclude_imports: bool,
) -> Cancellable<Option<Vec<ReferenceSearchResult>>> {
- self.with_db(|db| {
- references::find_all_refs(&Semantics::new(db), position, search_scope, exclude_imports)
- })
+ self.with_db(|db| references::find_all_refs(&Semantics::new(db), position, search_scope))
}
/// Finds all methods and free functions for the file. Does not return tests!