rust/tests
bors 1fd9975249 Auto merge of #7095 - Y-Nak:match_single_binding, r=giraffate
match_single_binding: Fix invalid suggestion when match scrutinee has side effects

fixes #7094

changelog: `match_single_binding`: Fix invalid suggestion when match scrutinee has side effects

---
`Expr::can_have_side_effects` is used to determine the scrutinee has side effects, while this method is a little bit conservative for our use case. But I'd like to use it to avoid reimplementation of the method and too much heuristics. If you think this is problematic, then I'll implement a custom visitor to address it.
2021-05-13 13:55:47 +00:00
..
auxiliary
cargo Merge commit '2f6439ae6a' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #7095 - Y-Nak:match_single_binding, r=giraffate 2021-05-13 13:55:47 +00:00
ui-cargo Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
ui-internal Metadata collection: Rounding up the implementation 2021-05-05 18:38:26 +02:00
ui-toml Fix error punctuation 2021-05-02 16:56:46 -05:00
compile-test.rs Implement x.py test src/tools/clippy --bless 2021-04-27 16:57:29 +00:00
dogfood.rs ENABLE_METADATA_COLLECTION env-value to disable default metadata collection 2021-05-05 18:38:26 +02:00
fmt.rs Merge commit '3d0b0e66af' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c' into clippyup 2020-12-20 17:19:49 +01:00
lint_message_convention.rs Merge commit 'b40ea209e7' into clippyup 2021-04-08 17:50:13 +02:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00