Two consecutive if lets cannot be used as function result #54186
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
MCVE
Error:
Am I missing something? Why is the first one not allowed, but the second one?
The text was updated successfully, but these errors were encountered: