rust/clippy_lints/src/methods
Camille GILLOT e01897edcb Remember mutability in DefKind::Static.
This allows to compute the `BodyOwnerKind` from `DefKind` only, and
removes a direct dependency of some MIR queries onto HIR.

As a side effect, it also simplifies metadata, since we don't need 4
flavours of `EntryKind::*Static` any more.
2022-03-29 18:50:52 +02:00
..
bind_instead_of_map.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
bytes_nth.rs
chars_cmp_with_unwrap.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
chars_cmp.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
chars_last_cmp_with_unwrap.rs
chars_last_cmp.rs
chars_next_cmp_with_unwrap.rs
chars_next_cmp.rs
clone_on_copy.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
clone_on_ref_ptr.rs
cloned_instead_of_copied.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
expect_fun_call.rs Remember mutability in DefKind::Static. 2022-03-29 18:50:52 +02:00
expect_used.rs
extend_with_drain.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
filetype_is_file.rs
filter_map_identity.rs
filter_map_next.rs
filter_map.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
filter_next.rs
flat_map_identity.rs
flat_map_option.rs
from_iter_instead_of_collect.rs
get_unwrap.rs
implicit_clone.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
inefficient_to_string.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
inspect_for_each.rs
into_iter_on_ref.rs
iter_cloned_collect.rs
iter_count.rs
iter_next_slice.rs
iter_nth_zero.rs
iter_nth.rs
iter_overeager_cloned.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
iter_skip_next.rs
iter_with_drain.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
iterator_step_by_zero.rs
manual_saturating_arithmetic.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
manual_str_repeat.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
map_collect_result_unit.rs
map_flatten.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
map_identity.rs
map_unwrap_or.rs
mod.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
ok_expect.rs
option_as_ref_deref.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
option_map_or_none.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
option_map_unwrap_or.rs Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup 2022-02-10 18:40:06 +01:00
or_fun_call.rs Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup 2022-01-17 13:29:07 +01:00
or_then_unwrap.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
search_is_some.rs
single_char_add_str.rs
single_char_insert_string.rs
single_char_pattern.rs
single_char_push_string.rs
skip_while_next.rs
str_splitn.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
string_extend_chars.rs
suspicious_map.rs
suspicious_splitn.rs
uninit_assumed_init.rs Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup 2022-02-26 14:26:21 +01:00
unnecessary_filter_map.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_fold.rs
unnecessary_iter_cloned.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
unnecessary_join.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_lazy_eval.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unnecessary_to_owned.rs Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup 2022-03-24 14:50:04 +01:00
unwrap_or_else_default.rs
unwrap_used.rs
useless_asref.rs Remove a span from hir::ExprKind::MethodCall 2022-01-21 07:48:10 -06:00
utils.rs Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup 2022-03-14 12:02:53 +01:00
wrong_self_convention.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
zst_offset.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00