Skip to content

NLL Diagnostic Review 3: missing closure cannot be moved note  #57098

Closed
@davidtwco

Description

@davidtwco

The following note is missing on the output of the NLL borrow checker for: ui/not-copy-closure.nll.stderr

note: closure cannot be invoked more than once because it moves the variable `a` out of its environment

Metadata

Metadata

Assignees

Labels

A-NLLArea: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goalP-lowLow priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions