Closed as not planned
Description
This code:
#[feature(stmt_expr_attributes)]
fn a() {
let aaaaa = 1;
let bbbb = 2;
#[cfg(debug_assertions)]
aaaaa * bbbb;
}
Is formatted into this:
#[feature(stmt_expr_attributes)]
fn a() {
let aaaaa = 1;
let bbbb = 2;
#[cfg(debug_assertions)]
aaaaa
* bbbb;
}
Any line shorter than that (17 characters) is formatted correctly. Not entirely sure what's happening here.
Maybe related: #5871, but not sure.