Remove red_knot_python_semantic::python_version::TargetVersion (#12790)

This commit is contained in:
Alex Waygood 2024-08-10 14:28:31 +01:00 committed by GitHub
parent 597c5f9124
commit cf1a57df5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 148 additions and 217 deletions

View file

@ -1,11 +1,11 @@
use crate::python_version::TargetVersion;
use crate::python_version::PythonVersion;
use crate::Db;
use ruff_db::system::SystemPathBuf;
use salsa::Durability;
#[salsa::input(singleton)]
pub struct Program {
pub target_version: TargetVersion,
pub target_version: PythonVersion,
#[return_ref]
pub search_paths: SearchPathSettings,
@ -21,7 +21,7 @@ impl Program {
#[derive(Debug, Eq, PartialEq)]
pub struct ProgramSettings {
pub target_version: TargetVersion,
pub target_version: PythonVersion,
pub search_paths: SearchPathSettings,
}