logoalt Hacker News

dwatttttyesterday at 10:08 PM1 replyview on HN

A &(dyn Error + 'static) should be fine for that; you don't need any allocated/variable sized data in a memory allocation failure.


Replies

dnauticsyesterday at 11:37 PM

stacktraces? might also be useful to know whether or not the latest allocand was a jumbo sized allocand that caused the failure?

show 1 reply