Prompted to add #![feature(let_chains)]
to code that is unsupported anyway
#104868
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
F-let_chains
`#![feature(let_chains)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code (playground):
The current output is:
Adding
#![feature(let_chains)]
only makes the last error go away:let
is not supported in this position even with#![feature(let_chains)]
.So it would be better not to show the last error message in this case.
Version
The text was updated successfully, but these errors were encountered: