Skip to content

"assigning to immutable upvar" error is jargony #2591

Closed
@catamorphism

Description

@catamorphism

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemC-cleanupCategory: PRs that clean code up or issues documenting cleanup.C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions