We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc6938 commit 04f93beCopy full SHA for 04f93be
src/libsyntax/util/testing.rs
@@ -13,12 +13,12 @@ use core::cmp;
13
14
pub pure fn check_equal_ptr<T : cmp::Eq> (given : &T, expected: &T) {
15
if !((given == expected) && (expected == given )) {
16
- fail (fmt!("given %?, expected %?",given,expected));
+ die!(fmt!("given %?, expected %?",given,expected));
17
}
18
19
20
pub pure fn check_equal<T : cmp::Eq> (given : T, expected: T) {
21
22
23
24
0 commit comments