1
Fork 0

reword message

This commit is contained in:
Esteban Küber 2024-08-07 16:18:06 +00:00
parent b2e7ae1f65
commit 5c427b4600
3 changed files with 4 additions and 4 deletions

View file

@ -1697,11 +1697,11 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
err.highlighted_span_help(
span,
vec![
StringPart::normal("you have ".to_string()),
StringPart::normal("there are ".to_string()),
StringPart::highlighted("multiple different versions".to_string()),
StringPart::normal(" of crate `".to_string()),
StringPart::highlighted(format!("{name}")),
StringPart::normal("` in your dependency graph".to_string()),
StringPart::normal("` the your dependency graph".to_string()),
],
);
let candidates = if impl_candidates.is_empty() {