bors
1c8cbe79ab
Auto merge of #11907 - cocodery:issue11885, r=y21,xFrednet
...
Add a function to check whether binary oprands are nontrivial
fixes [#issue11885](https://github.com/rust-lang/rust-clippy/issues/11885 )
It's hard to check whether operator is overrided through context of lint.
So, assume non-trivial structure like tuple, array or sturt, using a overrided binary operator in this lint, which might cause a side effict.
This is not detected before.
Althrough this might weaken the ability of this lint, it may more useful than before. Maybe this lint will cause an error, but now, it not. And assuming side effect of non-trivial structure with operator is not a bad thing, right?
changelog: Fix: [`no_effect`] check if binary operands are nontrivial
2023-12-08 13:39:47 +00:00
..
2023-11-04 21:43:18 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-12-01 18:21:58 +01:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-02 17:35:56 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-04 14:44:00 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-18 14:59:24 +01:00
2023-11-18 14:59:24 +01:00
2023-11-18 14:59:24 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-12-01 09:14:56 +01:00
2023-12-01 09:14:56 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-02 17:35:56 +01:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-01 09:16:34 +09:00
2023-11-01 09:16:34 +09:00
2023-11-01 09:16:34 +09:00
2023-11-01 09:16:34 +09:00
2023-11-01 09:16:34 +09:00
2023-11-01 09:16:34 +09:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-06 12:17:48 +08:00
2023-12-06 12:17:48 +08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-03 10:38:46 +09:00
2023-12-03 10:38:46 +09:00
2023-12-03 10:38:46 +09:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-02 19:44:36 +00:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-30 15:41:54 +08:00
2023-11-24 19:15:52 +01:00
2023-12-01 17:24:34 +01:00
2023-12-01 16:52:34 +01:00
2023-12-01 17:24:34 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:06:03 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-16 19:13:24 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-16 19:13:24 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-08 21:33:28 +08:00
2023-12-08 21:33:28 +08:00
2023-12-08 21:33:28 +08:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-12-01 18:21:58 +01:00
2023-11-02 17:35:56 +01:00
2023-11-16 19:13:24 +01:00
2023-11-16 19:13:24 +01:00
2023-11-24 19:15:52 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00
2023-11-02 17:35:56 +01:00