librustc: Remove fail_unless!
This commit is contained in:
parent
a17a9d41f6
commit
1e91595520
862 changed files with 5898 additions and 5911 deletions
|
@ -20,5 +20,5 @@ mod cat {
|
|||
|
||||
fn main() {
|
||||
let nyan = cat::new_cat();
|
||||
fail_unless!(nyan.meows == 52); //~ ERROR field `meows` is private
|
||||
assert!(nyan.meows == 52); //~ ERROR field `meows` is private
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue