Fixes Issue 10099 - Better diagnostic for a disabled default constructor.
Merge pull request #2572 from AndrejMitrovic/Fix10099

Issue 10099 - Better diagnostic for a disabled default constructor.