"assigning to immutable upvar" error is jargony #2591
Labels
A-typesystem
Area: The type system
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
A borrowck error says "assigning to immutable upvar". Not everyone knows what an "upvar" is. It would be better if the error message was less terse: something like "Assigning to immutable variable declared in an enclosing scope". If any other error messages mention "upvar", those should be improved too.
The text was updated successfully, but these errors were encountered: