Skip to content

Conversation

samueltardieu
Copy link
Member

@samueltardieu samueltardieu commented Sep 23, 2025

This might be due to a low edition (< 2024) or too low a MSRV. In this case, we will suggest only match.

Fixes #15744

changelog: [unnecessary_unwrap]: do not suggest using if let chains if this is not supported with the current edition or MSRV
changelog:[collapsible_if]: Do not suggest using if let if this is not supported with the current edition or MSRV

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 23, 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

Copy link

github-actions bot commented Sep 23, 2025

Lintcheck changes for f107991

Lint Added Removed Changed
clippy::unnecessary_unwrap 0 0 1

This comment will be updated if you push new changes

@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot
Copy link
Collaborator

rustbot commented Sep 25, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

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! ❤️ Could you squash these commits?

This might be due to a low edition (< 2024) or too low a MSRV.
@samueltardieu
Copy link
Member Author

LGTM, thanks! ❤️ Could you squash these commits?

Done.

@blyxyas blyxyas added this pull request to the merge queue Oct 1, 2025
Merged via the queue into rust-lang:master with commit 0c7e034 Oct 1, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 1, 2025
@samueltardieu samueltardieu deleted the issues/15744 branch October 1, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unnecessary_unwrap emitted for chained expression
3 participants