about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-05-23 08:07:42 +0200
committerRalf Jung <post@ralfj.de>2025-06-19 09:44:01 +0900
commitcd08652faa37a9119c2cf535b927129b1c4438b7 (patch)
treef81da7726f370e8b3a36b0016145c1062a9c5f9d /compiler/rustc_session/src/errors.rs
parentd70ec32ea7e03e3a082a45eeba6c8aa4c653efb4 (diff)
downloadrust-cd08652faa37a9119c2cf535b927129b1c4438b7.tar.gz
rust-cd08652faa37a9119c2cf535b927129b1c4438b7.zip
move -Ctarget-feature handling into shared code
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
-rw-r--r--compiler/rustc_session/src/errors.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler/rustc_session/src/errors.rs b/compiler/rustc_session/src/errors.rs
index 9c591dcf619..bf95014843d 100644
--- a/compiler/rustc_session/src/errors.rs
+++ b/compiler/rustc_session/src/errors.rs
@@ -501,20 +501,3 @@ pub(crate) struct SoftFloatIgnored;
 #[note]
 #[note(session_soft_float_deprecated_issue)]
 pub(crate) struct SoftFloatDeprecated;
-
-#[derive(Diagnostic)]
-#[diag(session_forbidden_ctarget_feature)]
-#[note]
-#[note(session_forbidden_ctarget_feature_issue)]
-pub(crate) struct ForbiddenCTargetFeature<'a> {
-    pub feature: &'a str,
-    pub enabled: &'a str,
-    pub reason: &'a str,
-}
-
-#[derive(Diagnostic)]
-#[diag(session_unstable_ctarget_feature)]
-#[note]
-pub(crate) struct UnstableCTargetFeature<'a> {
-    pub feature: &'a str,
-}