mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 21:25:25 +00:00
Move salsa attach to end before call to run_ide_things
This commit is contained in:
parent
dcabe2bd39
commit
10763b03b3
1 changed files with 8 additions and 8 deletions
|
|
@ -335,16 +335,16 @@ impl flags::AnalysisStats {
|
|||
if !self.skip_const_eval {
|
||||
self.run_const_eval(db, &bodies, verbosity);
|
||||
}
|
||||
|
||||
if self.run_all_ide_things {
|
||||
self.run_ide_things(host.analysis(), file_ids.clone(), db, &vfs, verbosity);
|
||||
}
|
||||
|
||||
if self.run_term_search {
|
||||
self.run_term_search(&workspace, db, &vfs, file_ids, verbosity);
|
||||
}
|
||||
});
|
||||
|
||||
if self.run_all_ide_things {
|
||||
self.run_ide_things(host.analysis(), file_ids.clone(), db, &vfs, verbosity);
|
||||
}
|
||||
|
||||
if self.run_term_search {
|
||||
self.run_term_search(&workspace, db, &vfs, file_ids, verbosity);
|
||||
}
|
||||
|
||||
let db = host.raw_database_mut();
|
||||
db.trigger_lru_eviction();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue