mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +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
@ -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 New Issue
Block a user