It appears std::io never gets referenced from std::error, so std::error should presumably appear as alloc::error, no? I'm missing something here?

It appears kinda blocked by backtrace for now Tracking Issue for `Error` in `core` · Issue #103765 · rust-lang/rust · GitHub not sure why backtrace needs more than alloc.

Generating a backtrace requires calling into the system unwinder as well as reading debuginfo from the filesystem. Both require OS integration and are thus not allowed in liballoc. We have changed the api to get a backtrace such that the Error trait doesn't directly depend on the Backtrace type. This allowed moving it to libcore. It just hasn't been stabilized yet in this location.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.