fix staging breakage
Merge pull request #1143 from AndrejMitrovic/Fix9523

Regression: Issue 9523 - Enum to Enum conversion should work in std.conv.to