rust/clippy_lints/src/methods
Nicholas Nethercote dc8a455a00 Simplify use crate::rustc_foo::bar occurrences.
They can just be written as `use rustc_foo::bar`, which is far more
standard. (I didn't even know that a `crate::` prefix was valid.)
2024-05-08 16:57:31 +10:00
..
bind_instead_of_map.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
bytecount.rs
bytes_count_to_len.rs
bytes_nth.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
case_sensitive_file_extension_comparisons.rs
chars_cmp_with_unwrap.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
chars_cmp.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
chars_last_cmp_with_unwrap.rs
chars_last_cmp.rs
chars_next_cmp_with_unwrap.rs
chars_next_cmp.rs
clear_with_drain.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
clone_on_copy.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
clone_on_ref_ptr.rs
cloned_instead_of_copied.rs
collapsible_str_replace.rs
drain_collect.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
err_expect.rs
expect_fun_call.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
extend_with_drain.rs
filetype_is_file.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
filter_map_bool_then.rs
filter_map_identity.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
filter_map_next.rs
filter_map.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
filter_next.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
flat_map_identity.rs
flat_map_option.rs
format_collect.rs
from_iter_instead_of_collect.rs
get_first.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
get_last_with_len.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
get_unwrap.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
implicit_clone.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
inefficient_to_string.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
inspect_for_each.rs
into_iter_on_ref.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
is_digit_ascii_radix.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
is_empty.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_cloned_collect.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_count.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_filter.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_kv_map.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
iter_next_slice.rs
iter_nth_zero.rs
iter_nth.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_on_single_or_empty_collections.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iter_out_of_bounds.rs
iter_overeager_cloned.rs Simplify use crate::rustc_foo::bar occurrences. 2024-05-08 16:57:31 +10:00
iter_skip_next.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
iter_skip_zero.rs
iter_with_drain.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
iterator_step_by_zero.rs
join_absolute_paths.rs
manual_c_str_literals.rs
manual_is_variant_and.rs
manual_next_back.rs
manual_ok_or.rs
manual_saturating_arithmetic.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
manual_str_repeat.rs
manual_try_fold.rs
map_clone.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
map_collect_result_unit.rs
map_err_ignore.rs
map_flatten.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
map_identity.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
map_unwrap_or.rs
mod.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
mut_mutex_lock.rs
needless_collect.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
needless_option_as_deref.rs
needless_option_take.rs
no_effect_replace.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
obfuscated_if_else.rs
ok_expect.rs
open_options.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
option_as_ref_cloned.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
option_as_ref_deref.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
option_map_or_err_ok.rs
option_map_or_none.rs
option_map_unwrap_or.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
or_fun_call.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
or_then_unwrap.rs
path_buf_push_overwrite.rs
path_ends_with_ext.rs
range_zip_with_len.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
read_line_without_trim.rs
readonly_write_lock.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
redundant_as_str.rs
repeat_once.rs
result_map_or_else_none.rs
search_is_some.rs Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into clippy-subtree-update 2024-04-18 17:48:52 +02:00
seek_from_current.rs
seek_to_start_instead_of_rewind.rs
single_char_add_str.rs
single_char_insert_string.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
single_char_pattern.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
single_char_push_string.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
skip_while_next.rs
stable_sort_primitive.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
str_split.rs
str_splitn.rs Rename BindingAnnotation to BindingMode 2024-04-17 09:34:39 -04:00
string_extend_chars.rs
string_lit_chars_any.rs
suspicious_command_arg_space.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
suspicious_map.rs
suspicious_splitn.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
suspicious_to_owned.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
type_id_on_box.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
uninit_assumed_init.rs
unit_hash.rs
unnecessary_fallible_conversions.rs
unnecessary_filter_map.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unnecessary_fold.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
unnecessary_get_then_check.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unnecessary_iter_cloned.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unnecessary_join.rs Always use ty:: qualifier for TyKind enum variants. 2024-04-16 16:29:13 +10:00
unnecessary_lazy_eval.rs
unnecessary_literal_unwrap.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
unnecessary_result_map_or_else.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
unnecessary_sort_by.rs
unnecessary_to_owned.rs Stop exporting TypeckRootCtxt and FnCtxt. 2024-04-08 11:59:13 +00:00
unused_enumerate_index.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
unwrap_expect_used.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
useless_asref.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
utils.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
vec_resize_to_zero.rs
verbose_file_reads.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
waker_clone_wake.rs
wrong_self_convention.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
zst_offset.rs Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00