rust/tests/ui/consts/min_const_fn/cmp_fn_pointers.stderr
2023-04-16 11:38:52 +00:00

11 lines
297 B
Plaintext

error: pointers cannot be reliably compared during const eval
--> $DIR/cmp_fn_pointers.rs:2:14
|
LL | unsafe { x == y }
| ^^^^^^
|
= note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
error: aborting due to previous error