about summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/errors.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-05-23 12:44:15 +0200
committerRalf Jung <post@ralfj.de>2025-06-08 07:34:41 +0200
commitb616e1197482f31c0a403d2dac41bb7425cd70f4 (patch)
tree410f8648919940e886f2dbeb10d9e056c7fee1b0 /compiler/rustc_metadata/src/errors.rs
parent873122c006315e541c30809210089606877122c5 (diff)
downloadrust-b616e1197482f31c0a403d2dac41bb7425cd70f4.tar.gz
rust-b616e1197482f31c0a403d2dac41bb7425cd70f4.zip
raw dylib: ensure that we have applied standard ABI checks
also unify error messages that do not seem to have a good reason to be different
Diffstat (limited to 'compiler/rustc_metadata/src/errors.rs')
-rw-r--r--compiler/rustc_metadata/src/errors.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/compiler/rustc_metadata/src/errors.rs b/compiler/rustc_metadata/src/errors.rs
index 16f59793e63..71da4290174 100644
--- a/compiler/rustc_metadata/src/errors.rs
+++ b/compiler/rustc_metadata/src/errors.rs
@@ -300,15 +300,8 @@ pub struct NoLinkModOverride {
 }
 
 #[derive(Diagnostic)]
-#[diag(metadata_unsupported_abi_i686)]
-pub struct UnsupportedAbiI686 {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
-#[diag(metadata_unsupported_abi)]
-pub struct UnsupportedAbi {
+#[diag(metadata_raw_dylib_unsupported_abi)]
+pub struct RawDylibUnsupportedAbi {
     #[primary_span]
     pub span: Span,
 }