rust-clippy/clippy_lints/src/methods
Mateusz Gacek 6966c78be7
wrong_self_convention: fix FP inside trait impl for to_* method
When the `to_*` method takes `&self` and it is a trait implementation,
we don't trigger the lint.
2021-03-29 23:46:03 -07:00
..
bind_instead_of_map.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
bytes_nth.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
chars_cmp.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
chars_cmp_with_unwrap.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
chars_last_cmp.rs move chars_cmp_with_unwrap, chars_last_cmp and chars_next_cmp_with_unwrap to their own modules 2021-03-18 00:49:48 +09:00
chars_last_cmp_with_unwrap.rs move chars_last_cmp_with_unwrap to its own module 2021-03-18 00:59:45 +09:00
chars_next_cmp.rs move chars_cmp and chars_next_cmp to its own modules 2021-03-18 00:49:03 +09:00
chars_next_cmp_with_unwrap.rs move chars_cmp_with_unwrap, chars_last_cmp and chars_next_cmp_with_unwrap to their own modules 2021-03-18 00:49:48 +09:00
clone_on_copy.rs extract conditions into modules 2021-03-18 00:51:49 +09:00
clone_on_ref_ptr.rs extract conditions into modules 2021-03-18 00:51:49 +09:00
expect_fun_call.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
expect_used.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
filetype_is_file.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
filter_flat_map.rs remove unused arguments 2021-03-18 00:51:18 +09:00
filter_map.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
filter_map_flat_map.rs remove unused arguments 2021-03-18 00:51:18 +09:00
filter_map_identity.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
filter_map_map.rs remove unused arguments 2021-03-18 00:51:18 +09:00
filter_map_next.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
filter_next.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
flat_map_identity.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
from_iter_instead_of_collect.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
get_unwrap.rs use derefs_to_slice in methods/utils.rs 2021-03-18 00:51:16 +09:00
implicit_clone.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
inefficient_to_string.rs extract conditions into modules 2021-03-18 00:51:49 +09:00
inspect_for_each.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
into_iter_on_ref.rs remove the use of paths 2021-03-18 01:06:24 +09:00
iter_cloned_collect.rs use derefs_to_slice in methods/utils.rs 2021-03-18 00:51:16 +09:00
iter_count.rs use derefs_to_slice in methods/utils.rs 2021-03-18 00:51:16 +09:00
iter_next_slice.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
iter_nth.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
iter_nth_zero.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
iter_skip_next.rs remove a needless variable 2021-03-18 00:51:18 +09:00
iterator_step_by_zero.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
manual_saturating_arithmetic.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
map_collect_result_unit.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
map_flatten.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
map_unwrap_or.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
mod.rs wrong_self_convention: fix FP inside trait impl for to_* method 2021-03-29 23:46:03 -07:00
ok_expect.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
option_as_ref_deref.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
option_map_or_none.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
option_map_unwrap_or.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
or_fun_call.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-25 18:38:13 +01:00
search_is_some.rs search_is_some: check also when search is none 2021-03-21 21:23:36 +01:00
single_char_add_str.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
single_char_insert_string.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
single_char_pattern.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
single_char_push_string.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
skip_while_next.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
string_extend_chars.rs refactor string_extend_chars: return when obj type is not string 2021-03-18 00:49:50 +09:00
suspicious_map.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
uninit_assumed_init.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
unnecessary_filter_map.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
unnecessary_fold.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
unnecessary_lazy_eval.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
unwrap_used.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00
useless_asref.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
utils.rs merge imports 2021-03-25 00:17:43 +09:00
wrong_self_convention.rs wrong_self_convention: fix FP inside trait impl for to_* method 2021-03-29 23:46:03 -07:00
zst_offset.rs Don't re-export clippy_utils::diagnostics::* 2021-03-15 20:06:01 -05:00