rust/clippy_lints/src/methods
bors a591e725a6 Auto merge of #9223 - sgued:unwrap-expect-used, r=giraffate
unwrap_used: Don't recommend using `expect` when the `expect_used` lint is not allowed

Fixes #9222

```
changelog: [`unwrap_used`]: Don't recommend using `expect` when the `expect_used` lint is not allowed
```
2022-08-01 01:27:03 +00:00
..
bind_instead_of_map.rs Fix clippy build 2022-07-12 21:00:14 +04:00
bytes_nth.rs
chars_cmp_with_unwrap.rs
chars_cmp.rs
chars_last_cmp_with_unwrap.rs
chars_last_cmp.rs
chars_next_cmp_with_unwrap.rs
chars_next_cmp.rs
clone_on_copy.rs
clone_on_ref_ptr.rs
cloned_instead_of_copied.rs
err_expect.rs
expect_fun_call.rs
expect_used.rs unwrap_used: Fix help, "an None" -> "None" 2022-07-22 19:14:58 +02:00
extend_with_drain.rs
filetype_is_file.rs
filter_map_identity.rs
filter_map_next.rs
filter_map.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
filter_next.rs
flat_map_identity.rs
flat_map_option.rs
from_iter_instead_of_collect.rs
get_last_with_len.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
get_unwrap.rs
implicit_clone.rs
inefficient_to_string.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-07-28 18:55:32 +02:00
inspect_for_each.rs
into_iter_on_ref.rs
is_digit_ascii_radix.rs
iter_cloned_collect.rs
iter_count.rs
iter_next_slice.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
iter_nth_zero.rs
iter_nth.rs
iter_overeager_cloned.rs Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup 2022-06-16 17:39:06 +02:00
iter_skip_next.rs Factor out hir::Node::Binding 2022-07-01 10:04:19 -05:00
iter_with_drain.rs
iterator_step_by_zero.rs
manual_saturating_arithmetic.rs
manual_str_repeat.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
map_collect_result_unit.rs
map_flatten.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
map_identity.rs
map_unwrap_or.rs
mod.rs Apply suggestions from code review 2022-07-30 13:17:51 +02:00
needless_option_as_deref.rs
needless_option_take.rs
no_effect_replace.rs Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup 2022-06-04 13:34:07 +02:00
obfuscated_if_else.rs Add new lint obfuscated_if_else 2022-07-17 18:44:49 -07:00
ok_expect.rs
option_as_ref_deref.rs Fix clippy build 2022-07-12 21:00:14 +04:00
option_map_or_none.rs Fix clippy build 2022-07-12 21:00:14 +04:00
option_map_unwrap_or.rs
or_fun_call.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
or_then_unwrap.rs
search_is_some.rs Fix clippy build 2022-07-12 21:00:14 +04:00
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 remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
string_extend_chars.rs
suspicious_map.rs
suspicious_splitn.rs
uninit_assumed_init.rs
unnecessary_filter_map.rs Fix clippy build 2022-07-12 21:00:14 +04:00
unnecessary_fold.rs Fix clippy build 2022-07-12 21:00:14 +04:00
unnecessary_iter_cloned.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
unnecessary_join.rs
unnecessary_lazy_eval.rs Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup 2022-07-18 09:39:37 +02:00
unnecessary_to_owned.rs avoid some Symbol to String conversions 2022-07-17 04:09:20 +09:00
unwrap_or_else_default.rs
unwrap_used.rs unwrap_used: Fix help, "an None" -> "None" 2022-07-22 19:14:58 +02:00
useless_asref.rs
utils.rs
wrong_self_convention.rs
zst_offset.rs