Merge pull request #2802 from TheBlueMatt/2023-12-no-pub-enum