librustc: Convert all uses of assert
over to fail_unless!
This commit is contained in:
parent
0ea031bcb8
commit
d7e74b5e91
817 changed files with 6378 additions and 6335 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue