1
Fork 0

librustc: Convert all uses of assert over to fail_unless!

This commit is contained in:
Patrick Walton 2013-03-06 13:58:02 -08:00
parent 0ea031bcb8
commit d7e74b5e91
817 changed files with 6378 additions and 6335 deletions

View file

@ -20,5 +20,5 @@ mod cat {
fn main() {
let nyan = cat::new_cat();
assert nyan.meows == 52; //~ ERROR field `meows` is private
fail_unless!(nyan.meows == 52); //~ ERROR field `meows` is private
}