Skip to content

NLL Diagnostic Review 3: missing a note describing the type of the non-Copy moved variable #56654

Closed
@davidtwco

Description

@davidtwco

The following note is missing on the output of the NLL borrow checker for ui/use/use-after-move-self.nll.stderr:

   |
   = note: move occurs because `self` has type `S`, which does not implement the `Copy` trait

Metadata

Metadata

Assignees

Labels

A-NLLArea: Non-lexical lifetimes (NLL)E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.NLL-diagnosticsWorking towards the "diagnostic parity" goal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions