Skip to content

NLL: document specs for (new) semantics in rust ref (incl. deviations from RFC) #54129

Open
@pnkfelix

Description

@pnkfelix

The NLL RFC provided a specification for what we planned to implement. (Or at least it tried to do so.)

Since then, the NLL implementation made something that deviated in various ways from that specification.

This ticket is just noting that:

  1. we did deviate in various ways, and
  2. we should plan to document the actual semantics, in a manner suitable for the rust reference.

It would be good to link to here any PRs/issues where such deviations were implemented or discussed

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-NLLArea: Non-lexical lifetimes (NLL)A-borrow-checkerArea: The borrow checkerA-lifetimesArea: Lifetimes / regionsNLL-referenceReference material for NLLP-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions