-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get #[from]
+ backtrace
example to compile
#257
Comments
You need to use the nightly compiler and enable the |
Also, in case the previous solution doesn't work, make sure you're on a recent nightly version. I was on |
Perhaps this feature should be under a feature flag or |
I just had this exact same problem and was very confused as the nightly + feature gate requirement isn't mentioned in the documentation. |
I gave up on this, I ended up doing something like this to work around the limitation: in other words, code the I needed to control the backtrace because I produce clean, pretty backtraces in Loco which look like this: Which also include backtrace filtering. |
I have a use case where this example from the README is exactly what I need:
However, when I compile it (Rust Playground link) I get the following error:
no `ThiserrorProvide` in `__private`
The text was updated successfully, but these errors were encountered: