pub const ENUM_MIN_TYPE: u8 = 0;
Use associated constants instead. This will no longer be generated in 2021.