Skip to content

Commit b544603

Browse files
committed
Fix typo in help diagnostic
1 parent a32d4a0 commit b544603

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)