It is probably related to Fatal error C1001: Internal compiler error only in Release build by Visual Studio 2019 - #5 by MarceloAriasqca, i.e., an error in MSVC.
It is probably related to Fatal error C1001: Internal compiler error only in Release build by Visual Studio 2019 - #5 by MarceloAriasqca, i.e., an error in MSVC.