Empowering everyone to build reliable and efficient software. Gabriel's commits.
https://www.rust-lang.org/
![]() This code was causing a bounds check failure: fn hd[U](&vec[U] v) -> U { fn hd1(&vec[U] w) -> U { ret w.(0); } ret hd1(v); } because in hd1, U was being treated as if it referred to a type parameter of hd1, rather than referring to the lexically enclosing binding for U that's part of hd. I'm actually not sure whether this is a legit program or not. But I wanted to get rid of the bounds check error, so I assumed that program shouldn't compile and made it a proper error message. |
||
---|---|---|
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.