We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3384392 commit 8c7e20aCopy full SHA for 8c7e20a
crates/ty_python_semantic/src/types.rs
@@ -1909,11 +1909,7 @@ impl<'db> Type<'db> {
1909
/// This uses `TypeRelation::ConstraintSetAssignability`, which encodes typevar relations into
1910
/// a constraint set and lets `satisfied_by_all_typevars` perform existential vs universal
1911
/// reasoning depending on inferable typevars.
1912
- pub fn is_constraint_set_assignable_to(
1913
- self,
1914
- db: &'db dyn Db,
1915
- target: Type<'db>,
1916
- ) -> bool {
+ pub fn is_constraint_set_assignable_to(self, db: &'db dyn Db, target: Type<'db>) -> bool {
1917
self.when_constraint_set_assignable_to(db, target, InferableTypeVars::None)
1918
.is_always_satisfied(db)
1919
}
0 commit comments