-
Notifications
You must be signed in to change notification settings - Fork 161
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
cargo fmt broken within proptest macro? #370
Comments
Oh maybe this is implicit by way of rust-lang/rustfmt#8? Not sure if that's about formatting the macro code or the call site. |
Thanks for raising this, this does appear to be an issue with rustfmt which we unfortunately do not have control over. |
#316 will help with that |
As mentioned, this is the expected rustfmt behavior with declarative macros and not specific to proptest. I'm going to close this as there is no action for us to take |
For the time being you could consider copying your proptest block into a new Rust file and formatting with https://github.com/andrewbaxter/genemichaels which handles macros. Granted it took 9 months to support stable |
Hi,
I noticed a strange issue where nothing within
proptest! {}
is formatted bycargo fmt
.The text was updated successfully, but these errors were encountered: