[ty] Specify heap_size for SynthesizedTypedDictType (#22345)

This commit is contained in:
Alex Waygood
2026-01-02 20:09:35 +00:00
committed by GitHub
parent a2e0ff57c3
commit 10a417aaf6

View File

@@ -879,7 +879,7 @@ pub(super) fn validate_typed_dict_dict_literal<'db>(
}
}
#[salsa::interned(debug)]
#[salsa::interned(debug, heap_size=ruff_memory_usage::heap_size)]
pub struct SynthesizedTypedDictType<'db> {
#[returns(ref)]
pub(crate) items: TypedDictSchema<'db>,