Make #![feature] suggestion MaybeIncorrect

This commit is contained in:
Alex Macleod 2024-05-09 13:18:09 +01:00
parent cb93c24bf3
commit 3c52553912

View File

@ -2449,7 +2449,7 @@ impl<'tcx> TyCtxt<'tcx> {
span, span,
msg, msg,
format!("#![feature({feature})]\n"), format!("#![feature({feature})]\n"),
Applicability::MachineApplicable, Applicability::MaybeIncorrect,
); );
} else { } else {
diag.help(msg); diag.help(msg);