diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-07-06 07:28:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-06 07:28:40 +0000 |
| commit | 7c39d378e55331f2f181974a3740e9ade45790c4 (patch) | |
| tree | 8c559903a06ea351e055f716e8c10b21097ab5b5 /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | b28049d92bec96526cd7a19a7be783701ccbda2d (diff) | |
| parent | e0e881f8735cbd817a5e286eef232711020b21f4 (diff) | |
| download | rust-7c39d378e55331f2f181974a3740e9ade45790c4.tar.gz rust-7c39d378e55331f2f181974a3740e9ade45790c4.zip | |
Propagate `accept-comment-above-attributes` to statements (#15213)
Turns out that things like `#[attr]return unsafe { func(); }` didn't
work because we weren't checking above attributes on statements, only on
blocks!
fixes https://github.com/rust-lang/rust-clippy/issues/13189
Useful for Rust-For-Linux
changelog:[`undocumented_unsafe_blocks`]: Make sure to propagate
`accept-comment-above-attributes` to **all** statements.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
