-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Confusing Error Utilizing let_chains #90722
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-let_chains`#![feature(let_chains)]``#![feature(let_chains)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-let_chains`#![feature(let_chains)]``#![feature(let_chains)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
rustc --version --verbose:Code:
Error Output:
Is it me, or is the error being a bit confusing, that shouldn't
fieldsbe already initialized due to theif let, being only assigned to if the value is indeedSelectScope::Fields(<field vector>)(or am I misunderstanding things)? Thanks.