diff options
| author | Scott Schafer <schaferjscott@gmail.com> | 2025-07-07 18:22:28 -0600 |
|---|---|---|
| committer | Scott Schafer <schaferjscott@gmail.com> | 2025-07-07 18:54:23 -0600 |
| commit | 62951c2e07dea61ec20fd6f6e849400f4cd194c3 (patch) | |
| tree | 18a7dfd215b8e45dfa7a1d181c6cb59d22ce317d | |
| parent | a2d45f73c70d9dec57140c9412f83586eda895f8 (diff) | |
| download | rust-62951c2e07dea61ec20fd6f6e849400f4cd194c3.tar.gz rust-62951c2e07dea61ec20fd6f6e849400f4cd194c3.zip | |
fix: Remove newline from multiple crate versions note
| -rw-r--r-- | compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs b/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs index 28d572b303a..cd3e6c4bc54 100644 --- a/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs +++ b/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs @@ -1933,7 +1933,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> { StringPart::highlighted("multiple different versions".to_string()), StringPart::normal(" of crate `".to_string()), StringPart::highlighted(format!("{crate_name}")), - StringPart::normal("` in the dependency graph\n".to_string()), + StringPart::normal("` in the dependency graph".to_string()), ], ); if points_at_type { |
