We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd4696 commit 04ac6f8Copy full SHA for 04ac6f8
crates/ide-diagnostics/src/handlers/invalid_cast.rs
@@ -59,7 +59,7 @@ pub(crate) fn invalid_cast(ctx: &DiagnosticsContext<'_>, d: &hir::InvalidCast) -
59
DiagnosticCode::RustcHardError("E0606"),
60
format_ty!(
61
ctx,
62
- "casting `{}` as `{}` is invalid: needs defererence or removal of unneeded borrow",
+ "casting `{}` as `{}` is invalid: needs dereference or removal of unneeded borrow",
63
d.expr_ty,
64
d.cast_ty
65
),
0 commit comments