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.
This commit is contained in:
parent
34a5ea911c
commit
32fd1a7b72
16 changed files with 27 additions and 34 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue