about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-07-06 07:28:40 +0000
committerGitHub <noreply@github.com>2025-07-06 07:28:40 +0000
commit7c39d378e55331f2f181974a3740e9ade45790c4 (patch)
tree8c559903a06ea351e055f716e8c10b21097ab5b5 /tests/rustdoc-js-std/parser-slice-array.js
parentb28049d92bec96526cd7a19a7be783701ccbda2d (diff)
parente0e881f8735cbd817a5e286eef232711020b21f4 (diff)
downloadrust-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