about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-06-14 05:29:34 +0000
committerGitHub <noreply@github.com>2025-06-14 05:29:34 +0000
commit974779746f36c705c351945c8a5d8c48eec0681e (patch)
tree32cc30d8e7b03b639193725a28787a0733b4330b /compiler/rustc_codegen_llvm/src/errors.rs
parentf5e10748e53b543131b6472af3b3a2b6ff866e9b (diff)
parente5b0c02c42e6399b1aaeafaa949615dbbae35417 (diff)
downloadrust-974779746f36c705c351945c8a5d8c48eec0681e.tar.gz
rust-974779746f36c705c351945c8a5d8c48eec0681e.zip
Merge pull request #4398 from rust-lang/rustup-2025-06-14
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index eaafc680712..8bc74fbec7e 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -24,23 +24,6 @@ pub(crate) struct UnknownCTargetFeature<'a> {
     pub rust_feature: PossibleFeature<'a>,
 }
 
-#[derive(Diagnostic)]
-#[diag(codegen_llvm_unstable_ctarget_feature)]
-#[note]
-pub(crate) struct UnstableCTargetFeature<'a> {
-    pub feature: &'a str,
-}
-
-#[derive(Diagnostic)]
-#[diag(codegen_llvm_forbidden_ctarget_feature)]
-#[note]
-#[note(codegen_llvm_forbidden_ctarget_feature_issue)]
-pub(crate) struct ForbiddenCTargetFeature<'a> {
-    pub feature: &'a str,
-    pub enabled: &'a str,
-    pub reason: &'a str,
-}
-
 #[derive(Subdiagnostic)]
 pub(crate) enum PossibleFeature<'a> {
     #[help(codegen_llvm_possible_feature)]