Skip to content

Modeling NLL and the Rust borrowck

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

nikomatsakis/borrowck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Modeling NLL and the Rust borrowck

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages