Skip to content

Commit 3c52553

Browse files
committed
Make #![feature] suggestion MaybeIncorrect
1 parent cb93c24 commit 3c52553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_middle/src/ty/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,7 @@ impl<'tcx> TyCtxt<'tcx> {
24492449
span,
24502450
msg,
24512451
format!("#![feature({feature})]\n"),
2452-
Applicability::MachineApplicable,
2452+
Applicability::MaybeIncorrect,
24532453
);
24542454
} else {
24552455
diag.help(msg);

0 commit comments

Comments
 (0)