pub const ENUM_VALUES_UNION_MODE: [UnionMode; 2];
Use associated constants instead. This will no longer be generated in 2021.