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,
|
span,
|
||||||
msg,
|
msg,
|
||||||
format!("#![feature({feature})]\n"),
|
format!("#![feature({feature})]\n"),
|
||||||
Applicability::MachineApplicable,
|
Applicability::MaybeIncorrect,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
diag.help(msg);
|
diag.help(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user