Skip to content

Conversation

smoelius
Copy link
Contributor

@smoelius smoelius commented Nov 4, 2022

This PR fixes #9739 in the manner I suggested in #9739 (comment).

This PR also fixes the compilation failures in #9782 (but doesn't address @e00E's other objections).

Fixes #9739

r? @Jarcho

changelog: Fix two needless_borrow false positives, one involving borrows in if-elses, the other involving qualified function calls

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 4, 2022
@Jarcho
Copy link
Contributor

Jarcho commented Nov 8, 2022

Thank you. @bors r+

@bors
Copy link
Contributor

bors commented Nov 8, 2022

📌 Commit 50f63a0 has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Nov 8, 2022

⌛ Testing commit 50f63a0 with merge b9ca319...

@bors
Copy link
Contributor

bors commented Nov 8, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Jarcho
Pushing b9ca319 to master...

@bors bors merged commit b9ca319 into rust-lang:master Nov 8, 2022
@smoelius smoelius deleted the issues-9739-9782 branch November 8, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

needless_borrow false positive: if and else have incompatible types
4 participants