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.
2 parents acd4696 + 04ac6f8 commit 0ae3813Copy full SHA for 0ae3813
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