mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Slightly shrink DefMap
This commit is contained in:
parent
117f9b7752
commit
dc7c6d43c7
22 changed files with 130 additions and 92 deletions
|
@ -77,7 +77,7 @@ pub fn visit_file_defs(
|
|||
}
|
||||
module.impl_defs(db).into_iter().for_each(|impl_| cb(impl_.into()));
|
||||
|
||||
let is_root = module.is_crate_root(db);
|
||||
let is_root = module.is_crate_root();
|
||||
module
|
||||
.legacy_macros(db)
|
||||
.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue