about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-11 19:40:29 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-11 19:42:47 -0800
commit32fd1a7b7205d1f8ccf168c22dada83ea38e3adb (patch)
treedbb47607f37fda33f5ada5f7ddf4bc9e727195ed /compiler/rustc_errors
parent34a5ea911c56e79bd451c63f04ea2f5023d7d1a3 (diff)
downloadrust-32fd1a7b7205d1f8ccf168c22dada83ea38e3adb.tar.gz
rust-32fd1a7b7205d1f8ccf168c22dada83ea38e3adb.zip
compiler: replace ExternAbi::name calls with formatters
Most of these just format the ABI string, so... just format ExternAbi?
This makes it more consistent and less jank when we can do it.
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/diagnostic_impls.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs
index 14baf7554bc..7f383946c14 100644
--- a/compiler/rustc_errors/src/diagnostic_impls.rs
+++ b/compiler/rustc_errors/src/diagnostic_impls.rs
@@ -93,6 +93,7 @@ into_diag_arg_using_display!(
     SplitDebuginfo,
     ExitStatus,
     ErrCode,
+    rustc_abi::ExternAbi,
 );
 
 impl<I: rustc_type_ir::Interner> IntoDiagArg for rustc_type_ir::TraitRef<I> {