rust-clippy/tests/ui-toml
bors ebd8d31542 Auto merge of #11055 - smoelius:try-this, r=dswij
"try this" -> "try"

Current help messages contain a mix of "try", "try this", and one "try this instead". In the spirit of #10631, this PR adopts the first, as it is the most concise.

It also updates the `lint_message_conventions` test to catch cases of "try this".

(Aside: #10120 unfairly contained multiple changes in one PR. I am trying to break that PR up into smaller pieces.)

changelog: Make help messages more concise ("try this" -> "try").
2023-07-09 15:07:25 +00:00
..
allow_mixed_uninlined_format_args "try this" -> "try" 2023-07-01 07:08:01 -04:00
arithmetic_side_effects_allowed Fix all the other tests 2023-06-12 16:21:06 +01:00
array_size_threshold Fix array-size-threshold config deserialization error 2023-02-28 14:37:41 +00:00
await_holding_invalid_type Return multiple resolutions from def_path_res 2022-11-04 21:58:07 +00:00
bad_toml Update tests 2023-06-26 14:13:07 +00:00
bad_toml_type Update tests 2023-06-26 14:13:07 +00:00
conf_deprecated_key Update tests 2023-06-26 14:13:07 +00:00
dbg_macro Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
disallowed_macros Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
disallowed_names_append Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup 2022-08-11 19:42:16 +02:00
disallowed_names_replace Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup 2022-08-11 19:42:16 +02:00
doc_valid_idents_append Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
doc_valid_idents_replace Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
duplicated_keys Update tests 2023-06-26 14:13:07 +00:00
duplicated_keys_deprecated Update tests 2023-06-26 14:13:07 +00:00
duplicated_keys_deprecated_2 Update tests 2023-06-26 14:13:07 +00:00
excessive_nesting Update tests 2023-06-26 14:13:07 +00:00
expect_used Fix all the other tests 2023-06-12 16:21:06 +01:00
extra_unused_type_parameters Add suggestions to extra_unused_type_parameters 2023-03-23 23:56:31 -04:00
fn_params_excessive_bools bless clippy 2022-10-01 10:03:06 +00:00
functions_maxlines Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup 2022-05-05 15:12:52 +01:00
good_toml_no_false_negatives Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
ifs_same_cond needless_else: new lint to check for empty else clauses 2023-05-22 11:52:26 +02:00
invalid_min_rust_version Update tests 2023-06-26 14:13:07 +00:00
large_futures Update clippy_lints/src/large_futures.rs 2023-03-29 08:47:32 +00:00
large_include_file bless clippy 2022-10-01 10:03:06 +00:00
lint_decimal_readability Update tests 2023-06-26 14:13:07 +00:00
max_suggested_slice_pattern_length Update tests 2023-06-26 14:13:07 +00:00
min_ident_chars make it work for locals as well 2023-06-12 03:22:01 -05:00
min_rust_version Update tests 2023-06-26 14:13:07 +00:00
missing_enforced_import_rename Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup 2021-07-01 18:17:38 +02:00
module_inception allow disabling module inception on private modules 2023-06-10 08:09:07 -05:00
mut_key Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
nonstandard_macro_braces Update tests 2023-06-26 14:13:07 +00:00
print_macro Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
pub_crate_missing_docs Address review comments 2023-02-17 09:09:44 -05:00
semicolon_block use //@ for commands in tests 2023-04-25 11:23:02 -05:00
strict_non_send_fields_in_send_ty bless clippy 2022-10-01 10:03:06 +00:00
struct_excessive_bools bless clippy 2022-10-01 10:03:06 +00:00
suppress_lint_in_const Update tests 2023-06-26 14:13:07 +00:00
toml_disallow Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup 2022-08-11 19:42:16 +02:00
toml_disallowed_methods change category and refactor 2023-06-27 05:16:40 -05:00
toml_disallowed_types Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
toml_trivially_copy Update UI tests with new needless_pass_by_ref_mut lint 2023-07-03 22:25:36 +02:00
toml_unknown_key change category and refactor 2023-06-27 05:16:40 -05:00
undocumented_unsafe_blocks Update tests 2023-06-26 14:13:07 +00:00
unwrap_used "try this" -> "try" 2023-07-01 07:08:01 -04:00
upper_case_acronyms_aggressive Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup 2021-04-08 17:50:13 +02:00
vec_box_sized fix vec-box-size-threshold off-by-one error 2022-11-14 16:06:21 +01:00
zero_single_char_names Add test for zero single char names 2020-04-15 13:35:44 +02:00
update-all-references.sh Update tests 2023-06-26 14:13:07 +00:00