rust-clippy/tests
bors ddbe110081 Auto merge of #11170 - tgross35:undocumented-unsafe-blocks-defaults, r=Centri3
Change defaults of `accept-comment-above-statement` and `accept-comment-above-attributes`

This patch sets the two configuration options for `undocumented_unsafe_blocks` to `true` by default: these are `accept-comment-above-statement` and `accept-comment-above-attributes`. Having these values `false` by default prevents what many users would consider clean code, e.g. placing the `// SAFETY:` comment above a single-line functino call, rather than directly next to the argument.

This was originally discussed in https://github.com/rust-lang/rust-clippy/issues/11162

changelog: [`undocumented_unsafe_blocks`]: set
`accept-comment-above-statement` and `accept-comment-above-attributes` to `true` by default.
2023-09-20 08:06:54 +00:00
..
test_utils
ui Auto merge of #11170 - tgross35:undocumented-unsafe-blocks-defaults, r=Centri3 2023-09-20 08:06:54 +00:00
ui-cargo Merge remote-tracking branch 'upstream/master' into rustup 2023-09-07 21:43:06 +02:00
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2023-09-07 21:43:06 +02:00
ui-toml Change default configuration of undocumented_unsafe_blocks 2023-09-20 03:41:33 -04:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Remove derive_new test dependency 2023-09-13 18:58:47 +00:00
dogfood.rs
headers.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs