`git grep "enum .* = .*;"` to find them. Convert these to newtype structs and then remove them from the compiler completely.