If `@nogc` could be relaxed for `new Error` exactly for that reason, pieces of Phobos could be turned `@nogc`...But I admit that that change would be controversial...
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1008.md
If `@nogc` could be relaxed for `new Error` exactly for that reason, pieces of Phobos could be turned `@nogc`...But I admit that that change would be controversial...
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1008.md