Skip to content

Commit 3fdee95

Browse files
committed
actually they should be equal
1 parent b2e851d commit 3fdee95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn rc_fat_ptr_eq() {
6565
let p = Rc::new(1) as Rc<Debug>;
6666
let a: *const Debug = &*p;
6767
let r = Rc::into_raw(p);
68-
let _b = a == r;
68+
assert!(a == r);
6969
drop(unsafe { Rc::from_raw(r) });
7070
}
7171

0 commit comments

Comments
 (0)