rust-clippy/tests/ui-toml
Trevor Gross 1b3e5dd0fc Change default configuration of undocumented_unsafe_blocks
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.

changelog: [`undocumented_unsafe_blocks`]: set
`accept-comment-above-statement` and `accept-comment-above-attributes`
to `true` by default.
2023-09-20 03:41:33 -04:00
..
absolute_paths Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
allow_mixed_uninlined_format_args Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
arithmetic_side_effects_allowed Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
array_size_threshold Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
await_holding_invalid_type Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
bad_toml Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
bad_toml_type Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
conf_deprecated_key Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
dbg_macro Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
disallowed_macros Merge remote-tracking branch 'upstream/master' into rustup 2023-09-07 21:43:06 +02:00
disallowed_names_append Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
disallowed_names_replace Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
doc_valid_idents_append Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
doc_valid_idents_replace Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
duplicated_keys Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
duplicated_keys_deprecated Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
duplicated_keys_deprecated_2 Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
excessive_nesting Merge remote-tracking branch 'upstream/master' into rustup 2023-09-07 21:43:06 +02:00
expect_used Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
extra_unused_type_parameters Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup 2023-04-11 15:31:08 +02:00
fn_params_excessive_bools Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
functions_maxlines Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
good_toml_no_false_negatives Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
ifs_same_cond Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
invalid_min_rust_version Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
large_futures Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
large_include_file Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
lint_decimal_readability Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
max_suggested_slice_pattern_length Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
min_ident_chars Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
min_rust_version Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
missing_enforced_import_rename Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
module_inception Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
mut_key Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup 2023-04-23 13:28:56 +02:00
nonstandard_macro_braces Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
print_macro Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
pub_crate_missing_docs Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
semicolon_block Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
strict_non_send_fields_in_send_ty Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
struct_excessive_bools Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
suppress_lint_in_const Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
toml_disallow Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
toml_disallowed_methods Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
toml_disallowed_types Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
toml_trivially_copy Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
toml_unknown_key new lint: path_ends_with_ext 2023-09-15 16:17:51 +02:00
undocumented_unsafe_blocks Change default configuration of undocumented_unsafe_blocks 2023-09-20 03:41:33 -04:00
unwrap_used Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
upper_case_acronyms_aggressive Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
vec_box_sized Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
zero_single_char_names Add test for zero single char names 2020-04-15 13:35:44 +02:00
update-all-references.sh Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00