rust/tests/ui/consts/min_const_fn/cmp_fn_pointers.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
299 B
Plaintext
Raw Normal View History

2023-04-16 06:12:37 -05:00
error: pointers cannot be reliably compared during const eval
--> $DIR/cmp_fn_pointers.rs:2:14
2020-09-29 20:32:38 -05:00
|
LL | unsafe { x == y }
2023-04-16 06:12:37 -05:00
| ^^^^^^
2020-09-29 20:32:38 -05:00
|
2023-04-16 06:12:37 -05:00
= note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
2020-09-29 20:32:38 -05:00
error: aborting due to 1 previous error
2018-10-05 03:17:16 -05:00