mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
fix: remove comment from cherry-pick that v1.x doesn't handle
This commit is contained in:
parent
46ab14437e
commit
1139e6e5cc
@ -302,8 +302,6 @@ fn block_can_be_flattened<'a>(
|
||||
if !is_unsafe_block(block)
|
||||
&& !context.inside_macro()
|
||||
&& is_simple_block(context, block, Some(&expr.attrs))
|
||||
// Don't flatten a block containing a macro invocation,
|
||||
// since it may expand to a statement
|
||||
&& !stmt_is_expr_mac(&block.stmts[0]) =>
|
||||
{
|
||||
Some(&*block)
|
||||
|
Loading…
Reference in New Issue
Block a user