librustc: Remove the const declaration form everywhere

This commit is contained in:
Patrick Walton
2013-03-22 14:00:15 -07:00
parent eba3367404
commit 85c9fc6f8f
157 changed files with 1031 additions and 1033 deletions

View File

@@ -1160,7 +1160,7 @@ fn test_child_doesnt_ref_parent() {
// climbing the task tree to dereference each ancestor. (See #1789)
// (well, it would if the constant were 8000+ - I lowered it to be more
// valgrind-friendly. try this at home, instead..!)
const generations: uint = 16;
static generations: uint = 16;
fn child_no(x: uint) -> ~fn() {
return || {
if x < generations {