Skip to content

give this current proposal a better name #43

@arielb1

Description

@arielb1

"NLL" is a kind of an umbrella proposal for all kinds of extensions to Rust's lifetime system (actually, it's worse - several independent borrow-checking/typesystem extensions are also a part of the umbrella). It's also a bad name because it only says what it's not, rather than what it is.

This is annoying because the new Rust lifetime system is interesting enough in itself, I think even from a type-system POV (it certainly isn't the everyday boring dataflow that lexical lifetimes are).

I think a good name for the new lifetime system would be "lazily-constrained lifetimes"/LCL - the key point is that all lifetime constraints are lazy and don't take place until they are used.

We also need a "marketing name", at least for the feature-gate (surely we are going to use a feature gate for this?). Maybe NLL has caught enough to be the feature-gate name?

I'm thinking of using the NLL feature gate as the feature gate for MIR borrowck as soon as we can get it usable, and adding the "borrowck" features of the NLL refactor (and maybe even 2-phase borrows) as we go along.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions