From 308373124d5e23802410a01fde10e2182c16d78a Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 13 Jan 2026 12:51:38 +0100 Subject: [PATCH] [ty] Make `TrackedConstraintSet` interned --- crates/ty_python_semantic/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types.rs b/crates/ty_python_semantic/src/types.rs index 76cc4684b1..f1e6ccead2 100644 --- a/crates/ty_python_semantic/src/types.rs +++ b/crates/ty_python_semantic/src/types.rs @@ -6942,7 +6942,7 @@ impl<'db> TypeMapping<'_, 'db> { /// put in a [`KnownInstance::ConstraintSet`]. We don't actually manipulate these as part of using /// constraint sets to check things like assignability; they're only used as a debugging aid in /// mdtests. That means there's no need for this to be interned; being tracked is sufficient. -#[salsa::tracked(debug, heap_size=ruff_memory_usage::heap_size)] +#[salsa::interned(debug, heap_size=ruff_memory_usage::heap_size)] #[derive(PartialOrd, Ord)] pub struct TrackedConstraintSet<'db> { constraints: ConstraintSet<'db>,