Skip to content

Commit e9fc942

Browse files
committed
Use FutureIncompatibilityReason to denote edition
1 parent 2bcd663 commit e9fc942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3296,7 +3296,7 @@ declare_lint! {
32963296
"identifiers that will be parsed as a prefix in Rust 2021",
32973297
@future_incompatible = FutureIncompatibleInfo {
32983298
reference: "issue #84978 <https://github.com/rust-lang/rust/issues/84978>",
3299-
edition: Some(Edition::Edition2021),
3299+
reason: FutureIncompatibilityReason::EditionError(Edition::Edition2021),
33003300
};
33013301
crate_level_only
33023302
}

0 commit comments

Comments
 (0)