<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I formatted this code: ```rust struct Foo { v: fn(#[cfg(false)] i32), } ``` [Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=d486e39d670b1db5f6ee693b6177c2ea). I expected to see this happen: rustfmt keeps the attribute, it shouldn't change the meaning of the program. Instead, this happened: rustfmt turns this into: ```rust struct Foo { v: fn(i32), } ``` @rustbot label +A-rustfmt