Merge pull request #20777 from itsjunetime/no_panic_analysis_stats
Fix panic when using analysis-stats
This commit is contained in:
commit
6ce82d488d
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