diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-25 23:04:01 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-30 14:22:50 +0200 |
| commit | 3ce90b16490490aea6da61f913fb0ecbc5d4ec7a (patch) | |
| tree | 418ea04cfadc1c96e4f0f5ebe99eed489adce1f3 /compiler/rustc_trait_selection/src/traits/vtable.rs | |
| parent | 2e0136a131f6ed5f6071adf36db08dd8d2205d19 (diff) | |
| download | rust-3ce90b16490490aea6da61f913fb0ecbc5d4ec7a.tar.gz rust-3ce90b16490490aea6da61f913fb0ecbc5d4ec7a.zip | |
inline format!() args up to and including rustc_codegen_llvm
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/vtable.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/vtable.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/vtable.rs b/compiler/rustc_trait_selection/src/traits/vtable.rs index c4cc89aa907..3964dda1fdb 100644 --- a/compiler/rustc_trait_selection/src/traits/vtable.rs +++ b/compiler/rustc_trait_selection/src/traits/vtable.rs @@ -195,11 +195,7 @@ fn dump_vtable_entries<'tcx>( trait_ref: ty::PolyTraitRef<'tcx>, entries: &[VtblEntry<'tcx>], ) { - tcx.sess.emit_err(DumpVTableEntries { - span: sp, - trait_ref, - entries: format!("{:#?}", entries), - }); + tcx.sess.emit_err(DumpVTableEntries { span: sp, trait_ref, entries: format!("{entries:#?}") }); } fn has_own_existential_vtable_entries(tcx: TyCtxt<'_>, trait_def_id: DefId) -> bool { |
