diff options
Diffstat (limited to 'crates/ra_hir_def/src/nameres.rs')
-rw-r--r-- | crates/ra_hir_def/src/nameres.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 433bdde48..e1959cdb9 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs | |||
@@ -50,8 +50,8 @@ | |||
50 | // FIXME: review privacy of submodules | 50 | // FIXME: review privacy of submodules |
51 | pub mod raw; | 51 | pub mod raw; |
52 | pub mod per_ns; | 52 | pub mod per_ns; |
53 | pub mod collector; | 53 | mod collector; |
54 | pub mod mod_resolution; | 54 | mod mod_resolution; |
55 | 55 | ||
56 | #[cfg(test)] | 56 | #[cfg(test)] |
57 | mod tests; | 57 | mod tests; |
@@ -196,7 +196,7 @@ pub struct Resolution { | |||
196 | } | 196 | } |
197 | 197 | ||
198 | impl Resolution { | 198 | impl Resolution { |
199 | pub(crate) fn from_macro(macro_: MacroDefId) -> Self { | 199 | fn from_macro(macro_: MacroDefId) -> Self { |
200 | Resolution { def: PerNs::macros(macro_), import: None } | 200 | Resolution { def: PerNs::macros(macro_), import: None } |
201 | } | 201 | } |
202 | } | 202 | } |
@@ -460,7 +460,7 @@ impl CrateDefMap { | |||
460 | from_crate_root.or(from_extern_prelude) | 460 | from_crate_root.or(from_extern_prelude) |
461 | } | 461 | } |
462 | 462 | ||
463 | pub(crate) fn resolve_name_in_module( | 463 | fn resolve_name_in_module( |
464 | &self, | 464 | &self, |
465 | db: &impl DefDatabase2, | 465 | db: &impl DefDatabase2, |
466 | module: CrateModuleId, | 466 | module: CrateModuleId, |