1
Fork 0

make --enforce-mut-vars always on, add mut annotations to remaining files

This commit is contained in:
Niko Matsakis 2012-03-22 08:39:41 -07:00
parent ea6030878a
commit dc07280b08
179 changed files with 519 additions and 508 deletions

View file

@ -6,7 +6,7 @@ use std;
fn test_break() { loop { let x: @int = break; } }
fn test_cont() { let i = 0; while i < 1 { i += 1; let x: @int = cont; } }
fn test_cont() { let mut i = 0; while i < 1 { i += 1; let x: @int = cont; } }
fn test_ret() { let x: @int = ret; }