Replace if-let and while-let with if let
and while let
#82205
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
I kind of like the look of if-let and while-let, but @varkor and I think that
it's probably clearer and more consistent with other error messages as
`if let`
and`while let`
.This will have to be changed in the compiler's error messages and the language
documentation (in
src/doc/
). Runrg -F -e '-let' compiler/ src/doc
to findout what to change.
Originally discussed in #79747 (comment).
The text was updated successfully, but these errors were encountered: