about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-04-07 04:12:22 +0000
committerThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-04-07 04:12:22 +0000
commit5a28e1e8de868757716d97aa0c0c1d7764122c32 (patch)
tree2478093c3b93e98d9a90c99a012c6862eedd96f3 /compiler/rustc_codegen_ssa/src/errors.rs
parentf74e85e2c2567d8fc3b1248944def8ed0ab22399 (diff)
parent25a615bf829b9f6d6f22da537e3851043f92e5f2 (diff)
downloadrust-5a28e1e8de868757716d97aa0c0c1d7764122c32.tar.gz
rust-5a28e1e8de868757716d97aa0c0c1d7764122c32.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index f52d29baf9d..b33de8802d8 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -3,7 +3,6 @@
 use std::borrow::Cow;
 use std::ffi::OsString;
 use std::io::Error;
-use std::num::ParseIntError;
 use std::path::{Path, PathBuf};
 use std::process::ExitStatus;
 
@@ -739,14 +738,6 @@ pub enum ExtractBundledLibsError<'a> {
 }
 
 #[derive(Diagnostic)]
-pub(crate) enum AppleDeploymentTarget {
-    #[diag(codegen_ssa_apple_deployment_target_invalid)]
-    Invalid { env_var: &'static str, error: ParseIntError },
-    #[diag(codegen_ssa_apple_deployment_target_too_low)]
-    TooLow { env_var: &'static str, version: String, os_min: String },
-}
-
-#[derive(Diagnostic)]
 #[diag(codegen_ssa_read_file)]
 pub(crate) struct ReadFileError {
     pub message: std::io::Error,