Rollup merge of #129437 - gurry:fix-diagnostic-typo, r=jieyouxu

Fix typo in a help diagnostic

Replaced "**the your** dependency graph" with "**in the** dependency graph".
This commit is contained in:
Guillaume Gomez 2024-08-23 12:32:17 +02:00 committed by GitHub
commit 09b37855f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1693,7 +1693,7 @@ pub(super) fn report_similar_impl_candidates(
StringPart::highlighted("multiple different versions".to_string()),
StringPart::normal(" of crate `".to_string()),
StringPart::highlighted(format!("{name}")),
StringPart::normal("` the your dependency graph".to_string()),
StringPart::normal("` in the dependency graph".to_string()),
],
);
let candidates = if impl_candidates.is_empty() {

View File

@ -27,7 +27,7 @@ fn main() {
| |
| required by a bound introduced by this call
|
help: there are multiple different versions of crate `dependency` the your dependency graph
help: there are multiple different versions of crate `dependency` in the dependency graph
--> multiple-dep-versions.rs:1:1
|
1 | extern crate dep_2_reexport;