replaces few consts with statics to reduce readonly section
This commit is contained in:
@@ -104,7 +104,7 @@ macro_rules! declare_features {
|
||||
)+) => {
|
||||
/// Unstable language features that are being implemented or being
|
||||
/// considered for acceptance (stabilization) or removal.
|
||||
pub const UNSTABLE_LANG_FEATURES: &[Feature] = &[
|
||||
pub static UNSTABLE_LANG_FEATURES: &[Feature] = &[
|
||||
$(Feature {
|
||||
name: sym::$feature,
|
||||
since: $ver,
|
||||
|
||||
Reference in New Issue
Block a user