about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorAnne Stijns <anstijns@gmail.com>2025-06-29 23:39:09 +0200
committerAnne Stijns <anstijns@gmail.com>2025-07-13 11:51:01 +0200
commit75561c446afb63444e9b192563d46eccf7051c61 (patch)
treec36cd5e60102984fd1e4c8899c25b9b30f1416ec /compiler/rustc_codegen_ssa/src/errors.rs
parentbfc046a4b8d6b57db02540182466e989a9b0fb40 (diff)
downloadrust-75561c446afb63444e9b192563d46eccf7051c61.tar.gz
rust-75561c446afb63444e9b192563d46eccf7051c61.zip
Port `#[link_ordinal]` to the new attribute parsing infrastructure.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index e042fe1f819..9040915b6af 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -1109,22 +1109,6 @@ pub(crate) struct InvalidNoSanitize {
 }
 
 #[derive(Diagnostic)]
-#[diag(codegen_ssa_invalid_link_ordinal_nargs)]
-#[note]
-pub(crate) struct InvalidLinkOrdinalNargs {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
-#[diag(codegen_ssa_illegal_link_ordinal_format)]
-#[note]
-pub(crate) struct InvalidLinkOrdinalFormat {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
 #[diag(codegen_ssa_target_feature_safe_trait)]
 pub(crate) struct TargetFeatureSafeTrait {
     #[primary_span]