Make #![feature]
suggestion MaybeIncorrect
This commit is contained in:
parent
cb93c24bf3
commit
3c52553912
1 changed files with 1 additions and 1 deletions
|
@ -2449,7 +2449,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
span,
|
||||
msg,
|
||||
format!("#![feature({feature})]\n"),
|
||||
Applicability::MachineApplicable,
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
} else {
|
||||
diag.help(msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue