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 58fec81 commit cf5e8d7Copy full SHA for cf5e8d7
src/tools/miri/tests/pass/function_pointers.rs
@@ -75,7 +75,6 @@ fn main() {
75
let g = f as fn() -> i32;
76
assert!(return_fn_ptr(g) == g);
77
assert!(return_fn_ptr(g) as unsafe fn() -> i32 == g as fn() -> i32 as unsafe fn() -> i32);
78
- assert!(return_fn_ptr(f) != f);
79
80
// Any non-null value is okay for function pointers.
81
unsafe {
0 commit comments