Skip to content

Conversation

teofr
Copy link
Contributor

@teofr teofr commented Oct 20, 2025

let-else statements do not allow the init expression to end with '}'

Fixes #15914

changelog: [manual_let_else]: If the init expression ends with '}' wrap it with (...)

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

rustbot commented Oct 20, 2025

r? @Jarcho

rustbot has assigned @Jarcho.
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

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.

manual_let_else should surround unsafe {} with brackets ().

3 participants