1
Fork 0

Replace most invocations of fail keyword with die! macro

This commit is contained in:
Nick Desaulniers 2013-01-31 17:51:01 -08:00 committed by Brian Anderson
parent 2db3175c76
commit aee7929469
331 changed files with 914 additions and 908 deletions

View file

@ -17,7 +17,7 @@
struct R { i: int }
fn test_rec() {
let rs = match true { true => R {i: 100}, _ => fail };
let rs = match true { true => R {i: 100}, _ => die!() };
assert (rs.i == 100);
}