You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! I didn't even realize you could add a label to a closure's block body. Should be easy enough to fix if we pass the entire block expression (body) to rewrite_closure_block instead of just the block. The block doesn't have information about the label.
Rustfmt would remove
'block:
insiderustfnmt_test0
, which will breakbreak 'block Ok(0)
line.For reference,
rustfnmt_test1
code won't be broken. this issue only happens with rust.The text was updated successfully, but these errors were encountered: