diff options
| author | klensy <klensy@users.noreply.github.com> | 2025-01-28 17:38:22 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2025-01-28 17:38:22 +0300 |
| commit | dc62b8fd11fe02f58cb24d63e02c5d5d4069c64f (patch) | |
| tree | 6088d54472005f5ba65a66091437081b942faa34 /compiler/rustc_feature/src/removed.rs | |
| parent | 633a3fe36dd9a5196054dc3a61adbd3c61854dcf (diff) | |
| download | rust-dc62b8fd11fe02f58cb24d63e02c5d5d4069c64f.tar.gz rust-dc62b8fd11fe02f58cb24d63e02c5d5d4069c64f.zip | |
replaces few consts with statics to reduce readonly section
Diffstat (limited to 'compiler/rustc_feature/src/removed.rs')
| -rw-r--r-- | compiler/rustc_feature/src/removed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs index 081638715df..2fb0c8e4344 100644 --- a/compiler/rustc_feature/src/removed.rs +++ b/compiler/rustc_feature/src/removed.rs @@ -14,7 +14,7 @@ macro_rules! declare_features { $(#[doc = $doc:tt])* (removed, $feature:ident, $ver:expr, $issue:expr, $reason:expr), )+) => { /// Formerly unstable features that have now been removed. - pub const REMOVED_LANG_FEATURES: &[RemovedFeature] = &[ + pub static REMOVED_LANG_FEATURES: &[RemovedFeature] = &[ $(RemovedFeature { feature: Feature { name: sym::$feature, |
