We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f3a16e commit 56a7719Copy full SHA for 56a7719
compiler/rustc_lint_defs/src/builtin.rs
@@ -3211,7 +3211,7 @@ declare_lint! {
3211
"detects usage of old versions of or-patterns",
3212
@future_incompatible = FutureIncompatibleInfo {
3213
reference: "issue #84869 <https://github.com/rust-lang/rust/issues/84869>",
3214
- edition: Some(Edition::Edition2021),
+ reason: FutureIncompatibilityReason::EditionError(Edition::Edition2021),
3215
};
3216
}
3217
@@ -3260,6 +3260,6 @@ declare_lint! {
3260
prelude in future editions",
3261
3262
reference: "issue #85684 <https://github.com/rust-lang/rust/issues/85684>",
3263
3264
3265
0 commit comments