my rust fork
https://www.rust-lang.org
The logic for how the "returns" constraint was handled was always dodgy, for reasons explained in the comments I added to auxiliary::fn_info in this commit. Fixed it by adding distinct "returns" and "diverges" constraints for each function, which are both handled positively (that is: for a ! function, the "diverges" constraint must be true on every exit path; for any other function, the "returns" constraint must be true on every exit path). Closes #779 |
||
|---|---|---|
| doc | ||
| mk | ||
| src | ||
| .gitignore | ||
| AUTHORS.txt | ||
| configure | ||
| LICENSE.txt | ||
| Makefile.in | ||
| README | ||
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://github.com/graydon/rust for current development page.