Skip to content

Commit

Permalink
Merge pull request #18379 from usamoi/master
Browse files Browse the repository at this point in the history
fix dyn incompatible hint message
  • Loading branch information
Veykril authored Oct 23, 2024
2 parents af7c97f + b32127e commit 63b0fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ide/src/hover/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ fn render_dyn_compatibility(
}
DynCompatibilityViolation::HasNonCompatibleSuperTrait(super_trait) => {
let name = hir::Trait::from(super_trait).name(db);
format_to!(buf, "has a object unsafe supertrait `{}`", name.as_str());
format_to!(buf, "has a dyn incompatible supertrait `{}`", name.as_str());
}
}
}

0 comments on commit 63b0fbe

Please sign in to comment.