mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add firewall query to lang items
With an intermediate query, changing one module won't cause reparsing of all modules
This commit is contained in:
parent
09864b3b21
commit
bcff61257a
3 changed files with 38 additions and 17 deletions
|
@ -282,7 +282,7 @@ impl Module {
|
|||
.collect()
|
||||
}
|
||||
|
||||
pub fn impl_blocks(self, db: &impl HirDatabase) -> Vec<ImplBlock> {
|
||||
pub fn impl_blocks(self, db: &impl DefDatabase) -> Vec<ImplBlock> {
|
||||
let module_impl_blocks = db.impls_in_module(self);
|
||||
module_impl_blocks
|
||||
.impls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue