Skip to content

Commit 63b0fbe

Browse files
authored
Merge pull request #18379 from usamoi/master
fix dyn incompatible hint message
2 parents af7c97f + b32127e commit 63b0fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide/src/hover/render.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ fn render_dyn_compatibility(
10421042
}
10431043
DynCompatibilityViolation::HasNonCompatibleSuperTrait(super_trait) => {
10441044
let name = hir::Trait::from(super_trait).name(db);
1045-
format_to!(buf, "has a object unsafe supertrait `{}`", name.as_str());
1045+
format_to!(buf, "has a dyn incompatible supertrait `{}`", name.as_str());
10461046
}
10471047
}
10481048
}

0 commit comments

Comments
 (0)