mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Reduce visibility
This commit is contained in:
parent
b8f62095d6
commit
debf95eb1b
1 changed files with 1 additions and 5 deletions
|
@ -26,11 +26,7 @@ impl MacroResolver {
|
|||
MacroResolver { crate_def_map: db.crate_def_map(module.krate), module }
|
||||
}
|
||||
|
||||
pub(crate) fn resolve_path_as_macro(
|
||||
&self,
|
||||
db: &impl DefDatabase2,
|
||||
path: &Path,
|
||||
) -> Option<MacroDefId> {
|
||||
fn resolve_path_as_macro(&self, db: &impl DefDatabase2, path: &Path) -> Option<MacroDefId> {
|
||||
self.crate_def_map.resolve_path(db, self.module.module_id, path).0.get_macros()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue