diff options
| author | bors <bors@rust-lang.org> | 2024-06-16 07:44:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-16 07:44:33 +0000 |
| commit | 12b33d36f3de0fb30ca08c49f5b2f4fa111861a4 (patch) | |
| tree | 38297d690a100f33aecb2041c360a177e13bd054 /compiler | |
| parent | 5639c21fb38d26a72420fe627be25d4f6dfc1f3b (diff) | |
| parent | 623cf23621f816a8936c627ec8a73a933b3f956f (diff) | |
| download | rust-12b33d36f3de0fb30ca08c49f5b2f4fa111861a4.tar.gz rust-12b33d36f3de0fb30ca08c49f5b2f4fa111861a4.zip | |
Auto merge of #126540 - jhpratt:rollup-fzzz8j3, r=jhpratt
Rollup of 4 pull requests Successful merges: - #125112 (Document behavior of `create_dir_all` wrt. empty path) - #126127 (Spell out other trait diagnostic) - #126309 (unify git command preperation) - #126539 (Update `Arc::try_unwrap()` docs) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs b/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs index 9cd69f54c12..e38f7951197 100644 --- a/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs +++ b/compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs @@ -2068,7 +2068,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> { if all_traits_equal { format!("\n {}", c.self_ty()) } else { - format!("\n {c}") + format!("\n `{}` implements `{}`", c.self_ty(), c.print_only_trait_path()) } }) .collect(); |
