mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
fix dyn incompatible hint message
This commit is contained in:
parent
af7c97f97a
commit
b32127e0b0
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue