-
Notifications
You must be signed in to change notification settings - Fork 880
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
Implement field_init_shorthand feature #1215
Comments
The message is created in one of the following places:
Should this issue be in this repository? |
Weird. Looks like it doesn't error anymore on master. This works. Instead it just inserts the field names. I don't see the commit changing it though. |
Is there any progress on this? |
It appears that this works in the latest rustfmt, but it defaults to expanding out the shorthand. I think that the default should be to always use the shorthand when possible. |
Fixed by fad74c8 |
cargo fmt
error:The text was updated successfully, but these errors were encountered: