mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Fix typo in help diagnostic
This commit is contained in:
parent
a32d4a0e82
commit
b544603c03
@ -1693,7 +1693,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
|
|||||||
StringPart::highlighted("multiple different versions".to_string()),
|
StringPart::highlighted("multiple different versions".to_string()),
|
||||||
StringPart::normal(" of crate `".to_string()),
|
StringPart::normal(" of crate `".to_string()),
|
||||||
StringPart::highlighted(format!("{name}")),
|
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() {
|
let candidates = if impl_candidates.is_empty() {
|
||||||
|
@ -27,7 +27,7 @@ fn main() {
|
|||||||
| |
|
| |
|
||||||
| required by a bound introduced by this call
|
| 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
|
--> multiple-dep-versions.rs:1:1
|
||||||
|
|
|
|
||||||
1 | extern crate dep_2_reexport;
|
1 | extern crate dep_2_reexport;
|
||||||
|
Loading…
Reference in New Issue
Block a user