diff --git a/crates/ty_python_semantic/src/types/constraints.rs b/crates/ty_python_semantic/src/types/constraints.rs index 52199e6a45..f96c8390ef 100644 --- a/crates/ty_python_semantic/src/types/constraints.rs +++ b/crates/ty_python_semantic/src/types/constraints.rs @@ -1058,8 +1058,6 @@ impl<'db> InteriorNode<'db> { Node::new_satisfied_constraint(db, smaller_constraint.when_true()); let not_larger_node = Node::new_satisfied_constraint(db, larger_constraint.when_false()); - let not_smaller_node = - Node::new_satisfied_constraint(db, smaller_constraint.when_false()); // larger ∨ smaller = larger simplified = simplified.substitute_union(