-
-
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
Unresolved import 'thiserror' when adding a Backtrace to an enum struct #236
Comments
#204 looks similar |
Ok I didn't realize that Backtrace wasn't fully stable. Both the thiserror and std docs very much seem to imply otherwise. There should definitely be a warning in the thiserror docs about this and maybe thiserror could handle this more gracefully. (that last part is why I'll keep this open for now.) |
They really do. |
Is there a work-around for this other than downgrading nightly versions or removing the |
I was kind of just thinking of including some sort of temporary check to make sure that the user is using nightly just to make a friendlier message if it blows up, just anything but the error that I got. In any case, since I don't really see a good way to do that and hopefully this should all go away anyways when Backtrace gets stabilized, I might just close this. |
Is this really about backtrace being stable? I thought this started happening because |
Huh, I don't really see what that would have to do with this. |
Error happens when I add a backtrace to an enum variant as is shown in the docs. Interestingly, I get a different error when I add
#[from]
while I have the backtrace in there. Might be a different issue but I can include it if asked for. I guess I'm just thinking go with the more basic issue first.Edit: Sorry I made this at like 1:00am I forgot to add some important details: MacOS, tried on both latest stable and nightly, building both for x86_64 macos and wasm32-unknown-unknown.
code:
error:
The text was updated successfully, but these errors were encountered: