https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390
--- Comment #3 from nightstrike <nightstrike at gmail dot com> --- I know it isn't a bug, it's bad code that the compiler is correctly erroring out on. My point is that the original error message was spot on perfect in highlighting the issue being that the destructor was private. The new error message leaves that important detail out.