mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Merge #2177
2177: Reduce visibility r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
38f2bd21fb
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue