rust/clippy_lints/src/loops
Samuel Tardieu 657ee48bec Ignore instructions following a break from block in never_loop lint
It is not sufficient to ignore break from a block inside the loop.
Instructions after the break must be ignored, as they are unreachable.
This is also true for all instructions in outer blocks and loops
until the right block is reached.
2023-02-14 09:55:44 +01:00
..
empty_loop.rs Merge commit '97a5daa659' into clippyup 2022-01-13 13:18:19 +01:00
explicit_counter_loop.rs Merge commit '4f3ab69ea0' into clippyup 2022-12-29 14:28:34 +01:00
explicit_into_iter_loop.rs remove TyS::same_type 2022-02-01 11:21:26 +01:00
explicit_iter_loop.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
for_kv_map.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
iter_next_loop.rs deprecate clippy::for_loops_over_fallibles 2022-10-09 13:07:21 +00:00
manual_find.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
manual_flatten.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
manual_memcpy.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
missing_spin_loop.rs separate the receiver from arguments in HIR under /clippy 2022-09-05 22:25:57 +09:00
mod.rs needless_range_loop: improve documentation 2023-01-29 11:41:53 -07:00
mut_range_bound.rs Merge commit 'f4850f7292' into clippyup 2022-11-21 20:51:52 +01:00
needless_range_loop.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-02-10 11:33:45 +01:00
never_loop.rs Ignore instructions following a break from block in never_loop lint 2023-02-14 09:55:44 +01:00
same_item_push.rs rename get_parent_node to parent_id 2023-01-04 00:43:13 +00:00
single_element_loop.rs Merge commit '7f27e2e74e' into clippyup 2023-01-12 19:48:13 +01:00
utils.rs Merge commit '4bdfb0741d' into clippyup 2022-12-17 14:12:54 +01:00
while_immutable_condition.rs Use UnordMap instead of FxHashMap in define_id_collections!(). 2023-01-19 10:40:47 +01:00
while_let_loop.rs separate the receiver from arguments in HIR under /clippy 2022-09-05 22:25:57 +09:00
while_let_on_iterator.rs Merge commit '4f142aa105' into clippyup 2022-10-23 15:18:45 +02:00