Skip to content

Commit ac3db41

Browse files
committed
fix dyn incompatible hint message
1 parent bde2000 commit ac3db41

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/ide/src/hover

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/ide/src/hover/render.rs

Lines changed: 1 addition & 1 deletion
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)