Skip to content

deps: bump rustc-ap crates to v684#4478

Merged
calebcartwright merged 3 commits intorust-lang:masterfrom
calebcartwright:rustc-ap-bump
Oct 20, 2020
Merged

deps: bump rustc-ap crates to v684#4478
calebcartwright merged 3 commits intorust-lang:masterfrom
calebcartwright:rustc-ap-bump

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.

2 participants