pub const ENUM_MAX_METADATA_VERSION: i16 = 4;
Use associated constants instead. This will no longer be generated in 2021.