mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
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…
Reference in New Issue
Block a user