This code: ```rust #[feature(stmt_expr_attributes)] fn a() { let aaaaa = 1; let bbbb = 2; #[cfg(debug_assertions)] aaaaa * bbbb; } ``` Is formatted into this: ```rust #[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.