diff options
| author | lrh2000 <lrh2000@pku.edu.cn> | 2021-06-26 23:40:07 +0800 |
|---|---|---|
| committer | lrh2000 <lrh2000@pku.edu.cn> | 2021-06-26 23:40:07 +0800 |
| commit | e9fc942b4db1946993477ed3816d409a95d98d88 (patch) | |
| tree | 8c4cda54e2a71196e12d5ea482900d0da2efd0e7 /compiler/rustc_lint_defs/src | |
| parent | 2bcd66310062b54b07216008f9e10bc063f9ad5e (diff) | |
| download | rust-e9fc942b4db1946993477ed3816d409a95d98d88.tar.gz rust-e9fc942b4db1946993477ed3816d409a95d98d88.zip | |
Use FutureIncompatibilityReason to denote edition
Diffstat (limited to 'compiler/rustc_lint_defs/src')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index ba8a8c3d8c9..dbc9a11100f 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -3296,7 +3296,7 @@ declare_lint! { "identifiers that will be parsed as a prefix in Rust 2021", @future_incompatible = FutureIncompatibleInfo { reference: "issue #84978 <https://github.com/rust-lang/rust/issues/84978>", - edition: Some(Edition::Edition2021), + reason: FutureIncompatibilityReason::EditionError(Edition::Edition2021), }; crate_level_only } |
