mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
5cf5f5024d5efcbb0b399433fa2117e1146292c2
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
…
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.
Description
Languages
Rust
95.8%
Shell
0.9%
C
0.9%
JavaScript
0.6%
Python
0.4%
Other
1.1%