rust-clippy/clippy_lints/src/loops
Jason Newcomb 0b7ab90eca
Improvements to match_wildcard_for_single_variants and wildcard_enum_match_arm lints
Don't lint on `Result` and `Option` types.
Considers `or` patterns.
Considers variants prefixed with `Self`
Suggestions will try to find a common prefix rather than just using the full path
2021-03-17 12:04:11 -04:00
..
empty_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
explicit_counter_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
explicit_into_iter_loop.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
explicit_iter_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
for_kv_map.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
for_loops_over_fallibles.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
iter_next_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
manual_flatten.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
manual_memcpy.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
mod.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
mut_range_bound.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
needless_collect.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
needless_range_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
never_loop.rs Improvements to match_wildcard_for_single_variants and wildcard_enum_match_arm lints 2021-03-17 12:04:11 -04:00
same_item_push.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
single_element_loop.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
utils.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
while_immutable_condition.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
while_let_loop.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
while_let_on_iterator.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00