From b9c213da7abcb49e59ecdb630653ae61b4d5c8f2 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 9 Feb 2021 17:23:25 +0100 Subject: Make `with_ancestor_maps` public --- crates/hir_def/src/nameres.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/nameres.rs b/crates/hir_def/src/nameres.rs index ad2e9bcac..34ff07f3c 100644 --- a/crates/hir_def/src/nameres.rs +++ b/crates/hir_def/src/nameres.rs @@ -316,7 +316,7 @@ impl DefMap { /// /// If `f` returns `Some(val)`, iteration is stopped and `Some(val)` is returned. If `f` returns /// `None`, iteration continues. - fn with_ancestor_maps( + pub fn with_ancestor_maps( &self, db: &dyn DefDatabase, local_mod: LocalModuleId, -- cgit v1.2.3