Skip to content
Modeling NLL and the Rust borrowck
Branch: master
Clone or download
nikomatsakis Merge pull request #19 from nikomatsakis/issue-12-free-regions
rework free-regions to be handled more specially
Latest commit d982759 Sep 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
graph-algorithms integrate liveness computation and assertions (plus subtype action) Feb 20, 2017
nll-repr
nll overhaul how named lifetimes work, add inference errors Sep 26, 2017
test
.gitignore
LICENSE-APACHE
LICENSE-MIT
README.md add a quick README Jun 13, 2017

README.md

A playground for the proposed non-lexical-lifetime algorithm.

The test directory contains a number of scenarios. Each file includes comments explaining the scenario. They are written in a very simplified "NLL" notation, which specifies the control-flow graph, the local variables, and the relationships between the various regions involved.

To try it out for yourself:

> cd nll
> cargo run ../test/*nll

This will run the code against all the test files and verify the embedded assertions within. You should expect to see all OK results.

You can’t perform that action at this time.