[ty] Enable LRU collection for parsed module (#21749)

This commit is contained in:
Micha Reiser
2025-12-03 12:16:18 +01:00
committed by GitHub
parent 21e5a57296
commit 92c5f62ec0
6 changed files with 65 additions and 22 deletions

View File

@@ -120,7 +120,7 @@ impl std::fmt::Debug for Module<'_> {
}
#[allow(clippy::ref_option)]
#[salsa::tracked(returns(ref))]
#[salsa::tracked(returns(ref), heap_size=ruff_memory_usage::heap_size)]
fn all_submodule_names_for_package<'db>(
db: &'db dyn Db,
module: Module<'db>,