Visitar URL original
GitHub - nikomatsakis/borrowck: Modeling NLL and the Rust borrowck · GitHub
Skip to content
nikomatsakisPublic

About

Modeling NLL and the Rust borrowck

Resources

Stars

90 stars

Watchers

10 watching

Forks

Latest commit

 

History

171 Commits

Folders and files

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

Stars

90 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages