diff options
| author | bors <bors@rust-lang.org> | 2021-07-14 20:29:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-14 20:29:56 +0000 |
| commit | 2b193e247f108c303d2ef9818ddd4aadceaf5760 (patch) | |
| tree | 1c9a95cb99116b5a8a8186eec9ae077cad242494 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 4acbff9eb05a15008d33fd7558670fc3b2338461 (diff) | |
| parent | 61e280863fb68c26bb1f976acfa4a45a26d70545 (diff) | |
| download | rust-2b193e247f108c303d2ef9818ddd4aadceaf5760.tar.gz rust-2b193e247f108c303d2ef9818ddd4aadceaf5760.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
