Propagate `accept-comment-above-attributes` to statements by blyxyas · Pull Request #15213 · rust-lang/rust-clippy

@blyxyas

Turns out that things like `#[attr]return unsafe { func(); }` didn't work
because we weren't checking above attributes on statements, only on blocks!

Merged via the queue into rust-lang:master with commit 7c39d37

Jul 6, 2025

13 checks passed

@ojeda ojeda mentioned this pull request

Jul 6, 2025

71 tasks