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 ecade53 commit e61fd87Copy full SHA for e61fd87
compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs
@@ -411,7 +411,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
411
Applicability::MachineApplicable,
412
);
413
if !is_dyn_compatible {
414
- diag.note(format!("`{trait_name}` it is dyn-incompatible, so it can't be `dyn`"));
+ diag.note(format!("`{trait_name}` is dyn-incompatible, so it can't be `dyn`"));
415
} else {
416
// No ampersand in suggestion if it's borrowed already
417
let (dyn_str, paren_dyn_str) =
0 commit comments