Skip to content

Commit a35ef99

Browse files
committed
Revert to MachineApplicable
1 parent 8d31a53 commit a35ef99

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_analysis/src/astconv

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/astconv/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
245245
lint.multipart_suggestion_verbose(
246246
"if this is an object-safe trait, use `dyn`",
247247
sugg,
248-
Applicability::MaybeIncorrect,
248+
Applicability::MachineApplicable,
249249
);
250250
}
251251
self.maybe_lint_blanket_trait_impl(self_ty, lint);

0 commit comments

Comments
 (0)