-
Notifications
You must be signed in to change notification settings - Fork 910
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
Crash during rustfmt #6378
Comments
@douweschulte Thanks for reaching out and reporting the crash. It would be really helpful to provide a minimal code snippet that reproduces the crash, otherwise it's going to be a lot harder to get to the bottom of this issue. It would also be helpful to know what version of rustfmt you were using and if you were using any configuration options. |
Based off of the info in the backtrace I suspect this is related to #5738, possibly a duplicate. |
- related issues: rust-lang#5738, rust-lang#6137, rust-lang#6318, rust-lang#6378 - instead of calling unwrap(), restore original snippet when we fail to format generics in enum - we need to propagate this rewrite failure later
No MCVE was provided. Going to close this. |
I ran cargo fmt on a crate and this was the response.
I was working on the following codebase [github.com/douweschulte/mzdata] and made a snapshot commit of the state when the crash happened. If I can help by providing more information let me know.
The text was updated successfully, but these errors were encountered: