Make with_ancestor_maps public

This commit is contained in:
Jonas Schievink 2021-02-09 17:23:25 +01:00
parent 27f77060e2
commit b9c213da7a

View File

@ -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<T>(
pub fn with_ancestor_maps<T>(
&self,
db: &dyn DefDatabase,
local_mod: LocalModuleId,