Skip to content

Commit

Permalink
Make #![feature] suggestion MaybeIncorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed May 9, 2024
1 parent cb93c24 commit 3c52553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@ impl<'tcx> TyCtxt<'tcx> {
span,
msg,
format!("#![feature({feature})]\n"),
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
} else {
diag.help(msg);
Expand Down

0 comments on commit 3c52553

Please sign in to comment.