Silencing "let
expressions in this position are experimental" errors in case of misplaced parantheses in if let expression
#83274
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Follow-up to #82827, cc: @estebank
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=7810898a8a0c0b5d421b4efbd58a4ff8
The current output is:
Ideally the output should look like:
(Just the invalid parantheses error, and the
let expressions in this position is experimental
error is silenced)The text was updated successfully, but these errors were encountered: