Make #![feature]
suggestion MaybeIncorrect
This commit is contained in:
parent
cb93c24bf3
commit
3c52553912
@ -2449,7 +2449,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
||||
span,
|
||||
msg,
|
||||
format!("#![feature({feature})]\n"),
|
||||
Applicability::MachineApplicable,
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
} else {
|
||||
diag.help(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user