Skip to content
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

deps: bump rustc-ap crates to v684 #4478

Merged
merged 3 commits into from
Oct 20, 2020

Conversation

calebcartwright
Copy link
Member

Finishes unblocking #4452

Comment on lines +127 to +129
ast::ExprKind::ConstBlock(ref anon_const) => {
Some(format!("const {}", anon_const.rewrite(context, shape)?))
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is new syntax so needed to add something here to handle the variant. This will work sufficiently well, but will open a new issue to track handling comments between the keyword and block open, add test cases, honor brace_style, etc.

@karyon
Copy link
Contributor

karyon commented Oct 25, 2021

backported in #4491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants