Deprecating an enum deprecates all of its values