mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Merge #10479
10479: fix: fix "index out of bounds" panic in name resolution r=jonas-schievink a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/10084 Closes https://github.com/rust-analyzer/rust-analyzer/issues/9163 This is really just a salsa update to a version that removes the problematic code (see https://github.com/rust-analyzer/rust-analyzer/issues/10084#issuecomment-934445711) bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
f30b62b751
5 changed files with 13 additions and 70 deletions
|
@ -161,9 +161,6 @@ impl AnalysisHost {
|
|||
self.db.apply_change(change)
|
||||
}
|
||||
|
||||
pub fn collect_garbage(&mut self) {
|
||||
self.db.collect_garbage();
|
||||
}
|
||||
/// NB: this clears the database
|
||||
pub fn per_query_memory_usage(&mut self) -> Vec<(String, profile::Bytes)> {
|
||||
self.db.per_query_memory_usage()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue