[ty] Invert dependencies of ty_combine and ty_python_semantic (#22191)

This commit is contained in:
Micha Reiser
2025-12-25 10:06:06 +01:00
committed by GitHub
parent f9afcc400c
commit 12f5ea51e3
5 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
use std::fmt::{Display, Formatter};
use ty_combine::Combine;
/// The target platform to assume when resolving types.
#[derive(Debug, Clone, PartialEq, Eq, get_size2::GetSize)]
@@ -54,6 +55,10 @@ impl Default for PythonPlatform {
}
}
impl Combine for PythonPlatform {
fn combine_with(&mut self, _other: Self) {}
}
#[cfg(feature = "schemars")]
mod schema {
use crate::PythonPlatform;