https://issues.dlang.org/show_bug.cgi?id=14119
--- Comment #2 from Martin Nowak <c...@dawg.eu> --- We should require http://dlang.org/library/core/runtime/runtime.trace_handler.html to be @nogc. For a deprecation phase we could still accept allocating trace handlers, but not call them in @nogc errors like onOutOfMemoryError. --