Skip to content

Conversation

@profetia
Copy link
Contributor

@profetia profetia commented Jul 13, 2025

Closes #15257

changelog: [if_then_some_else_none] fix FP when require type coercion

@rustbot
Copy link
Collaborator

rustbot commented Jul 13, 2025

r? @blyxyas

rustbot has assigned @blyxyas.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 13, 2025
@github-actions
Copy link

github-actions bot commented Jul 13, 2025

Lintcheck changes for 1b88319

Lint Added Removed Changed
clippy::if_then_some_else_none 0 0 2

This comment will be updated if you push new changes

@profetia profetia marked this pull request as draft July 13, 2025 15:14
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 13, 2025
@blyxyas blyxyas added the S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) label Jul 13, 2025
@profetia profetia force-pushed the issue15257 branch 3 times, most recently from bb83d44 to bafba95 Compare July 19, 2025 07:28
@profetia
Copy link
Contributor Author

Using expr_requires_coercion adds too many FNs. This PR may stay in draft for a while.

@profetia
Copy link
Contributor Author

Found a better way to solve this. This PR should be ready now.

@profetia profetia marked this pull request as ready for review July 19, 2025 11:34
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 19, 2025
@profetia profetia requested a review from blyxyas July 19, 2025 11:34
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) label Jul 19, 2025
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Jul 19, 2025
@profetia
Copy link
Contributor Author

@blyxyas Updated. Thank you!

@profetia profetia requested a review from blyxyas July 20, 2025 05:13
Copy link
Member

@blyxyas blyxyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! ❤️

@blyxyas blyxyas added this pull request to the merge queue Jul 24, 2025
Merged via the queue into rust-lang:master with commit 98205e6 Jul 24, 2025
11 checks passed
@profetia profetia deleted the issue15257 branch September 12, 2025 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

if-then-some-else-none changes return type

3 participants