https://issues.dlang.org/show_bug.cgi?id=13113
--- Comment #1 from Rainer Schuetze <r.sagita...@gmx.de> --- I'm not 100% sure this is a regression, because the code inside the invariant changed, too. Is there a reason why the destructor has to be @safe, pure and @nogc? --