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.
MachineApplicable
1 parent 8d31a53 commit a35ef99Copy full SHA for a35ef99
compiler/rustc_hir_analysis/src/astconv/lint.rs
@@ -245,7 +245,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
245
lint.multipart_suggestion_verbose(
246
"if this is an object-safe trait, use `dyn`",
247
sugg,
248
- Applicability::MaybeIncorrect,
+ Applicability::MachineApplicable,
249
);
250
}
251
self.maybe_lint_blanket_trait_impl(self_ty, lint);
0 commit comments