Fixes Issue 10099 - Better diagnostic for a disabled default constructor.