mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
7fc89f573dbc43ffaf09e5931661209d20208a09
I noticed that typestate was being lazier than it should be, because it was only checking typestate for statements and top-level expression (that is, the expression in a stmt_expr, but not any subexpressions). So I rewrote the checks in tstate/ck.rs to use walk, which exposed a few bugs in typestate that I fixed. Also added some more test cases for if-check.
…
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%