diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-02-12 10:46:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-12 10:46:40 +0100 |
| commit | 30bd1b53b3d5354fffc25d50fa2ab131f4875c4e (patch) | |
| tree | 4dd2da6a1d640466cd6cb9101bd56b1da7b0deed /compiler/rustc_errors | |
| parent | 9fa2557d8eb8a78c5399f66bd4827468661fc235 (diff) | |
| parent | 32fd1a7b7205d1f8ccf168c22dada83ea38e3adb (diff) | |
| download | rust-30bd1b53b3d5354fffc25d50fa2ab131f4875c4e.tar.gz rust-30bd1b53b3d5354fffc25d50fa2ab131f4875c4e.zip | |
Rollup merge of #136900 - workingjubilee:format-externabi-directly, r=oli-obk
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.rs | 1 |
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> { |
