diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 55a747ee29..e1959cdb9e 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs @@ -196,7 +196,7 @@ pub struct Resolution { } impl Resolution { - pub(crate) fn from_macro(macro_: MacroDefId) -> Self { + fn from_macro(macro_: MacroDefId) -> Self { Resolution { def: PerNs::macros(macro_), import: None } } } @@ -460,7 +460,7 @@ impl CrateDefMap { from_crate_root.or(from_extern_prelude) } - pub(crate) fn resolve_name_in_module( + fn resolve_name_in_module( &self, db: &impl DefDatabase2, module: CrateModuleId,