Skip to content

Commit 09b3785

Browse files
Rollup merge of rust-lang#129437 - gurry:fix-diagnostic-typo, r=jieyouxu
Fix typo in a help diagnostic Replaced "**the your** dependency graph" with "**in the** dependency graph".
2 parents db65b6c + b544603 commit 09b3785

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
16931693
StringPart::highlighted("multiple different versions".to_string()),
16941694
StringPart::normal(" of crate `".to_string()),
16951695
StringPart::highlighted(format!("{name}")),
1696-
StringPart::normal("` the your dependency graph".to_string()),
1696+
StringPart::normal("` in the dependency graph".to_string()),
16971697
],
16981698
);
16991699
let candidates = if impl_candidates.is_empty() {

tests/run-make/crate-loading/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn main() {
2727
| |
2828
| required by a bound introduced by this call
2929
|
30-
help: there are multiple different versions of crate `dependency` the your dependency graph
30+
help: there are multiple different versions of crate `dependency` in the dependency graph
3131
--> multiple-dep-versions.rs:1:1
3232
|
3333
1 | extern crate dep_2_reexport;

0 commit comments

Comments
 (0)