rust/clippy_lints/src
bors 5ead90f13a Auto merge of #12150 - ithinuel:add_misleading_use_of_ok, r=y21
Add lint for `unused_result_ok`

This PR adds a lint to capture the use of `expr.ok();` when the result is not _really_ used.

This could be interpreted as the result being checked (like it is with `unwrap()` or `expect`) but
it actually only ignores the result.

`let _ = expr;` expresses that intent better.

This was also mentionned in #8994 (although not being the main topic of that issue).

changelog: [`misleading_use_of_ok`]: Add new lint to capture `.ok();` when the result is not _really_ used.
2024-08-06 19:01:41 +00:00
..
attrs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
cargo Refactor for using config values: 2024-07-17 14:05:49 -04:00
casts Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
doc Fix false positive for missing_backticks in footnote references 2024-07-31 17:27:53 +02:00
functions Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
loops Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
matches Auto merge of #13145 - xFrednet:07797-restriction-and-then-why, r=Jarcho 2024-08-06 04:47:27 +00:00
methods Auto merge of #13145 - xFrednet:07797-restriction-and-then-why, r=Jarcho 2024-08-06 04:47:27 +00:00
misc_early Make restriction lint's use span_lint_and_then (t -> w) 2024-07-27 13:45:02 +02:00
operators Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
transmute Don't suggest .cast_mut/.cast_const for types with erased lifetimes 2024-07-23 11:12:26 +00:00
types Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
unit_types
utils Make cargo dev deprecate require a reason 2024-08-05 09:17:46 -04:00
absolute_paths.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
almost_complete_range.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
approx_const.rs Avoid ref when using format! 2024-07-19 16:10:24 -04:00
arc_with_non_send_sync.rs
as_conversions.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
asm_syntax.rs Make restriction lint's use span_lint_and_then (i -> l) 2024-07-22 19:47:29 +02:00
assertions_on_constants.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
assertions_on_result_states.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
assigning_clones.rs Only apply dereference-removing special case for actual references 2024-07-25 22:20:59 +02:00
async_yields_async.rs
await_holding_invalid.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
blocks_in_conditions.rs
bool_assert_comparison.rs
bool_to_int_with_if.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
booleans.rs Limit number of nonminimal_bool ops 2024-08-03 12:07:42 +00:00
borrow_deref_ref.rs
box_default.rs
byte_char_slices.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
cfg_not_test.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
checked_conversions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
cognitive_complexity.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
collapsible_if.rs
collection_is_never_read.rs
comparison_chain.rs
copies.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
copy_iterator.rs
crate_in_macro_def.rs
create_dir.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
dbg_macro.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
declared_lints.rs Auto merge of #12150 - ithinuel:add_misleading_use_of_ok, r=y21 2024-08-06 19:01:41 +00:00
default_constructed_unit_structs.rs
default_instead_of_iter_empty.rs
default_numeric_fallback.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
default_union_representation.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
default.rs Avoid ref when using format! 2024-07-19 16:10:24 -04:00
deprecated_lints.rs Store deprecated lints as an array of tuples. 2024-08-05 09:15:55 -04:00
dereference.rs Remove duplicated peel_middle_ty_refs 2024-07-17 12:51:08 +07:00
derivable_impls.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
derive.rs
disallowed_macros.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_methods.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_script_idents.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
disallowed_types.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
double_parens.rs
drop_forget_ref.rs Make restriction lint's use span_lint_and_then (m -> m) 2024-07-22 19:47:34 +02:00
duplicate_mod.rs
else_if_without_else.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
empty_drop.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
empty_enum.rs
empty_with_brackets.rs
endian_bytes.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
entry.rs
enum_clike.rs
equatable_if_let.rs
error_impl_error.rs
escape.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
eta_reduction.rs Check for 'static lifetime in return type 2024-07-26 00:27:40 +07:00
excessive_bools.rs Auto merge of #13065 - Jarcho:misc_small2, r=xFrednet 2024-07-22 19:40:50 +00:00
excessive_nesting.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
exhaustive_items.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
exit.rs
explicit_write.rs
extra_unused_type_parameters.rs Auto merge of #13065 - Jarcho:misc_small2, r=xFrednet 2024-07-22 19:40:50 +00:00
fallible_impl_from.rs
field_scoped_visibility_modifiers.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
float_literal.rs Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21 2024-07-26 07:44:21 +00:00
floating_point_arithmetic.rs
format_args.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
format_impl.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
format_push_string.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
format.rs
formatting.rs
four_forward_slashes.rs
from_over_into.rs Auto merge of #13050 - Jarcho:misc_small, r=xFrednet 2024-07-22 20:25:05 +00:00
from_raw_with_void_ptr.rs
from_str_radix_10.rs chore: fix some comments 2024-07-26 17:51:22 +08:00
future_not_send.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
if_let_mutex.rs inline a bunch of if lets into a single let chain 2024-07-28 18:28:24 +02:00
if_not_else.rs Refactor if_not_else: 2024-07-07 16:23:18 -04:00
if_then_some_else_none.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
ignored_unit_patterns.rs ignored_unit_patterns: Reorder checks. 2024-07-07 16:24:45 -04:00
impl_hash_with_borrow_str_and_bytes.rs
implicit_hasher.rs implicit_hasher: use a single multipart suggestion 2024-07-29 17:56:27 +00:00
implicit_return.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
implicit_saturating_add.rs
implicit_saturating_sub.rs
implied_bounds_in_impls.rs
incompatible_msrv.rs Remove some miscellaneous #[allow]s 2024-07-29 19:57:39 +00:00
inconsistent_struct_constructor.rs inconsistent_struct_constructor: Check HIR tree first. 2024-07-07 16:26:04 -04:00
index_refutable_slice.rs Auto merge of #13065 - Jarcho:misc_small2, r=xFrednet 2024-07-22 19:40:50 +00:00
indexing_slicing.rs Remove some miscellaneous #[allow]s 2024-07-29 19:57:39 +00:00
ineffective_open_options.rs
infinite_iter.rs Remove some miscellaneous #[allow]s 2024-07-29 19:57:39 +00:00
inherent_impl.rs Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21 2024-07-26 07:44:21 +00:00
inherent_to_string.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
init_numbered_fields.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
inline_fn_without_body.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
instant_subtraction.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
int_plus_one.rs
integer_division_remainder_used.rs
invalid_upcast_comparisons.rs
item_name_repetitions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
items_after_statements.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
items_after_test_module.rs
iter_not_returning_iterator.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
iter_over_hash_type.rs
iter_without_into_iter.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
large_const_arrays.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_enum_variant.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_futures.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
large_include_file.rs Make restriction lint's use span_lint_and_then (i -> l) 2024-07-22 19:47:29 +02:00
large_stack_arrays.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
large_stack_frames.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
legacy_numeric_constants.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
len_zero.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
let_if_seq.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
let_underscore.rs Make restriction lint's use span_lint_and_then (i -> l) 2024-07-22 19:47:29 +02:00
let_with_type_underscore.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
lib.rs Auto merge of #12150 - ithinuel:add_misleading_use_of_ok, r=y21 2024-08-06 19:01:41 +00:00
lifetimes.rs Replace local variables signifying "done" or "loop break", use ControlFlow #12830 2024-07-24 01:40:58 +02:00
lines_filter_map_ok.rs
literal_representation.rs Migrating restriction lints to span_lint_and_then (e -> i) 2024-08-03 10:18:15 +02:00
macro_metavars_in_unsafe.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
macro_use.rs
main_recursion.rs
manual_assert.rs
manual_async_fn.rs
manual_bits.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_clamp.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_float_methods.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
manual_hash_one.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_is_ascii_check.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_let_else.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
manual_main_separator_str.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_non_exhaustive.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_range_patterns.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
manual_rem_euclid.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_retain.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
manual_rotate.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
manual_slice_size_calculation.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
manual_string_new.rs
manual_strip.rs Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
manual_unwrap_or_default.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
map_unit_fn.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
match_result_ok.rs
mem_replace.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
min_ident_chars.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
minmax.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
misc.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
mismatching_type_param_order.rs mismatching_type_param_order: Delay macro check. 2024-07-07 22:06:15 -04:00
missing_assert_message.rs Make restriction lint's use span_lint_and_then (m -> m) 2024-07-22 19:47:34 +02:00
missing_asserts_for_indexing.rs
missing_const_for_fn.rs chore: fix some comments 2024-07-26 17:51:22 +08:00
missing_const_for_thread_local.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_doc.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_enforced_import_rename.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
missing_fields_in_debug.rs
missing_inline.rs
missing_trait_methods.rs missing_trait_methods: lint methods in definition order 2024-07-26 11:25:06 +00:00
mixed_read_write_in_expression.rs Make restriction lint's use span_lint_and_then (m -> m) 2024-07-22 19:47:34 +02:00
module_style.rs Make restriction lint's use span_lint_and_then (m -> m) 2024-07-22 19:47:34 +02:00
multi_assignments.rs
multiple_bound_locations.rs
multiple_unsafe_ops_per_block.rs
mut_key.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
mut_mut.rs mut_mut: Delay macro check 2024-07-07 22:13:05 -04:00
mut_reference.rs
mutable_debug_assertion.rs
mutex_atomic.rs
needless_arbitrary_self_type.rs
needless_bool.rs
needless_borrowed_ref.rs needless_borrowed_ref: Check HIR tree first. 2024-07-07 22:13:05 -04:00
needless_borrows_for_generic_args.rs Auto merge of #12892 - meithecatte:needless-borrows-mutrefs, r=xFrednet 2024-07-25 18:48:27 +00:00
needless_continue.rs
needless_else.rs
needless_for_each.rs needless_for_each: Check HIR tree first. 2024-07-07 22:14:24 -04:00
needless_if.rs
needless_late_init.rs
needless_maybe_sized.rs
needless_parens_on_range_literals.rs
needless_pass_by_ref_mut.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
needless_pass_by_value.rs Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
needless_question_mark.rs
needless_update.rs
neg_cmp_op_on_partial_ord.rs neg_cmp_op_on_partial_ord: Delay macro check 2024-07-07 22:14:43 -04:00
neg_multiply.rs
new_without_default.rs
no_effect.rs Auto merge of #13130 - nyurik:ref-lints, r=Centri3 2024-07-26 17:21:30 +00:00
no_mangle_with_rust_abi.rs
non_canonical_impls.rs
non_copy_const.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
non_expressive_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
non_octal_unix_permissions.rs
non_send_fields_in_send_ty.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
nonstandard_macro_braces.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
octal_escapes.rs
only_used_in_recursion.rs Remove some miscellaneous #[allow]s 2024-07-29 19:57:39 +00:00
option_env_unwrap.rs Simplify option_env_unwrap. 2024-07-07 22:17:31 -04:00
option_if_let_else.rs
panic_in_result_fn.rs
panic_unimplemented.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
panicking_overflow_checks.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
partial_pub_fields.rs Make restriction lint's use span_lint_and_then (n -> p) 2024-07-26 09:41:38 +02:00
partialeq_ne_impl.rs
partialeq_to_none.rs
pass_by_ref_or_value.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
pathbuf_init_then_push.rs chore: fix some comments 2024-07-26 17:51:22 +08:00
pattern_type_mismatch.rs Make restriction lint's use span_lint_and_then (n -> p) 2024-07-26 09:41:38 +02:00
permissions_set_readonly_false.rs permissions_set_readonly_false: Check HIR tree first. 2024-07-07 22:17:43 -04:00
precedence.rs
ptr_offset_with_cast.rs
ptr.rs
pub_underscore_fields.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
pub_use.rs Make restriction lint's use span_lint_and_then (n -> p) 2024-07-26 09:41:38 +02:00
question_mark_used.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
question_mark.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
ranges.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
raw_strings.rs Auto merge of #13072 - Jarcho:misc_small5, r=xFrednet 2024-07-22 19:58:25 +00:00
rc_clone_in_vec_init.rs
read_zero_byte_vec.rs
redundant_async_block.rs
redundant_clone.rs
redundant_closure_call.rs Replace local variables signifying "done" or "loop break", use ControlFlow #12830 2024-07-24 01:40:58 +02:00
redundant_else.rs
redundant_field_names.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
redundant_locals.rs
redundant_pub_crate.rs
redundant_slicing.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
redundant_static_lifetimes.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
redundant_type_annotations.rs
ref_option_ref.rs
ref_patterns.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
reference.rs
regex.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
repeat_vec_with_capacity.rs
reserve_after_initialization.rs
return_self_not_must_use.rs
returns.rs chore: fix some comments 2024-07-26 17:51:22 +08:00
same_name_method.rs Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
self_named_constructors.rs
semicolon_block.rs Remove multispan_sugg[_with_applicability] 2024-08-04 13:14:23 +00:00
semicolon_if_nothing_returned.rs
serde_api.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
set_contains_or_insert.rs Add BTreeSet to set_contains_or_insert 2024-07-26 22:52:07 -04:00
shadow.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
significant_drop_tightening.rs
single_call_fn.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
single_char_lifetime_names.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
single_component_path_imports.rs
single_range_in_vec_init.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
size_of_in_element_count.rs
size_of_ref.rs Remove duplicated peel_middle_ty_refs 2024-07-17 12:51:08 +07:00
slow_vector_initialization.rs
std_instead_of_core.rs Migrating restriction lints to span_lint_and_then (a -> d) 2024-08-03 10:18:05 +02:00
string_patterns.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
strings.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
strlen_on_c_strings.rs
suspicious_operation_groupings.rs
suspicious_trait_impl.rs
suspicious_xor_used_as_pow.rs Make restriction lint's use span_lint_and_then (q -> s) 2024-07-27 13:45:00 +02:00
swap_ptr_to_ref.rs
swap.rs
tabs_in_doc_comments.rs
temporary_assignment.rs
tests_outside_test_module.rs Make restriction lint's use span_lint_and_then (t -> w) 2024-07-27 13:45:02 +02:00
to_digit_is_some.rs
to_string_trait_impl.rs
trailing_empty_array.rs Use ConstArg for array lengths 2024-07-16 19:27:28 -07:00
trait_bounds.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
tuple_array_conversions.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unconditional_recursion.rs Replace local variables signifying "done" or "loop break", use ControlFlow #12830 2024-07-24 01:40:58 +02:00
undocumented_unsafe_blocks.rs Make restriction lint's use span_lint_and_then (t -> w) 2024-07-27 13:45:02 +02:00
unicode.rs Make restriction lint's use span_lint_and_then (n -> p) 2024-07-26 09:41:38 +02:00
uninhabited_references.rs
uninit_vec.rs
unit_return_expecting_ord.rs
unnamed_address.rs
unnecessary_box_returns.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unnecessary_map_on_constructor.rs
unnecessary_owned_empty_strings.rs
unnecessary_self_imports.rs
unnecessary_struct_initialization.rs unnecessary_struct_initialization: extend to assignments moving all fields 2024-07-09 13:53:11 +02:00
unnecessary_wraps.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unnested_or_patterns.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
unsafe_removed_from_name.rs
unused_async.rs
unused_io_amount.rs
unused_peekable.rs Replace local variables signifying "done" or "loop break", use ControlFlow #12830 2024-07-24 01:40:58 +02:00
unused_result_ok.rs Add lint for unused_result_ok 2024-07-29 17:56:45 +01:00
unused_rounding.rs
unused_self.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
unused_unit.rs
unwrap_in_result.rs
unwrap.rs
upper_case_acronyms.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
use_self.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
useless_conversion.rs
vec_init_then_push.rs
vec.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
visibility.rs Make restriction lint's use span_lint_and_then (n -> p) 2024-07-26 09:41:38 +02:00
wildcard_imports.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
write.rs Refactor for using config values: 2024-07-17 14:05:49 -04:00
zero_div_zero.rs
zero_repeat_side_effects.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-07-25 18:23:27 +02:00
zero_sized_map_values.rs