Confusing Error Utilizing let_chains
#90722
Labels
C-bug
Category: This is a bug.
F-let_chains
`#![feature(let_chains)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc --version --verbose
:Code:
Error Output:
Is it me, or is the error being a bit confusing, that shouldn't
fields
be already initialized due to theif let
, being only assigned to if the value is indeedSelectScope::Fields(<field vector>)
(or am I misunderstanding things)? Thanks.The text was updated successfully, but these errors were encountered: