bors 2b193e247f Auto merge of #7462 - xFrednet:7369-branches-sharing-code-else-expr-fp, r=camsteffen
FP fix and documentation for `branches_sharing_code` lint

Closes rust-lang/rust-clippy#7369

Related rust-lang/rust-clippy#7452 I'm still thinking about the best way to fix this. I could simply add another visitor to ensure that the moved expressions don't modify values being used in the condition, but I'm not totally happy with this due to the complexity. I therefore only documented it for now

changelog: [`branches_sharing_code`] fixed false positive where block expressions would sometimes be ignored.
2021-07-14 20:29:56 +00:00
..
2021-07-03 12:40:50 -05:00
2021-07-03 09:34:10 -07:00
2021-06-18 16:11:32 +08:00
2021-06-18 16:11:32 +08:00
2021-06-18 16:11:32 +08:00
2021-07-13 08:57:16 -05:00
2021-07-13 08:57:16 -05:00
2021-06-18 16:20:30 +08:00
2021-06-18 16:20:30 +08:00
2021-06-18 16:11:32 +08:00
2021-06-04 08:05:54 -04:00
2021-06-25 08:53:29 -05:00
2021-05-11 11:15:33 +02:00
2021-05-11 11:15:33 +02:00
2021-06-05 22:42:48 +08:00
2021-06-05 22:42:48 +08:00
2021-07-14 10:57:47 +08:00
2021-07-14 10:57:47 +08:00
2021-07-14 10:57:47 +08:00
2021-06-22 19:02:34 -07:00