You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that std::backtrace::Backtrace was standardized, but thiserror seems to still require a nightly build and special feature to have support for #[backtrace] - is that expected? Is there a way to have a (prehaps just basic) support for stacktrace captures from within the From implementation using only stable features?
The text was updated successfully, but these errors were encountered:
It is expected. Only the Backtrace type has been stabilized so far, not backtraces in the Error trait.
Storing backtraces in From without exposing them in the Error impl is not supported, but you can write your own From impls or use a different From derive macro to do this.
I noticed that
std::backtrace::Backtrace
was standardized, butthiserror
seems to still require a nightly build and special feature to have support for#[backtrace]
- is that expected? Is there a way to have a (prehaps just basic) support for stacktrace captures from within theFrom
implementation using only stable features?The text was updated successfully, but these errors were encountered: